Postifuse Docs

Profiles

List profiles

GEThttps://postifuse.com/v1/profiles

The workspace's profiles, one per client, brand or end user, with their account count. See workspaces and profiles.

curl --request GET \
  --url 'https://postifuse.com/v1/profiles?external_id=cus_8f3a2' \
  --header 'Authorization: Bearer pf_live_…'
[
  {
    "id": "prf_default",
    "name": "Default",
    "external_id": null,
    "is_default": true,
    "accounts": 0
  },
  {
    "id": "prf_martin",
    "name": "Martin Bakery",
    "external_id": "cus_8f3a2",
    "is_default": false,
    "accounts": 3
  }
]

Headers

Authorizationstringrequired

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

Example Bearer pf_live_…

Query parameters

external_idstring

Find the profile of one of your customers.

Example cus_8f3a2

Response

200Profiles
403Workspace not active