Phone numbers
Import Twilio number
Import an existing Twilio number by providing your Twilio credentials.
POST/phone_number/import/twilio
Bearersession
Body
4 fields
·
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://backend.omnidim.io/api/v1/phone_number/import/twilio' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "phone_number": "+12025550123" }'
Example response
{ "success": true, "message": "Number added 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
