Change Call Forward
Change call forward parameter
GET or POST Request
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