POST
/
phone-numbers
/
import
/
twilio
curl --request POST \
  --url https://api.mesinalabs.com/v1/phone-numbers/import/twilio \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "twilioAccountSid": "<string>",
  "twilioAuthToken": "<string>",
  "phoneNumber": "<string>",
  "mesinaCode": "<string>",
  "priority": "low",
  "tags": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "number": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "mesinaCode": "<string>"
}

Authorizations

Authorization
string
header
required

El bearer token es generado por nosotros, y está disponible en tu dashboard

Body

application/json

Datos del número de teléfono de Twilio para importar

The body is of type object.

Response

200
application/json

Número de teléfono importado exitosamente

The response is of type object.