Postifuse Docs

Profiles

Create a profile

POSThttps://postifuse.com/v1/profiles

Adds a client, brand or end user. Put your own customer id in external_id: it is unique in the workspace, so a retried signup never makes a second profile, and every webhook carries it back.

curl --request POST \
  --url 'https://postifuse.com/v1/profiles' \
  --header 'Authorization: Bearer pf_live_…' \
  --header 'Idempotency-Key: create-profile-1' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Martin Bakery",
  "external_id": "cus_8f3a2"
}'
{
  "id": "prf_martin",
  "name": "Martin Bakery",
  "external_id": "cus_8f3a2",
  "is_default": false,
  "accounts": 0
}

Headers

Authorizationstringrequired

Bearer followed by a workspace key, a profile key or an OAuth token. See authentication.

Example Bearer pf_live_…

Idempotency-Keystringrequired

Any unique string. The same key within 24 h returns the same result and posts nothing twice.

Body application/json

namestringrequired

Shown in the dashboard.

Example Martin Bakery

external_idstring

Your own customer id. Unique in the workspace.

Example cus_8f3a2

Response

200The profile
403Workspace not active