GMS (v2)
An API for sending GMS (Global Messaging Service) messages from within the country to other countries.
Last updated
An API for sending GMS (Global Messaging Service) messages from within the country to other countries.
Last updated
This API can deliver message sending results through a .
Please ensure that path variables (enclosed in curly braces {}) within each URI are not omitted when making the call, referring to the following information.
service_id
service id
domestic(korea) → global : gms-kg
global → domestic(korea) : gms-gk
POST
https://gi8f5tsosp.apigw.ntruss.com/{service_id}/v2/send
The API sends SMS messages based on the country code.
Messages will only be sent to valid phone numbers written in international format (e.g., 41793026727).
It is advisable to use the E.164 number format, which is internationally standardized with a maximum length of 15 digits.
Typically, it starts with a plus sign (+) followed by the country code, network code, and subscriber number.
Non-E.164 formatted phone numbers may still work depending on the handset or network.
Authorization*
string
userID;secret_key
Content-Type*
string
application/json;charset=utf-8
messages*
object
Detailed data for message sending (up to 10 records)
from
string
The sender of the SMS message should be in English characters,
with a length of 3 ~ 13 characters for letters and 3 ~14 for numbers.
If a separate sender is not used, "ONSMS" will be used.
to*
string
Receiver number This should be in international format. (EX : 41793026727)
messageId
string
Message unique key
text*
string
Message content
echo_to_webhook
string
The string to be received along with the webhook from the user via API PLEX (up to 256 bytes).
bulkId
string
Request unique key
(in case of sending multiple messages in a single request).
smsCount
number
Number of SMS messages
(count of SMS messages sent to a single destination).
results
object array
Message reception data.
msg_key
string
Message unique key.
code
string
Reception result code
desc
string
Detailed reception result code.
C100
200
success
C400_1
400
Invalid data type
Refer to the description in the response body
C400_2
400
Invalid request parameter
Refer to the description in the response body
C400_3
400
Missing required parameters
Refer to the description in the response body
C401_1
401
Missing authorization key in the header
C401_2
401
Error in the authorization value in the header
Unable to separate values with ';'
C401_3
401
Invalid authorization value in the header
Cannot find valid authorization information
C404_1
404
Data not found
Refer to the description in the response body
C500_1
500
Internal server error
Refer to the description in the response body
G110
200
API unique ID exception (incorrect URL)
G141
200
Recipient number exception
G142
200
Invalid echo_to_webhook
Exceeded 256 bytes or type error
G150
200
Insufficient credit
G160
200
Exceeded the maximum allowed for a single transmission
(Refer to ).