Skip to main content
POST
/
v1
/
invitations
/
{invitationId}
/
cancel
Cancel invitation
curl --request POST \
  --url https://api.zavu.dev/v1/invitations/{invitationId}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "invitation": {
    "id": "inv_abc123",
    "url": "https://dashboard.zavu.dev/invite/abc123xyz",
    "token": "<string>",
    "status": "pending",
    "expiresAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "clientName": "<string>",
    "clientEmail": "<string>",
    "clientPhone": "<string>",
    "phoneNumberId": "<string>",
    "senderId": "<string>",
    "viewedAt": "2023-11-07T05:31:56Z",
    "startedAt": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

invitationId
string
required

Response

Invitation cancelled.

invitation
object
required