03-28-2024 04:00 AM
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!
Solved! Go to Solution.
03-28-2024 05:07 AM - edited 03-28-2024 06:02 AM
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
03-28-2024 05:07 AM - edited 03-28-2024 06:02 AM
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
03-28-2024 05:18 AM
Did not solve my issue.. Still having trouble navigating the documentation to just change the Forward settings via the API
03-28-2024 09:58 AM
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!
04-02-2024 12:06 AM
Thanks for the answer, i'll have a look!