For the complete documentation index, see llms.txt. This page is also available as Markdown.

Change Call Forward

Change call forward parameter

GET or POST Request

https://v1.api19.com/dids/change/call_forward

This changes the call forward for a specific number.

Argument

Required

Type

did

yes

your phone number

call_forward

yes

forward number

key

yes

your API key

Set your call_forward number to 0 to disable call forwarding. Call forwarding only supported to USA destinations.

curl -X POST https://v1.api19.com/dids/change/call_forward \
 -d 'did=3038821111' \
 -d 'call_forward=3038842222' \
 -d 'key=your-key'
{"status": "ok"}
{
    'status' => 'error',
    'error' => '{call_forward} is not a 10digit number',
    'code' => 'not_valid'
}
{
   'status' => 'error',
    'error' => 'No did found {did}',
    'code' => 'no_did'
}
{
   'status' => 'error',
    'error' => 'no ownership found {did}',
    'code' => 'no_owner'
}
{
   'status' => 'error',
    'error' => '{did} is a fax number. Convert to normal number first.',
    'code' => 'did_fax'
}
{
   'status' => 'error',
    'error' => 'You can't forward a number to itself',
    'code' => 'same_did'
}


Last updated