curl --request POST \
--url https://api.caret.so/v1/invites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "[email protected]",
"role": "member",
"isUrlInvite": false
}'
{
"invite": {
"id": "inv_123",
"email": "[email protected]",
"code": "abc123xy",
"role": "member",
"expiresAt": "2026-02-27T10:00:00Z",
"createdAt": "2026-01-28T10:00:00Z",
"isUrlInvite": false
}
}
Create a new invite for the workspace
curl --request POST \
--url https://api.caret.so/v1/invites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "[email protected]",
"role": "member",
"isUrlInvite": false
}'
{
"invite": {
"id": "inv_123",
"email": "[email protected]",
"code": "abc123xy",
"role": "member",
"expiresAt": "2026-02-27T10:00:00Z",
"createdAt": "2026-01-28T10:00:00Z",
"isUrlInvite": false
}
}
admin, member.true) or send an email invitation
(false).Show Invite
curl --request POST \
--url https://api.caret.so/v1/invites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "[email protected]",
"role": "member",
"isUrlInvite": false
}'
{
"invite": {
"id": "inv_123",
"email": "[email protected]",
"code": "abc123xy",
"role": "member",
"expiresAt": "2026-02-27T10:00:00Z",
"createdAt": "2026-01-28T10:00:00Z",
"isUrlInvite": false
}
}