/Docs
Search docs or ask a question⌘K
DocsAgent
Changelog
API Reference List Invitations

List Invitations

List a workspace's invitations.

GET/v1/orgs/{orgId}/invitesTry it
Session token

Returns the workspace's invitations, newest first, up to 100. Invitation tokens are never included — the token reaches only the invitee, by email.

Note

Admins and owners see the invitations. A member gets 200 with an empty list ({ "data": [] }), not 403. Anyone outside the workspace gets 403. Requires a session JWT; API keys are rejected with 401. Any plan.

Path Parameters

NameDescription
orgId:stringpathRequired
The organization ID.

Response — 200 OK

NameDescription
status:stringbody
pending, accepted, declined, revoked or expired. The list includes every status, not only pending invitations. An invitation that passed expiresAt without anyone opening it can still show pending — compare expiresAt with the current time.

Error Responses

401 Unauthorized

unauthorized for a missing, invalid or expired token (or an API key); session_revoked when the session has been signed out.

403 Forbidden

forbidden ("Not a member of this organization") — you don't belong to the workspace.

404 Not Found

not_found — the workspace doesn't exist or has been deleted.

Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl https://api.syntext.dev/v1/orgs/3f9c2a1e-6b4d-4e8a-a1c7-5d2e9f0b7c13/invites \
-H "Authorization: Bearer $SYNTEXT_JWT"
Responseapplication/json
200OK
{
"data": [
{
"id": "9b1d3f5a-7c2e-4a6b-8d0f-1e3a5c7b9d24",
"email": "alex@example.com",
"role": "member",
"status": "pending",
"expiresAt": "2026-11-15T10:00:00.000Z",
"createdAt": "2026-11-08T10:00:00.000Z",
"invitedByUserId": "0b7e4c2d-9a1f-4d3e-8c56-2f1a7b9e0d48"
}
]
}
Product
Resources
Company
© 2026 SyntextBuilt with Syntext