Skip to main content
POST
/
user
/
invites
/
{inviteId}
/
resend
Resend workspace invite
curl --request POST \
  --url https://api.royalti.io/user/invites/{inviteId}/resend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "Reminder: please accept your invite before onboarding.",
  "redirectUrl": "https://app.royalti.io/email/activate"
}
'
{
  "message": "Invite resent successfully"
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://api.royalti.io/user/invites/example-id/resend', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "message": "Reminder: please accept your invite before onboarding.",
    "redirectUrl": "https://app.royalti.io/email/activate"
  })
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

inviteId
string
required

Invitation identifier

Body

application/json
message
string

Optional custom message that replaces the previous invite message

Example:

"Reminder: please accept your invite before onboarding."

redirectUrl
string

Optional override for the activation redirect URL

Example:

"https://app.royalti.io/email/activate"

Response

Invitation resent successfully

message
string