π¬Programmatic SMS API
1. How to send demo SMS via our API
curl --location --request POST 'https://api.nomsa.gov.kh/v1/transactional/sms/send' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{apikey}}
--data '{
"body": "Demo OTP: 1234",
"recipient": "+8559123511",
"label": "nomsa-sms-demo"
}'{
"id": "145",
"credentialsLabel": "nomsa-sms-demo",
"recipient": "855961234567",
"body": "Demo OTP: 1234",
"message_id": "NOMSA-TEST@IwSs5KCQMNBUQNEnh-93CptNyqBBOm",
"created_at": "2024-01-18T07:26:55.989Z",
"updated_at": "2024-01-18T07:26:56.775Z",
"status": "UNSENT",
"error_code": null,
"accepted_at": "2024-01-18T07:26:56.774Z",
"sent_at": null,
"delivered_at": null,
"errored_at": null,
"remainingMessage": "You have SMS demo 9 left"
}Rate Limit
2. How to send SMS
3. GET SMS by ID
4. List all SMS
Last updated