Set call forwarding for a line
PUT/api/lines/{sendblue_number}/call-forwarding
Sets a call forwarding number for a specific dedicated phone line. Inbound calls to this line will be forwarded to the specified number.
The forwarding_number is normalized to E.164 format before storage.
US numbers can be supplied in local format (e.g. 2125550199).
Set call forwarding for a line
curl https://api.sendblue.co/api/lines/$SENDBLUE_NUMBER/call-forwarding \
-X PUT \
-H 'Content-Type: application/json' \
-H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
-H "sb-api-secret-key: $SENDBLUE_API_API_SECRET" \
-d '{
"forwarding_number": "+16692138010"
}'{
"forwarding_number": "+16692138010",
"sendblue_number": "+12125550101"
}Returns Examples
{
"forwarding_number": "+16692138010",
"sendblue_number": "+12125550101"
}