1. Docs
  2. API Reference
  3. Resend an invite

Resend an invite

POST/api/v1/identity-invites/{id}/resend

Authentication

  • Bearer Token Authorization

    JWT access token

  • API Key X-API-Key

    API key for management-tier access

Path Parameters

Name Required Type Description
idRequiredstring

Code samples

cURLJavaScriptPythonGo
curl -X POST "https://api.canopy.dev/api/v1/identity-invites/value/resend" \
  -H "X-API-Key: $CANOPY_API_KEY"

Responses

200 Invite resent
{
  "message": "string",
  "accept_url": "string"
}

application/json

  • messagestring*
  • accept_urlstring*

    Tokenized URL for the regenerated invite. Resend rotates the token, which invalidates any accept_url returned from the original create call. Self-delivery callers must replace the stored URL with this one.

400 Invite is no longer pending
401 Invalid or expired token
403 This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa)
404 Invite not found

Returned object

On this page

Related endpoints

GETList invites
POSTCreate an invite
GETGet invite summary
POSTBulk-create invites
DELETERevoke an invite