curl --request POST \
--url https://api.example.com/api/users/{userId}/invitation \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"status": "pending",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"expiresAt": "<string>"
}Sends or resends an invitation email to a user who has been invited but not yet accepted.
curl --request POST \
--url https://api.example.com/api/users/{userId}/invitation \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"status": "pending",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"expiresAt": "<string>"
}Unique identifier of the invited user
The created invitation
The created invitation
Unique identifier of the invitation
Email address the invitation was sent to
Current status of the invitation
pending, accepted ID of the user associated with this invitation
Timestamp when the invitation was created
Timestamp when the invitation expires
Was this page helpful?