Ask Kevin is smarter.
OmniDimension
Phone numbers

Import SIP trunk

Import a phone number associated with a SIP trunk.

POST/phone_number/import/sip
Body
9 fields
·

Phone number in E.164 format (starting with `+`).

SIP server hostname or IP.

Name for this SIP trunk (must be unique within your account).

Optional friendly name for the imported number.

SIP server port.

curl -X POST 'https://backend.omnidim.io/api/v1/phone_number/import/sip' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "phone_number": "+12025550123",
  "sip_host": "sip.yourprovider.com",
  "sip_port": 5060
}'
Example response
{
  "success": true,
  "message": "SIP trunk registered successfully",
  "id": 3360
}

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json