curl --request POST \
--url https://api.example.com/api/users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"emails": [
"[email protected]"
]
}
'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"status": "pending",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"expiresAt": "<string>"
}
]Sends invitation emails to the specified email addresses to join the organisation.
curl --request POST \
--url https://api.example.com/api/users \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"emails": [
"[email protected]"
]
}
'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "[email protected]",
"status": "pending",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"expiresAt": "<string>"
}
]List of email addresses to invite (max 10)
Email address to invite
List of created invitations
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?