SMS API

Prev Next

Basic information

API URL

https://sens.apigw.ntruss.com/sms/v2

Go to SENS SMS API Swagger

API Header

Category Mandatory Description
Content-Type Mandatory Specify the request body content type as application/json (POST).
x-ncp-apigw-timestamp Mandatory - This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
- Request is considered invalid if the timestamp differs from the current time by more than 5 minutes.
x-ncp-iam-access-key Mandatory Access key ID issued by the portal or Sub Account
x-ncp-apigw-signature-v2 Mandatory - Signature that encrypts the body of the example above with secret key mapped to the access key ID
- Use the HMAC-SHA256 encryption algorithm.

NAVER Cloud Platform authentication key and signature creation guide

Message

Send message

This sends SMS/LMS/MMS messages.

Request URL

POST https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/messages

Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project

Headers

Go to API header

Request body

{
    "type":"(SMS | LMS | MMS)",
    "contentType":"(COMM | AD)",
    "countryCode":"string",
    "from":"string",
    "subject":"string",
    "content":"string",
    "messages":[
        {
            "to":"string",
            "subject":"string",
            "content":"string"
        }
    ],
    "files":[
        {
             "fileId": "string"
        }
    ],
    "reserveTime": "yyyy-MM-dd HH:mm",
    "reserveTimeZone": "string"
}
Category Mandatory Type Description Remarks
type Mandatory String SMS Type SMS, LMS, MMS (lowercase)
contentType Optional String Message type - COMM: Regular message
- AD: Ad message
- Default: COMM
countryCode Optional String Country code - Sending is only available to countries that are supported by SENS
- Default: 82
- List of countries where international SMS can be sent
from Mandatory String Caller ID Only the pre-registered caller ID can be used
subject Optional String Title of default message Only available in LMS and MMS
- LMS, MMS: up to 40 bytes
content Mandatory String Content of default message - SMS: up to 90 bytes
- LMS, MMS: Up to 2000 bytes
messages Mandatory Object Message information - See items below (messages.XXX).
- Up to 100
messages.to Mandatory String Called number Only numbers can be entered, without the hyphen (-).
messages.subject Optional String Title of individual message Only available in LMS and MMS
- LMS, MMS: up to 40 bytes
messages.content Optional String Content of individual message - SMS: up to 90 bytes
- LMS, MMS: Up to 2000 bytes
files.fileId Optional String File ID Only available in MMS
See Upload file.
reserveTime Optional String Reserved date and time Reserved date and time for message delivery (yyyy-MM-dd HH:mm)
reserveTimeZone Optional String Time zone of reserved date and time - Time zone of reserved date and time (default: Asia/Seoul)
- List of supported time zones
- Use the TZ database name value.
Caution
  • If the maximum supported size is exceeded, some content will be truncated and sent.
  • Message (subject, content) encoding is based on EUC-KR and sending fails if unsupported emoji characters are included.
Note
  • If the subject and content are not defined in messages, it will be sent with the default subject and content.
  • The subject and content in messages have a higher priority than the default subject and content.
  • When there is no file to attach in an MMS type, it will be sent as an LMS.

Response body

{
    "requestId":"string",
    "requestTime":"string",
    "statusCode":"string",
    "statusName":"string"
}
Category Mandatory Type Description Remarks
requestId Mandatory String Request ID
requestTime Mandatory DateTime Request time yyyy-MM-dd'T'HH:mm:ss.SSS
statusCode Mandatory String Request status code - 202: Success
- Other: failure
- It follows the HTTP status specification.
statusName Mandatory String Request status name - success: success
- fail: failure

Response status

HTTP Status Desc
202 Accept (Successfully requested)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
429 Too Many Requests
500 Internal Server Error

Upload files

Upload a file for sending an MMS.

Request URL

POST https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/files

Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project

Headers

Request body

{
    "fileName":"string",
    "fileBody":"string"
}
Category Mandatory Type Description Remarks
fileName Mandatory String File name - File name with .jpg and .jpeg extensions
- Up to 40 characters
fileBody Mandatory String File body - Value that encoded .jpg and .jpeg images in Base64
- Up to 300 KB based on original file
- Resolution up to 1500 * 1440
Note

If a file with the same name and file size as the file you are uploading already exists, the file is recognized as the same file and reused. (Retained for 6 days)

Response body

{
    "fileId":"string",
    "createTime":"string",
    "expireTime":"string"
}
Category Mandatory Type Description Remarks
fileId Mandatory String File ID Use when sending MMS messages
createTime Mandatory DateTime File upload time
expireTime Mandatory DateTime File expiration time

