Users
Retrieve all invitations for a user
Changed onRetrieve a paginated list of the user's organization invitations
get/users/{user_id}/organization_invitations
Request
- Base URL: https://api.clerk.com/v1
- URL: https://api.clerk.com/v1/users/{user_id}/organization_invitations
- Auth: HTTP bearer
Path parameters
user_idstring required
The ID of the user whose organization invitations we want to retrieve
Query parameters
limitinteger
Applies a limit to the number of results returned. Can be used for paginating the results together with offset.
offsetinteger
Skip the first offset results when paginating. Needs to be an integer greater or equal to zero. To be used in conjunction with limit.
status'pending' | 'accepted' | 'revoked' | 'expired'
Filter organization invitations based on their status
Response
A list of organization invitations with public organization data
Changes
- info
added the new enum value
expiredto thequeryrequest parameterstatus
- info
- info
added the optional property
///to the response with the status
- info