Skip to content

Commit 39af2d5

Browse files
author
Mark Lewin
committed
Replace messageCallback* with app_id
1 parent 30d4a25 commit 39af2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numbers/update-number.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ curl -X POST \
66
"https://rest.nexmo.com/number/update?api_key=$NEXMO_API_KEY&api_secret=$NEXMO_API_SECRET" \
77
-H "Content-Type: application/x-www-form-urlencoded" \
88
-d "country=$COUNTRY_CODE&msisdn=$NEXMO_NUMBER&moHttpUrl=$SMS_CALLBACK_URL" \
9-
-d "&messagesCallbackType=app&messagesCallbackValue=$NEXMO_APPLICATION_ID" \
9+
-d "app_id=$NEXMO_APPLICATION_ID" \
1010
-d "&voiceCallbackType=$VOICE_CALLBACK_TYPE&voiceCallbackValue=$VOICE_CALLBACK_VALUE&voiceStatusCallback=$VOICE_STATUS_URL"

0 commit comments

Comments
 (0)