Response status

HTTP Status Desc
200 OK (Upload successful)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
429 Too Many Requests
500 Internal Server Error

Get message delivery request

Get the message delivery request.

Request URL

GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/messages

x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project

Parameters

Category Mandatory Type Description Remarks
requestId Mandatory String Request ID Delivery request ID
requestStartTime Mandatory String Query start time yyyy-MM-dd HH:mm:ss
requestEndTime Mandatory String Query end time yyyy-MM-dd HH:mm:ss
completeStartTime Mandatory String Delivery completion start time yyyy-MM-dd HH:mm:ss
completeEndTime Mandatory String Delivery completion end time yyyy-MM-dd HH:mm:ss
messageId Optional String Message ID
type Optional String Message type SMS, LMS, MMS
contentType Optional String Content type - COMM: general message
- AD: advertising message
countryCode Optional String Country Code
status Optional String Delivery request status - READY: ready
- PROCESSING: being processed
- COMPLETED: processing completed
from Optional String Message sender number Number excluding hyphens (-)
to Optional String Message recipient number Number excluding hyphens (-)
statusName Optional String Device receipt status - SUCCESS: success
- FAIL: failure
nextToken Optional String Next page token See the content of the following note.
pageSize Optional Integer Page size Default: 20, Max: 100
When querying including requestId, default: 1000
Note
  • You can only see the history of messages sent within the last 90 days.
  • One of the following must be specified: requestId, requestStartTime + requestEndTime, or completeStartTime + completeEndTime.
  • requestStartTime + requestEndTime and completeStartTime + completeEndTime can't be used at the same time.
  • The query range of requestStartTime to requestEndTime is limited to a maximum of 30 days.
  • The query range of completeStartTime to completeEndTime is limited to a maximum of 24 hours.
  • nextToken
    • It is valid only if a nextToken response was received in the previous request, indicating that the results of the next page can be requested. If there are additional results, you can set the nextToken value from the previous response to this parameter to query the results for the next page.

Headers

Go to API header

Request body

None

Response body

{
    "statusCode": "string",
    "statusName": "string",
    "messages": [
        {
            "requestId": "string",
            "messageId": "string",
            "requestTime": "string",
            "contentType": "string",
            "type": "string",
            "countryCode": "string",
            "from": "string",
            "to": "string",
            "completeTime": "string",
            "telcoCode": "string",
            "status": "string",
            "statusCode": "string",
            "statusName": "string",
            "statusMessage": "string"
        }
    ],
    "pageSize": "integer",
    "nextToken": "string",
    "itemCount": "integer",
    "hasMore": "boolean"
}
Category Mandatory Type Description Remarks
statusCode Mandatory String Status of sending a message to the messaging server - 202: Success
- Other: failure
- It follows the HTTP status specification.
statusName Mandatory String Name of the status of sending a message to the messaging server - success: success
- reserved: reserved
- fail: failure
messages.requestId Mandatory String Message request ID
messages.messageId Mandatory String Message ID
messages.requestTime Mandatory String Delivery request time yyyy-MM-dd HH:mm:ss
messages.contentType Mandatory String Message type - COMM: general message
- AD: advertising message
messages.countryCode Mandatory String Country code
messages.from Mandatory String Caller ID
messages.to Mandatory String Called number
messages.status Mandatory String Delivery request status - READY: ready
- PROCESSING: being processed
- COMPLETED: processing completed
messages.statusCode Optional String Code of device received status result - 0: Success
- Other: failure (See the Error code table.)
messages.statusName Optional String Name of device received status result - success: success
- fail: failure
messages.statusMessage Optional String Message of device received status result
messages.completeTime Optional String Delivery completion time yyyy-MM-dd HH:mm:ss
messages.telcoCode Optional String Network operator code
pageSize Mandatory Integer Page size
nextToken Optional String Next page token See the content of the following note.
itemCount Mandatory Integer Number of messages in the pages retrieved
hasMore Mandatory Boolean It indicates whether there is a next page.
Note

The following fields corresponding to the received results will not be displayed until the request status is completed (status: COMPLETED).

  • statusCode
  • statusName
  • statusMessage
  • completeTime
  • telcoCode

If the status name of the request to send to the messaging server is reserved, the messages fields are not retrieved.

  • nextToken
    • The nextToken is included in the response only if the next page of the queried result exists. You can set the value of nextToken to the Get request API parameter to query the next page of results.

Response status

HTTP Status Desc
200 OK (Successfully requested)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Get message delivery result

Get the message delivery result.

