Invitations
Manage organization invitations
List organization invitations. Requires the 'invitations:read' scope.
API key for authentication
The number of results to return
100The number of results to skip
0The status of the invitations to list
Whether to include expired invitations in the list
falseResponse for status 200
An unknown error occurred, trying again might help.
GET /v1/organization/invitations HTTP/1.1
Host: api.tryopine.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"status": "PENDING",
"role": "ADMIN",
"id": 1,
"createdAt": "2025-12-06T14:43:11.953Z",
"updatedAt": "2025-12-06T14:43:11.953Z",
"expiresAt": "2025-12-06T14:43:11.953Z",
"inviterUserId": 1,
"inviteeEmail": "text",
"organizationId": 1
}
],
"limit": 1,
"offset": 1,
"totalCount": 1
}Invite a user to join an organization. Requires the 'invitations:write' scope.
API key for authentication
The email of the user to invite
The role of the user to invite
Response for status 200
An unknown error occurred, trying again might help.
POST /v1/organization/invitations HTTP/1.1
Host: api.tryopine.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"inviteeEmail": "[email protected]",
"role": "ADMIN"
}{
"status": "PENDING",
"role": "ADMIN",
"id": 1,
"createdAt": "2025-12-06T14:43:11.953Z",
"updatedAt": "2025-12-06T14:43:11.953Z",
"expiresAt": "2025-12-06T14:43:11.953Z",
"inviterUserId": 1,
"inviteeEmail": "text",
"organizationId": 1
}Revoke an invitation to join an organization. Requires the 'invitations:write' scope.
API key for authentication
The ID of the invitation to revoke
Response for status 200
An unknown error occurred, trying again might help.
POST /v1/organization/invitations/{id}/revoke HTTP/1.1
Host: api.tryopine.com
X-API-Key: YOUR_API_KEY
Accept: */*
{
"id": 1
}Last updated