API referenceInvites
Look at an invite
GET
What the accept page shows before anyone signs up: who invited whom, as what, to which projects and services. valid is false for used, revoked, expired or unknown tokens.
Needs no sign-in. Not available to MCP clients or the assistant.
token*stringThe token from the invite link.
Length
1 <= length <= 200Success.
application/json- response
valid*booleanemail*string|nullrole*string|string|nullinvitedBy*string|nullgrants*array<>accountExists*booleanexpiresAt*|nullgithubAvailable*booleancurl -X GET 'https://example.com/api/v1/invites.preview?token=string'Example Response
{ "valid": true, "email": "string", "role": "admin", "invitedBy": "string", "grants": [ { "scopeType": "project", "scopeId": "string", "scopeName": "string", "actions": [ "string" ] } ], "accountExists": true, "expiresAt": "2019-08-24T14:15:22Z", "githubAvailable": true}List invites GET
Lists invites, newest first. Pending ones first unless a status is given. Needs `users.view`, which owners and admins hold. Not available to MCP clients or the assistant.
Revoke an invite POST
Makes a pending invite link stop working. Accepted invites cannot be revoked; remove the person or their grants instead. Needs `users.invite`, which owners and admins hold. Not available to MCP clients or the assistant.