Request URL

GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/messages/{messageId}

x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project
messageId Mandatory String Message ID Message identifier that is returned when searching the message delivery requests

Headers

Go to API header

Request body

None

Response body

{
    "statusCode":"string",
    "statusName":"string",
    "messages":[
        {
            "requestTime":"string",
            "contentType":"string",
            "content":"string",
            "countryCode":"string",
            "from":"string",
            "to":"string",
            "status":"string",
            "statusCode":"string",
            "statusMessage":"string",
            "statusName":"string",
            "completeTime":"string",
            "telcoCode":"string",
            "files":[
                {
                    "name":"string",
                    "fileId":"string"
                }
            ]
        }
    ]
}
Category Mandatory Type Description Remarks
statusCode Mandatory String Status of sending a message to the messaging server - 200: Success
- Other: failure
statusName Mandatory String Name of the status of sending a message to the messaging server - success: success
- fail: failure
messages.requestTime Mandatory DateTime Request time yyyy-MM-dd HH:mm:ss
messages.contentType Mandatory String Message type - COMM: general message
- AD: advertising message
messages.content Mandatory String Message content The content that was requested to be sent is retrieved as is, but the actual sending is done according to the length limit for each type.
messages.countryCode Mandatory String Country code
messages.from Mandatory String Caller ID
messages.to Mandatory String Called number
messages.status Mandatory String Status of sending process in the messaging server - READY: ready
- PROCESSING: being processed
- COMPLETED: processing completed
messages.statusCode Mandatory String Code of device received status result - 0: Success
- Other: failure (See the Error code table.)
messages.statusName Mandatory String Name of device received status result - success: success
- fail: failure
messages.statusMessage Mandatory String Message of device received status result
messages.completeTime Mandatory DateTime Delivery completion time yyyy-MM-dd HH:mm:ss
messages.telcoCode Mandatory String Network operator code
files.name Optional String Name of attached file Searchable only in MMS
files.fileId Optional String Attached file ID Searchable only in MMS
Note

You can only see the history of message deliveries sent within the last 90 days.

Response status

HTTP Status Desc
200 OK (Successfully requested)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Reserved message

Get reserved message status

Get the reservation status of message delivery.

GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/reservations/{reserveId}/reserve-status

x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project
reserveId Mandatory String Reserved message ID Message identifier that is returned when searching the reserved delivery requests (requestId)

Headers

Go to API header

Request body

None

Response body

{
  "reserveId": "string",
  "reserveTimeZone": "string",
  "reserveTime": "string",
  "reserveStatus": "string"
}
Category Mandatory Type Description Remarks
reserveId Mandatory String Reserved message ID Message identifier that is returned when searching the reserved delivery requests (requestId)
reserveTime Mandatory String Reserved date and time Reserved date and time for message delivery (yyyy-MM-dd HH:mm)
reserveTimeZone Mandatory String Time zone of reserved date and time - Time zone of reserved date and time (default: Asia/Seoul)
- List of supported time zones
- Use the TZ database name value.
reserveStatus Mandatory String Reservation status - READY: pending delivery
- PROCESSING: delivery being requested
- CANCELED: delivery canceled
- FAIL: delivery request failure
- DONE: delivery request successful
- STALE: delivery request failure (timeout)

Response status

HTTP Status Desc
200 OK (search completed)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Cancel reserved message

Cancel the reserved message delivery.

DELETE https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/reservations/{reserveId}

x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project
reserveId Mandatory String Reserved message ID Message identifier that is returned when searching the reserved delivery requests (requestId)

Headers

Go to API header

Request body

None

Response body

None

Response status

HTTP Status Desc
204 No Content (deletion completed)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

080 block call number

Get blocked call number

Get the blocked call numbers.

Request URL

GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/unsubscribes

Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project

Parameters

Category Mandatory Type Description Remarks
clientTelNo Optional String Blocked call number Blocked call numbers registered in 080 service number
pageSize Optional Integer Page size - Default: 100
- Only numbers between 0 and 100 can be entered.
pageIndex Optional Integer Page index Default: 0
startTime Optional Integer Search start time - Standard of call block registration time
- Default: all
endTime Optional Integer Search end time - Standard of call block registration time
- Default: all

Headers

Go to API header

Request body

None

Response body

[
    {
     "clientTelNo": "string",
     "registerTime": "string",
     "registerType": "char"
    }
]
Category Mandatory Type Description Remarks
clientTelNo Mandatory String Blocked call number
registerTime Mandatory String Registered time foramt: LocalDateTime
registerType Mandatory Char Registering method - M (manual): manual registration
- C (call): phone registration

