POST
/v1/team/invitations/{id}/resendMails the notice of a pending invitation again and records whether it went out. Only an owner or an admin of the workspace. Only a signed-in person. An API key is refused with 401 session_required.
Path parameters
- idstring (uuid)Required
Response
A 200 answer carries these fields.
- idstring (uuid)Required
- emailstringRequired
- rolestringRequiredOne of
owner,admin,developer,operator,auditor. - accessstringRequiredOne of
all,selected. - companiesarray of string (uuid)Required
- invitedAtstring (date-time)Required
- expiresAtstring (date-time)Required
- noticestringRequired
Whether the mailed notice went out.
One ofpending,sent,failed.
Status codes
| Status | Meaning |
|---|---|
200 |
The invitation, with whether the notice was sent. |
401 |
No usable credential was sent (invalid_credentials), or an API key was used (session_required). |
403 |
The person is not an owner or an admin of this workspace (role_required). |
404 |
No pending invitation of this workspace has this id (unknown_invitation). |
POST
/v1/team/invitations/{id}/resendExample
curl -X POST https://api.certinvo.com/v1/team/invitations/$INVITATION_ID/resend \
-H "Authorization: Bearer $CERTINVO_API_KEY"const invitationId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'
const response = await fetch(`https://api.certinvo.com/v1/team/invitations/${invitationId}/resend`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
invitation_id = "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"
response = requests.post(
f"https://api.certinvo.com/v1/team/invitations/{invitation_id}/resend",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"id": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
"email": "string",
"role": "owner",
"access": "all",
"companies": [
"3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"
],
"invitedAt": "2026-09-17T09:30:00Z",
"expiresAt": "2026-09-17T09:30:00Z",
"notice": "pending"
}Success response