We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d4a25 commit 39af2d5Copy full SHA for 39af2d5
numbers/update-number.sh
@@ -6,5 +6,5 @@ curl -X POST \
6
"https://rest.nexmo.com/number/update?api_key=$NEXMO_API_KEY&api_secret=$NEXMO_API_SECRET" \
7
-H "Content-Type: application/x-www-form-urlencoded" \
8
-d "country=$COUNTRY_CODE&msisdn=$NEXMO_NUMBER&moHttpUrl=$SMS_CALLBACK_URL" \
9
- -d "&messagesCallbackType=app&messagesCallbackValue=$NEXMO_APPLICATION_ID" \
+ -d "app_id=$NEXMO_APPLICATION_ID" \
10
-d "&voiceCallbackType=$VOICE_CALLBACK_TYPE&voiceCallbackValue=$VOICE_CALLBACK_VALUE&voiceStatusCallback=$VOICE_STATUS_URL"
0 commit comments