Skip to main content
POST
/
sip
/
attach
Attach SIP Endpoint
curl --request POST \
  --url https://api.cleartalk.ai/sip/attach \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "phone_number": "+14444444477",
  "direction": "both",
  "sip_region": "US1 (Oregon)"
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
phone_number
string
required

Phone number in E.164 format (must include country code)

Example:

"+14444444477"

direction
enum<string>
required

SIP direction to attach

Available options:
inbound,
outbound,
both
Example:

"both"

sip_region
enum<string>

Region for SIP endpoint

Available options:
US1 (Oregon),
EU1 (Ireland),
ASIA1 (Sydney)
Example:

"US1 (Oregon)"

Response

SIP endpoint attached successfully.