can not update my number ServerUrl.
# support
m
{ "id": "5bc1cfd9-9e92-4a44-97e1-22783e3cd146", "orgId": "9e569f89-294c-4533-87c5-643f750c3ae9", "number": "+13602277726", "createdAt": "2025-01-09T09:40:22.699Z", "updatedAt": "2025-01-18T22:38:16.962Z", "twilioAccountSid": "AC17434c59bf664116d5e2d496cd9210a2", "twilioAuthToken": "f53914f5e457c72b02dc494ea7e33cef", "serverUrl": "https://flaik.ai/webhook/phone-receptionist", "serverUrlSecret": "", "provider": "twilio", "fallbackDestination": { "type": "number", "number": "+13604745561" }, "server": { "url": "https://api.flaik.ai/v1/trigger/webhook/vapi/5891d4bc-0805-4452-9dd2-f8d51f1356" } } this is my number current settings. when i do a call the server request goes to https://flaik.ai/webhook/phone-receptionist instead of https://api.flaik.ai/v1/trigger/webhook/vapi/5891d4bc-0805-4452-9dd2-f8d51f1356. how can i change that setting? APi did not work and no such field in web interface. thanks!
v
@modestkarpov It seems like you need to update the server URL that your number is configured to send requests to when a call is made. Since you mentioned that there is no such field in the web interface to change this setting, you'll need to use the API to update the server URL. To assist you with this, I'll need the
customerId
and
phoneNumberId
to identify your account and the specific phone number you want to update. Once you provide these details, I can help you construct the correct API call to update the server URL setting for your number. Could you please provide the
customerId
and
phoneNumberId
?
You can continue this conversation by mentioning me in the message.
m
itried doing it via api but it did not accept the field phone number id is: 5bc1cfd9-9e92-4a44-97e1-22783e3cd146
9e569f89-294c-4533-87c5-643f750c3ae9 is the organization id
@User
my number has both ServerUrl and server.url.
and it uses the serverUrl when i call the number.
s
@modestkarpov Remove the serverUrl property since it's deprecated. Use server.url instead for server-related configuration.