Help Center> Message & SMS> FAQs> Others> Are There Any Requirements on the Format of the Mobile Numbers Entered When Calling APIs to Send SMSs?
Updated on 2023-04-12 GMT+08:00

Are There Any Requirements on the Format of the Mobile Numbers Entered When Calling APIs to Send SMSs?

When you call the SMS Sending API and Batch SMS Sending API,

the to parameter specifies recipient numbers. The standard number format is +{Country code}{Region code}{Mobile number}.

  • All recipient numbers to which international SMSs are sent must be in the standard format, for example, +2412000000 (a Gabon number).
  • If an SMS is sent to recipients in the Chinese mainland and +{Country code} does not exist, the default country code +86 is used; if the recipient number is a mobile number, {Region code} is optional, for example, +8613112345678.

Separate multiple recipient numbers with commas (,). Each number contains a maximum of 21 characters, and a maximum of 500 numbers are supported.

Others FAQs

more