Resend Project Invitation
(v2)PUT
Emails the project invitation again and returns it, resetting it in the process: the status goes back to PENDING, a fresh token is issued, and any link sent earlier stops working. That reset is what revives an invitation the invitee declined. An invitation that was already accepted is reset the same way, mailing the member a link they no longer need without touching the access they have — revoke the invitation or remove the member instead if that is what you meant.
curl -X PUT "https://api.confident-ai.com/v2/projects/{projectId}/invitations/{invitationId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": 42,
"email": "jane@acme.com",
"status": "PENDING",
"created_at": "2025-01-15T10:30:00.000Z",
"projectRoleId": "<PROJECT-ROLE-ID>",
"token": "<INVITATION-TOKEN>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe id of the project, which must belong to your organization.
invitationIdintegerRequiredThe id of the project invitation.
Response
Resend Project Invitation succeeded.
successbooleanIndicates if the request was successful.
dataobjectA standing offer of access to one project. Accepting one adds the invitee to the project and, if they are not in it yet, to the organization the project belongs to.
Show 6 propertiesHide 6 properties
idintegerThe id of the invitation, generated by Confident AI.
emailstringThe email address the invitation was sent to, lowercased when it was created.
statusenumWhere an invitation stands:
PENDINGwhile its link can still be accepted,ACCEPTEDonce the invitee joined,DECLINEDonce they turned it down. A declined invitation cannot be accepted again until it is resent.Show 3 enum valuesHide 3 enum values
PENDINGACCEPTEDDECLINED
created_atstringWhen the invitation was issued, as an ISO 8601 datetime. Resending an invitation stamps this again.
projectRoleIdstring | nullThe id of the project role the invitee lands on when they accept, or
nullto give them the defaultMemberrole.tokenstring | nullThe 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
nullwhen the invitation has no token stored, in which case its link only points the invitee at signup.
deprecatedbooleanIndicates if this endpoint is deprecated.