Get organization invitation
Get an organization invitation by ID.
Path parameters
-
The unique identifier of the organization invitation.
GET /api/organization-invitations/{id}
curl \
-X GET https://[tenant_id].logto.app/api/organization-invitations/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"tenantId": "string",
"id": "string",
"inviterId": "string",
"invitee": "string",
"acceptedUserId": "string",
"organizationId": "string",
"status": "Pending",
"createdAt": 42.0,
"updatedAt": 42.0,
"expiresAt": 42.0,
"organizationRoles": [
{
"id": "string",
"name": "string"
}
]
}