Organizations and members
POST/v1/invites
Create invite
curl -X POST "https://api.52-28-238-205.sslip.io/v1/invites" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"email":"owner@example.com","role":"finance"}'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.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/invitesBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
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)
application/json- body
email*Emailrole*Roleteam_id?|Team id (team_...).
Success.
application/json- response
id*Idemail*Emailrole*Roledev_link?string|null[key: string]?anyGETList invites
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.
DELRevoke invite
Deletes a pending invite so its link stops working. Console session or API key with members:manage; an accepted invite can't be revoked (409).