WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Cancel a sent invitation

DELETE/api/linkedin/gateway/users/invite/sent/{invitation_id}

Withdraws a connection request the connected account previously sent and hasn't been accepted yet — useful for clearing out invites that have gone stale before sending a fresh one.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401. The account behind account_id must belong to your key.

Path parameters

FieldTypeDescription
invitation_id *stringThe invitation's id, from List invitations sent.

Query parameters

FieldTypeDescription
account_id *stringWhich connected account originally sent the invitation.

Response fields

FieldTypeDescription
resultobject{ object: "InvitationCanceled" } — a bare acknowledgement.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated.·403 Forbidden. The account_id doesn't belong to this key.·404 Not Found. No pending sent invitation with that id — it may already be accepted, declined, or withdrawn.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl -X DELETE "https://api.warmably.com/api/linkedin/gateway/users/invite/sent/6e2f1a9c-8b3d-4e77-9c1a-2f6b0d9e5a11?account_id=459993d2-b0e7-4b19-baf9-45252ca324cf" \
  -H "Authorization: Bearer wm_live_..."
Response
200 OK
{
  "object": "InvitationCanceled"
}
No key yet? Create one from Dashboard → API Keys.