Skip to main content
POST
/
v2
/
network
Accept 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": {
    "shared_secret": "<string>",
    "entity_urn": "<string>"
  }
}
'
{
  "success": true,
  "data": {},
  "metadata": {
    "action": "accept",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}

Overview

Accepts a pending connection invitation using the invitation’s shared_secret and entity_urn. These values can be obtained from the List Invitations endpoint.
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 "accept".
params
object
required

Response

success
boolean
Indicates whether the request was successful.
data
object
Confirmation of the accepted invitation.
metadata
object
{
  "success": true,
  "data": {},
  "metadata": {
    "action": "accept",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}