MCP is live.Set upAsk the community
OmniDimension
Phone numbers

Import Twilio number

Import an existing Twilio number by providing your Twilio credentials.

POST/phone_number/import/twilio
Body
5 fields
·

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).

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

Your Twilio account SID.

Your Twilio auth token.

Optional friendly name for the imported number.

curl -X POST 'https://omnidim.io/api/v1/phone_number/import/twilio' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_id": 1234,
  "phone_number": "+12025550123"
}'
Example response
{
  "success": true,
  "message": "Number added successfully",
  "id": 3360
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

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

Request Body

application/json
user_id?ClientUserId

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.

phone_number*string

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

account_sid*string

Your Twilio account SID.

account_token*string

Your Twilio auth token.

name?string

Optional friendly name for the imported number.

Response body

application/json

Response Body

Twilio number imported.

application/json
success?boolean
message?string
id?integer

ID of the newly imported phone number record. Use this with /phone_number/attach.

Was this page helpful?