Organizations and members
GET/v1/invites

List invites

View as .md
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 URLhttps://api.52-28-238-205.sslip.io
GET/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.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Response Body

Success.

application/json
  1. response
data*array<>
grantable_roles?array<string>|null
[key: string]?any