v4

latestOpenAPI 3.1.1Apache 2.02026-07-31107278570.4 KB
Users

Resend user invitation email

Resends an invitation email to a user who has a pending or expired invitation in the specified organization. If the invitation has expired, a new invitation will be automatically created and sent. If the invitation is still valid, a reminder email will be sent instead. Use this endpoint when a user hasn't responded to their initial invitation and you need to send them a reminder or when the original invitation has expired. The invitation email includes a secure magic link that allows the user to complete their account setup and join the organization. Each resend operation increments the resent counter.

patch/api/v1/invites/organizations/{organization_id}/users/{id}/resend

Path parameters

organization_idstring required

Unique identifier of the organization containing the pending invitation. Must start with 'org_' and be 1-32 characters long.

idstring required

System-generated user ID of the user who has a pending invitation. Must start with 'usr_' and be 19-25 characters long.

Request body

UserServiceResendInviteBody required

Response

Successfully resent the invitation email. Returns the updated invitation object with organization ID, user ID, membership status, timestamps, and resent count. If expired, a new invitation is created; otherwise, the existing one is resent.

Example response

{
  "invite": {
    "created_at": "2025-07-10T08:00:00Z",
    "expires_at": "2025-12-31T23:59:59Z",
    "inviter_email": "admin@example.com",
    "organization_id": "org_987654321",
    "resent_at": "2025-07-15T09:30:00Z",
    "resent_count": 2,
    "status": "pending_invite",
    "user_id": "usr_123456"
  }
}