TypeScript
const options = {method: 'GET'}; fetch('https://api.example.com/v1/regions/global/organizations/{orgId}/invitations', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "id": "<string>", "token": "<string>", "email": "jsmith@example.com", "projectId": "<string>", "organizationId": "<string>", "role": "admin", "status": "pending", "invitedBy": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "acceptedAt": "2023-11-07T05:31:56Z" } ], "meta": { "total": 123 } }
List invitations for an organization
Organization identifier
Filter by invitation status
pending
accepted
rejected
expired
List of invitations
true
Show child attributes
Was this page helpful?