cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Call forwarding API

sdrbrg
Occasional Contributor

Hi, im trying to update the "To" number in call forwarding programatically via the API provided in the documentation.

 

Authorization works and I can fetch the settings using a get request to:  "https://numbers.api.sinch.com/v1/projects/" + project_id + "/activeNumbers/" + phone_number

Using patch to: https://numbers.api.sinch.com/v1/projects/{projectId}/activeNumbers/{phoneNumber}
im not able to see anywhere in the documentation where the "To" numbers is beings assigned.

 

The voiceConfiguration payload does not include anything for this what I can see.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

sdrbrg
Occasional Contributor

Found the answer under https://developers.sinch.com/docs/voice/api-reference/authentication/signed-request/?utm_source=fore...

 

Edit: was not able to find it under the singed request either

View solution in original post

4 REPLIES 4

sdrbrg
Occasional Contributor

Found the answer under https://developers.sinch.com/docs/voice/api-reference/authentication/signed-request/?utm_source=fore...

 

Edit: was not able to find it under the singed request either

sdrbrg
Occasional Contributor

Did not solve my issue.. Still having trouble navigating the documentation to just change the Forward settings via the API

Hello sdrbrg,

 

So, at the moment the Call Forwarding that can be enabled through the Dashboard in your app can only be done using the Dashboard. If you want to create call forwarding functionality using the API, you will need to create some custom functionality using SVAML, Incoming Call Event requests, and in particular the `connectPstn` action. We recommend using this tutorial as a starting point to learn how to mask an incoming number and forward it to the number you choose.

Please let me know if you have any further questions. Thanks!

Alex Sberna, Documentation Engineer

sdrbrg
Occasional Contributor

Thanks for the answer, i'll have a look!