List Invitations
const url = 'https://example.com/v1/invitations';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/invitations \ --header 'X-API-Key: <X-API-Key>'The pending invitations to one workspace, or with no project_id every
one in the organization, each naming its space. Needs members:read,
and a creator who manages people there.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”A workspace of the organization; omit it for the organization itself. A workspace key names its own workspace.
A workspace of the organization; omit it for the organization itself. A workspace key names its own workspace.
Responses
Section titled “ Responses ”The pending invitations
object
A pending invitation.
object
The space it grants a role on
The role it grants there
Example
{ "invitations": [ { "space_role": "viewer", "space_kind": "organization" } ]}Invalid or missing API key
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}The key lacks members:read, or its creator’s role does not allow it
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Not found or not readable
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}