> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api/api-en/store-front-api-reference/common-api/notification-message.md).

# Notification Message

## Send Single Notification Message

> &#x20;         \## Function Description\
> &#x20;         \* Sends a notification message.\
> &#x20;         \---\
> &#x20;         \## Detailed Description\
> &#x20;         \* The dto containing the variables of the message template to be sent must inherit the MessageCommonDto class to include the required information.\
> &#x20;         \* If langCd is not sent, the template is retrieved based on the langCd value in the cookie.\
> &#x20;         \* If no template matching the template ID exists, sending is not possible.\
> &#x20;         \* Variables of templates included in common code ST010 are automatically filled in.\
> &#x20;         \* For messages of 90 bytes or more, SMS is sent as LMS.\
> &#x20;         \* Required parameters by notification message type\
> &#x20;            \* Alimtalk: Template ID (tmplId), Recipient Number (rcvgTlphNo)\
> &#x20;            \* SMS: Template ID (tmplId), Recipient Number (rcvgTlphNo)\
> &#x20;            \* Notification Box: Template ID (tmplId), Member No. (mbrNo)\
> \---\
> &#x20;         \## Revision History\
> &#x20;         \* \`\`\`Release v1.01\_231010\`\`\`: Changed SMS to LMS for messages of 90 bytes or more\
> &#x20;         \* \`\`\`Release v2.00\_240425\`\`\`: Added site condition when retrieving templates, due to multi-site expansion<br>

````json
{"openapi":"3.1.0","info":{"title":"X2BEE Common API","version":"v1"},"servers":[{"url":"https://api-common.x2bee.com/api/common/","description":"prd"}],"paths":{"/v1/common/sendMessage":{"post":{"tags":["Notification Message"],"summary":"Send Single Notification Message","description":"          ## Function Description\n          * Sends a notification message.\n          ---\n          ## Detailed Description\n          * The dto containing the variables of the message template to be sent must inherit the MessageCommonDto class to include the required information.\n          * If langCd is not sent, the template is retrieved based on the langCd value in the cookie.\n          * If no template matching the template ID exists, sending is not possible.\n          * Variables of templates included in common code ST010 are automatically filled in.\n          * For messages of 90 bytes or more, SMS is sent as LMS.\n          * Required parameters by notification message type\n             * Alimtalk: Template ID (tmplId), Recipient Number (rcvgTlphNo)\n             * SMS: Template ID (tmplId), Recipient Number (rcvgTlphNo)\n             * Notification Box: Template ID (tmplId), Member No. (mbrNo)\n---\n          ## Revision History\n          * ```Release v1.01_231010```: Changed SMS to LMS for messages of 90 bytes or more\n          * ```Release v2.00_240425```: Added site condition when retrieving templates, due to multi-site expansion\n","operationId":"sendMessage","parameters":[{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}}}
````

## Send Multiple Notification Messages

> \## Function Description\
> \* Sends notification messages in bulk.\
> \---\
> \## Detailed Description\
> \* The dto containing the variables of the message template to be sent must inherit the MessageCommonDto class to include the required information.\
> \* If langCd is not sent, the template is retrieved based on the langCd value in the cookie.\
> \* If no template matching the template ID exists, sending is not possible.\
> \* Variables of templates included in common code ST010 are automatically filled in.\
> \* For messages of 90 bytes or more, SMS is sent as LMS.\
> \* Required parameters by notification message type\
> &#x20;  \* Alimtalk: Template ID (tmplId), Recipient Number (rcvgTlphNo)\
> &#x20;  \* SMS: Template ID (tmplId), Recipient Number (rcvgTlphNo)\
> &#x20;  \* Notification Box: Template ID (tmplId), Member No. (mbrNo)\
> \---\
> \## Revision History\
> \* \`\`\`Release v1.01\_231010\`\`\`: Changed SMS to LMS for messages of 90 bytes or more\
> \* \`\`\`Release v2.00\_240425\`\`\`: Added site condition when retrieving templates, due to multi-site expansion<br>

````json
{"openapi":"3.1.0","info":{"title":"X2BEE Common API","version":"v1"},"servers":[{"url":"https://api-common.x2bee.com/api/common/","description":"prd"}],"paths":{"/v1/common/sendMessageList":{"post":{"tags":["Notification Message"],"summary":"Send Multiple Notification Messages","description":"## Function Description\n* Sends notification messages in bulk.\n---\n## Detailed Description\n* The dto containing the variables of the message template to be sent must inherit the MessageCommonDto class to include the required information.\n* If langCd is not sent, the template is retrieved based on the langCd value in the cookie.\n* If no template matching the template ID exists, sending is not possible.\n* Variables of templates included in common code ST010 are automatically filled in.\n* For messages of 90 bytes or more, SMS is sent as LMS.\n* Required parameters by notification message type\n   * Alimtalk: Template ID (tmplId), Recipient Number (rcvgTlphNo)\n   * SMS: Template ID (tmplId), Recipient Number (rcvgTlphNo)\n   * Notification Box: Template ID (tmplId), Member No. (mbrNo)\n---\n## Revision History\n* ```Release v1.01_231010```: Changed SMS to LMS for messages of 90 bytes or more\n* ```Release v2.00_240425```: Added site condition when retrieving templates, due to multi-site expansion\n","operationId":"sendMessageList","parameters":[{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{}}}},"required":true},"responses":{"200":{"description":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}}}
````
