PhoneService

Import Phone Number

post/api/v1/phone-numbers/import/

Request

  • Base URL
    https://api.ravan.ai
  • URL
    https://api.ravan.ai/api/v1/phone-numbers/import/
  • Auth
    API key in header X-Api-Key

Request body

phonestring

Phone number to import (E.164 format)

typestring

Type of phone number (e.g. sip, pstn)

namestring

Friendly name for the number

termination_uristring

SIP termination URI

sip_usernamestring

SIP username for authentication

sip_passwordstring

SIP password for authentication

Response

Successful response

successboolean
messagestring

Changes

No recorded changes to this operation across all 2 revisions of this API.