1. Send SMS
Messaging API
  • Root
    • OTT
      • Send OTT
    • SMS
      • Send SMS
        • SendSms
          POST
    • Voice
      • /deliver
    • Email
      • Register an email delivery request
  • Schemas
    • Schemas
      • MessageChannel
      • ApiSmsRequest
      • VoiceApiRequest
      • EmailRecipient
      • OTTMessagePayload
      • EmailRequest
      • OTTMessageRequest
      • EmailResponse
      • EmailResult
  1. Send SMS

SendSms

POST
/sms/v1/deliver
Last modified:2025-09-23 22:23:42
Sends an SMS to the specified number

Request

Authorization
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
Body Params application/json

Examples

Responses

🟢202Accepted
application/json
Accepted
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🔴500Internal Server Error
🟢200Scheduled
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location 'https://api.trucontact.co/sms/v1/deliver' \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "recipient": "+573001234567",
    "messageBody": "Hello John, your access code is 4572."
}'
Response Response Example
202 - Success
{
  "smsId": "64ccdfb4ddf40404f498e5b2",
  "status": "Queued"
}
Modified at 2025-09-23 22:23:42
Previous
Send OTT
Next
/deliver
Built with