How can we help?

Searching:

0 results found

Applications/SetDefaultPhoneCountryCode

GET /odata/Applications/SetDefaultPhoneCountryCode

Description

Sets the default country code that is used for sending SMS notifications or calling the user. Setting this country code for a master application also applies the default phone country code to all of the application’s sub‑applications.

See the following for request and response details ‒

See Also

Request ‒ Applications/SetDefaultPhoneCountryCode

Property Type Description Mandatory
masterAppId String The identifier of the application for which to set the default country code.
phoneCountryCode String The phone country code.

Example JSON Applications/SetDefaultPhoneCountryCode Request

curl -X POST \

https://api.stg.axonize.com /odata/applications/setDefaultPhoneCountryCode \

-H ‘Cache-Control: no-cache’ \

-H ‘Content-Type: application/json’ \

-H ‘Authorization: Token’ \

-H ‘appId: be517433-c4b8-4748-9258-1b1234567890’ \

-d ‘{“masterAppId”:”be517433-c4b8-4788-9258-1b1234567890″,”phoneCountryCode”:”+972″}’

Response ‒ Applications/SetDefaultPhoneCountryCode

Example JSON Applications/SetDefaultPhoneCountryCode Response

Status 200 – OK