Skip to content

Create invite token

Generate a secure invite link to grant team members access to your profiles. Invites expire after 7 days and are single-use.

POST /v1/invite/tokens

Generate a secure invite link to grant team members access to your profiles. Invites expire after 7 days and are single-use.

Request body

Content-Type: application/json

  • scope (string) required (enum: all, profiles) — 'all' grants access to all profiles, 'profiles' restricts to specific profiles
  • profileIds (array) — Required if scope is 'profiles'. Array of profile IDs to grant access to.

Example:

json

{
  "scope": "profiles",
  "profileIds": [
    "64f0a1b2c3d4e5f6a7b8c9d0",
    "64f0a1b2c3d4e5f6a7b8c9d1"
  ]
}

Responses

201 — Invite token created

  • token (string)
  • scope (string)
  • invitedProfileIds (array)
  • expiresAt (string)
  • inviteUrl (string)

400 — Invalid request

401

403 — One or more profiles not found or not owned