Users & Roles
API ReferenceUsersResend Invite
Resend Invite
Sends a fresh invitation link to a user whose original invite expired or got lost. Only works on users in invitation_sent or invitation_expired status.
POST /user/user/resend_invite
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | The user's email. |
Request Example
curl -X POST 'https://api.v2.paychtec.com/user/user/resend_invite' \ -H "Content-Type: application/json" \ -H "api-key: snd_YOUR_API_KEY" \ -d '{ "email": "bob@acme.com"}'Response
{
"email": "bob@acme.com",
"invite_resent_at": "2024-01-22T14:00:00Z"
}Errors
| Status | When |
|---|---|
400 | User is not in an invitable status (e.g. already active). |
404 | No user with that email in this scope. |