Organizations and members
GET/v1/invites
List invites
curl -X GET "https://api.52-28-238-205.sslip.io/v1/invites" \ -H "Cookie: <console session cookie>"Lists the organization's invites, newest first, with their expiry and acceptance, plus the roles the caller may grant. Console session or API key with members:manage.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/invitesBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Requires permissionmembers:manage
Held by
owner, admin, operator, merchant_owner. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
Success.
application/json- response
data*array<>grantable_roles?array<string>|null[key: string]?anyGETList grantable roles
Lists the roles the caller may grant in invites and role changes, given its role and the organization kind. Console session or API key with members:manage.
POSTCreate invite
Invites a person by email with a role (approvers also need a team). Console session or API key with members:manage; only grantable roles are accepted (403 ROLE_NOT_GRANTABLE) and the invite expires after 7 days.