Response status

HTTP Status Desc
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
429 Too Many Requests
500 Internal Server Error

Register blocked call number

This registers the numbers to be blocked.

Request URL

POST https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/unsubscribes

Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project

Parameters

None

Headers

Go to API header

Request body

[
    {
        "clientTelNo":"string"
    }
]
Category Mandatory Type Description Remarks
clientTelNo Mandatory String Blocked call number Up to 1,000 requests can be made at a time (list).

Response body

[
    {
        "clientTelNo": "string",
        "registerTime": "string",
        "registerType": "char"
    }
]
Category Mandatory Type Description Remarks
clientTelNo Mandatory String Blocked call number
registerTime Mandatory String Registered time foramt: LocalDateTime
registerType Mandatory Char Registering method - M (manual): manual registration
- C (call): phone registration

Response status

HTTP Status Desc
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
429 Too Many Requests
500 Internal Server Error

Delete blocked call number

This deletes the blocked call numbers.

Request URL

DELETE https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/unsubscribes

Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}

Path Variables

Category Mandatory Type Description Remarks
serviceId Mandatory String Service ID Service ID issued when registering the project

Parameters

None

Headers

Go to API header

Request body

[
    {
        "clientTelNo":"string"
    }
]
Category Mandatory Type Description Remarks
clientTelNo Mandatory String Blocked call number Up to 1,000 requests can be made at a time (list).

Response body

None

Response status

HTTP Status Desc
204 No Content (Successfully deleted)
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
429 Too Many Requests
500 Internal Server Error

Message sending sample

SMS message

Regular message

{
    "type":"SMS",
    "contentType":"COMM",
    "countryCode":"82",
    "from":"01012345678",
    "content":"Content",
    "messages":[
        {
            "to":"01012345678",
            "content":"Content sent only to the number separately from the above content (optional)"
        }
    ]
}

Reserved message

{
    "reserveTime":"2019-07-25 17:09",
    "type":"SMS",
    "contentType":"COMM",
    "countryCode":"82",
    "from":"01012345678",
    "content":"Content",
    "messages":[
        {
            "to":"01012345678",
            "content":"Content sent only to the number separately from the above content (optional)"
        }
    ]
}

Ad message

{
    "type":"SMS",
    "contentType":"AD",
    "countryCode":"82",
    "from":"01012345678",
    "content":"(Ad) company name content [Free Call Block]08012345678",
    "messages":[
        {
            "to":"01012345678",
            "content":"(Ad) company name content sent only to the number separately from the content above (optional)[Free Call Block]08012345678"
        }
    ]
}

LMS message

Regular message

{
    "type":"LMS",
    "contentType":"COMM",
    "from":"01012345678",
    "subject":"Subject",
    "content":"Content",
    "messages":[
        {
            "to":"01012345678",
            "subject":"Title sent only to the number separately from the above content (optional)",
            "content":"Content sent only to the number separately from the above content (optional)"
        }
    ]
}

Reserved message

{
    "reserveTime":"2019-07-25 17:09",
    "type":"LMS",
    "contentType":"COMM",
    "from":"01012345678",
    "subject":"Subject",
    "content":"Content",
    "messages":[
        {
            "to":"01012345678",
            "subject":"Title sent only to the number separately from the above content (optional)",
            "content":"Content sent only to the number separately from the above content (optional)"
        }
    ]
}

Ad message

{
    "type":"LMS",
    "contentType":"AD",
    "from":"01012345678",
    "subject":"Subject",
    "content":"(Ad) company name content [Free Call Block]08012345678",
    "messages":[
        {
            "to":"01012345678",
            "subject":"Title sent only to the number separately from the above content (optional)",
            "content":"(Ad) company name content sent only to the number separately from the content above (optional)[Free Call Block]08012345678"
        }
    ]
}

MMS message

Regular message

{
    "type":"MMS",
    "contentType":"COMM",
    "from":"01012345678",
    "subject":"Subject",
    "content":"Content",
    "messages":[
        {
            "to":"01012345678",
            "subject":"Title sent only to the number separately from the above content (optional)",
            "content":"Content sent only to the number separately from the above content (optional)"
        }
    ],
    "files":[
        {
            "fileId": "4fe2078b-5926-42f2-b6b3-0c7bab9b8c5a"
        }
    ]
}

Reserved message

