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"
}Sends a fresh activation email for an invitation that is still in the invited state. The new email includes a newly generated activation code and preserves any updated custom message.
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"
}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);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Invitation identifier
Invitation resent successfully