Team
List invites
Returns pending invites as a JSON array. Invite links are not included; resend an invite to get a fresh link.
- Console only: owner or admin
- Workspace:
X-Tenant-ID
Headers
CookiestringrequiredThe
whatsappx_sessioncookie the app sets when you sign in. Browsers send it automatically; API keys are not accepted on this endpoint.X-Tenant-IDuuidrequiredWorkspace id. Required for session requests. You can pass
?tenant=<id>instead.
Response
200 OKapplication/json
[]array<Invite>Pending invites.
Show child attributesHide child attributes8
iduuidInvite id.
emailstringInvited email address (lower case).
roleenumadminoragent.statusstringInvite status,
pendingwhile it can be accepted.expires_atintegerExpiry in Unix seconds (7 days after it was sent).
invite_urlstringmay be absentLink the invitee opens to join. Returned when an invite is created or resent.
email_sentbooleanWhether the invite email was sent.
createdbooleantruefor an invite (as opposed to a member added immediately).
Status codes
- 200OK. An array of invites (not wrapped in an object).
- 401Unauthorized. No signed-in session (
unauthorized). - 403Forbidden. API keys can never call this endpoint (
API keys cannot administer workspaces). A signed-in user who is not an owner or admin getsadmin required; a user who is not a member of the workspace getsforbidden. - 500Server error. The invites could not be loaded.