The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in Classic and VPC
This sends SMS/LMS/MMS messages.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| POST | /sms/v2/services/{serviceId}/messages |
Request headers
For information about the request headers common to all Simple & Easy Notification Service APIs, see Simple & Easy Notification Service request headers.
Request path parameters
You can use the following path parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
serviceId |
String | Required | SMS service ID
|
Request body
You can include the following data in the body of your request:
| Field | Type | Required | Description |
|---|---|---|---|
type |
String | Required | Message type
|
contentType |
String | Optional | Message content type
|
countryCode |
String | Optional | Country code
|
from |
String | Required | Caller ID
|
subject |
String | Optional | Default message subject (byte)
|
content |
String | Required | Content of default message (byte)
|
messages |
Array | Required | Message information: messages
|
files |
Array | Optional | Attachment file list: files
|
reserveTime |
String | Optional | Reserved date and time
|
reserveTimeZone |
String | Optional | Reserved time zone
|
- If the maximum supported size is exceeded, some content will be truncated and sent.
- Message subject and content encoding is based on EUC-KR and sending fails if unsupported emoji characters are included.
- The
subjectandcontentwithinmessageshave higher priority than the defaultsubjectandcontent. - If it is an MMS type but has no attachments, it will be sent as an LMS.
reserveTime: You cannot schedule a reserved message for a time within 10 minutes of the current time.
messages
The following describes messages.
| Field | Type | Required | Description |
|---|---|---|---|
to |
String | Required | Recipient number
|
subject |
String | Optional | Individual message subject (byte)
|
content |
String | Optional | Individual message content (byte)
|
files
The following describes files.
| Field | Type | Required | Description |
|---|---|---|---|
fileId |
String | Required | Attachment ID
|
Request example
The request example is as follows:
curl --location --request POST 'https://sens.apigw.ntruss.com/sms/v2/services/ncp:sms:kr:50*********1:sens/messages' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Content-Type: application/json' \
--data '{
"type": "MMS",
"contentType": "COMM",
"countryCode": "82",
"from": "010********",
"subject": "Delivery Notification",
"content": "Hello. This is for notifying your delivery status.",
"messages": [
{
"to": "010********",
"subject": "Delivery Noti",
"content": "Hello, ******. This is for notifying your delivery status."
}
],
"files": [
{
"fileId": "a136************************74f7"
}
],
"reserveTime": "2025-11-25 09:50",
"reserveTimeZone": "Asia/Seoul"
}'
Response
This section describes the response format.
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
requestId |
String | - | Request ID |
requestTime |
String | - | Request date and time
|
statusCode |
String | - | Status code
|
statusName |
String | - | Status
|
Response status codes
For information about the response status codes common to all Simple & Easy Notification Service APIs, see Simple & Easy Notification Service response status codes.
Response example
The response example is as follows:
{
"requestId": "RSLA-*************-****-********-IZJQgZEc",
"requestTime": "2025-11-25T09:39:40.535",
"statusCode": "202",
"statusName": "success"
}