Skip to main content
POST
/
v2
/
network
Withdraw Invitation
curl --request POST \
  --url https://api.example.com/v2/network \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "account_id": "<string>",
  "action": "<string>",
  "params": {
    "invitation_id": "<string>"
  }
}
'
{
  "success": true,
  "data": {
    "withdrawn": true,
    "invitation_id": "7453486530700017665"
  },
  "metadata": {
    "action": "withdraw",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-04-26T10:35:00Z"
  }
}

Overview

Withdraws a previously sent connection invitation that is still pending. The invitation is identified by its invitation_id, which can be obtained from the List Sent Invitations endpoint or from Check Invitation Status.
This endpoint consumes 1 credit per request.

Request

x-api-key
string
required
Your API key for authentication.
account_id
string
required
The unique identifier of the account to use.
action
string
required
Must be "withdraw".
params
object
required

Response

success
boolean
Indicates whether the request was successful.
data
object
metadata
object
{
  "success": true,
  "data": {
    "withdrawn": true,
    "invitation_id": "7453486530700017665"
  },
  "metadata": {
    "action": "withdraw",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-04-26T10:35:00Z"
  }
}