Organizations and members
GET/v1/invites/roles
List grantable roles
curl -X GET "https://api.52-28-238-205.sslip.io/v1/invites/roles" \ -H "Cookie: <console session cookie>"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.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/invites/rolesBase 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
inviter_role?string|nulldata*array<>[key: string]?any