{
    "reserveTime":"2019-07-25 17:09",
    "type":"MMS",
    "contentType":"COMM",
    "from":"01012345678",
    "subject":"Subject",
    "content":"Content",
    "messages":[
        {
            "to":"01012345678",
            "subject":"Title sent only to the number separately from the above content (optional)",
            "content":"Content sent only to the number separately from the above content (optional)"
        }
    ],
    "files":[
        {
            "fileId": "4fe2078b-5926-42f2-b6b3-0c7bab9b8c5a"
        }
    ]
}

Ad message

{
    "type":"MMS",
    "contentType":"AD",
    "from":"01012345678",
    "subject":"Subject",
    "content":"(Ad) company name content [Free Call Block]08012345678",
    "messages":[
        {
            "to":"01012345678",
            "subject":"Title sent only to the number separately from the above content (optional)",
            "content":"(Ad) company name content sent only to the number separately from the content above (optional)[Free Call Block]08012345678"
        }
    ],
    "files":[
        {
            "fileId": "4fe2078b-5926-42f2-b6b3-0c7bab9b8c5a"
        }
    ]
}

Errors

EMMA v.3 reception result code

  • EMMA Version: EMMA V3.5.1 and above
  • IB G/W Report Code: Result code received after transmission by the carrier
  • IB G/W Response Code: Result code given by the relay company gateway after receiving the message
  • IB EMMA: Error code processed by EMMA for message delivery request

IB G/W Report Code

Code Category Meaning
0 success Succeeded
2000 failure Delivery timeout
2001 failure Delivery failure (wireless network)
2002 failure Delivery failure (wireless network -> device)
2003 failure Device power off
2004 failure Device message buffer full
2005 failure Shadow area
2006 failure Message deleted
2007 failure Temporary device problem
3000 Invalid Delivery unavailable
3001 Invalid No subscriber
3002 Invalid Adult authentication failure
3003 Invalid Called number format error
3004 Invalid Device service temporarily unavailable
3005 Invalid Device call processing status
3006 Invalid Call denied
3007 Invalid Phone can't receive callback URL
3008 Invalid Other device problems
3009 Invalid Message format error
3010 Invalid Device doesn't support MMS
3011 Invalid Server errors
3012 Invalid Spam
3013 Invalid Service denied
3014 Invalid Other
3015 Invalid No delivery path
3016 Invalid Attachment size limitation failure
3017 Invalid Caller ID protection rules violation
3018 Invalid Individual mobile phone subscriber number subscribed to caller ID protection service
3019 Invalid Caller ID requested by KISA or the Ministry of Science and ICT to be blocked from all customers
3022 Invalid Charset Conversion Error
3023 Invalid Numbers not registered by Caller ID pre-registration

IB G/W Response Code

Code Meaning
1001 Server Busy (RS internal queue full)
1002 Called number format error
1003 Callback number error
1004 SPAM
1005 No. of use exceeded
1006 No attachment
1007 Attachment
1008 Attachment saving failure
1009 No CLIENT_MSG_KEY
1010 No CONTENT
1011 No CALLBACK
1012 No RECIPIENT_INFO
1013 No SUBJECT
1014 No attachment KEY
1015 No attachment NAME
1016 No attachment size
1017 No attachment content
1018 No delivery permission
1019 TTL exceeded
1020 charset conversion error
S000 Relay request failure (server error)
S001 Relay request failure (server error)
S002 Relay request failure (bad request)
S003 Relay request failure (spam processing)
S004 Quota exceeded
S005 Invalid MMS file
S006 MMS file not found
S007 MMS file expired
S008 MMS file size exceeded
S009 MMS file resolution exceeded
S010 MMS file upload quota exceeded
S011 MMS file upload failure
S012 Recipient number rule error
S998 Unexpected server error
S999 Other errors

IB EMMA

Code Meaning
E900 Invalid-IB No delivery key
E901 No called number
E902 For broadcast messages: No order of called numbers
E903 No title
E904 No message
E905 No callback number
E906 No message key
E907 No broadcast messages status
E908 No service type
E909 No delivery request time
E910 No TTL time
E911 No attachment extension when the service type is MMS MT
E912 No attachment in the attach_file folder when the service type is MMS MT
E913 Attachment size is 0 when the service type is MMS MT
E914 There are file group keys in the message table but no data in the file table when the service type is MMS MT
E915 Duplicate message
E916 Blocked number by auth server
E917 Blocked number by customer DB
E918 USER CALLBACK FAIL
E919 When it is prohibited to re-send the message because there is a delivery time limit
E920 File group keys in the message table when the service type is LMS MT
E921 No file group keys in the message table when the service type is MMS MT
E922 Error in using restricted characters for broadcast message
E999 Other errors