countryCode
GET
/serviceSettings/APIKEYThis setting is specifically for sending messages to phone numbers that start with zero and there is no country code in those numbers, in this case the country code will replace the first zero.
This feature is used for numbers that did not enter the country code while sending the message.
If you are sending messages to WhatsApp numbers in different countries, make sure to include the full number with the relevant country code when sending the message.
If you enter the WhatsApp number in full when sending the message, this setting will be ignored.
Request
Query Params
countryCode
string
required
Country code
Example:
44
Request samples
Responses
countryCode(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
string
required
connectionStatus
string
required
whatsAppNumber
string
required
countrycode
string
required
statusCountryCode
string
required
whatsAppReceiveMessage
string
required
webhook
string
required
level
string
required
ExamplecountryCode
{
"status": "true",
"connectionStatus": "Connected to WhatsApp",
"whatsAppNumber": "11234567890",
"countrycode": "44",
"statusCountryCode": "When sending a message, if the phone number starts with zero, the 44 will replace zero",
"whatsAppReceiveMessage": "Disable",
"webhook": "",
"level": "3"
}
Modified at 5 months ago