Launch Week 02 wrapped — explore all five launches

Resend Invitation

PUThttps://api.confident-ai.com/v2/organization/invitations/{invitationId}

Emails the invitation again and returns it. The invitation is reset in the process: its status goes back to PENDING, it is stamped with a new creation time, and a fresh token is issued — so any link sent for it earlier stops working. That reset is what revives an invitation the invitee declined. An invitation that was already accepted is reset the same way, which mails the member a link they no longer need without touching the access they already have; revoke the invitation or remove the member instead if that is what you meant. Invitations never expire on their own, so resending is about a link that was lost, not one that timed out.

PUT/v2/organization/invitations/{invitationId}
curl -X PUT "https://api.confident-ai.com/v2/organization/invitations/{invitationId}" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": 42,
    "email": "jane@acme.com",
    "status": "PENDING",
    "created_at": "2025-01-15T10:30:00.000Z",
    "organizationRoleId": "<ORGANIZATION-ROLE-ID>",
    "token": "<INVITATION-TOKEN>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • invitationIdintegerRequired

    The id of the organization invitation.

Response

Resend Invitation succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A standing offer of access to your organization. Accepting one makes the invitee an organization member; it grants no access to any project on its own.

    Show 6 propertiesHide 6 properties
    • idinteger

      The id of the invitation, generated by Confident AI.

    • emailstring

      The email address the invitation was sent to, lowercased when it was created.

    • statusenum

      Where an invitation stands: PENDING while its link can still be accepted, ACCEPTED once the invitee joined, DECLINED once they turned it down. A declined invitation cannot be accepted again until it is resent.

      Show 3 enum valuesHide 3 enum values
      • PENDING
      • ACCEPTED
      • DECLINED
    • created_atstring

      When the invitation was issued, as an ISO 8601 datetime. Resending an invitation stamps this again.

    • organizationRoleIdstring | null

      The id of the organization role the invitee lands on when they accept, or null to give them the default Member role.

    • tokenstring | null

      The token embedded in the invitee's invite link, returned unmasked. Anyone holding it can accept the invitation as the invited email address, so treat it as a secret. It is replaced whenever the invitation is resent, which invalidates any link sent earlier. It is null when the invitation has no token stored, in which case its link only points the invitee at signup.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI