Skip to Content

Profiles

Group connected accounts by client or brand.

A profile is a label for one of your end customers, for example "Acme Co". It groups that customer's connected accounts. In the dashboard, profiles are called Social groups.

  • Profiles are optional. Accounts connected without one live in Default (profileId: null).
  • Make as many profiles as you like, on every plan.
  • An account belongs to at most one profile. You can move it later.

Create a profile

curl -X POST https://api.postkey.dev/v1/profiles \
  -H "x-access-key: $POSTKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Acme Co" }'
Response
{ "id": "prof_acme", "name": "Acme Co", "createdAt": "2026-11-30T10:00:00Z" }

Store id next to the customer in your database.

Use it

  • Pass profileId to GET /v1/connect/{platform} so the new account lands in that profile. See Connecting accounts.
  • Filter accounts with GET /v1/connect/integrations?profileId=prof_acme. Pass profileId=null for accounts without a profile.
  • Scope a webhook to one profile with profileId.
  • Filter usage with GET /v1/usage?profileId=prof_acme to see what each customer uses.

Manage profiles

CallWhat it does
GET /v1/profilesList profiles.
GET /v1/profiles/{id}Get one profile.
PATCH /v1/profiles/{id}Rename it.
DELETE /v1/profiles/{id}Delete it.

Move an account to another profile

curl -X PATCH https://api.postkey.dev/v1/connect/integrations/int_li_456 \
  -H "x-access-key: $POSTKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "profileId": "prof_globex" }'

What happens to a profile's accounts when you delete the profile: details before launch.

On this page