Skip to content

Quickstart — send your first SMS

Copy page

This guide takes you from zero to a delivered SMS in about five minutes.

Prerequisites: an active 23 Telecom account with SMS sending enabled. Your account manager provides your login credentials.

  1. Get your API key.

    Log in to the customer portal, go to Settings → API Keys, and create a key with the sms.send and sms.read permissions.

  2. Send your first SMS.

    Replace the recipient with your own phone number in E.164 format (for example +447911123456):

    Terminal window
    curl -X POST https://restlink23telecom.com/api/v1/sms/send \
    -H "X-API-Key: $API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "to": [
    "+14155551234"
    ],
    "message": "Hello from 23 Telecom!",
    "sender_id": "MyCompany"
    }'

    A successful response confirms acceptance and tells you the cost, encoding and a message_id for each recipient:

    200 OK
    {
    "status": true,
    "messages": [
    {
    "dnis": "+14155551234",
    "message_id": "api_42_1743667200123456789_a3f8b2c1d9e45f67",
    "segment_num": 1
    }
    ],
    "results": [
    {
    "dnis": "+14155551234",
    "message_id": "api_42_1743667200123456789_a3f8b2c1d9e45f67",
    "segments": 1,
    "status": "accepted"
    }
    ],
    "summary": {
    "total_recipients": 1,
    "total_segments": 1,
    "total_cost": 0.01,
    "encoding": "GSM-7",
    "accepted_count": 1,
    "blocked_count": 0
    }
    }
  3. Check the delivery status.

    Use the message_id from the send response:

    Terminal window
    curl https://restlink23telecom.com/api/v1/sms/status/api_42_1743667200123456789_a3f8b2c1d9e45f67 \
    -H "X-API-Key: $API_KEY"
    200 OK
    {
    "status": true,
    "message": {
    "message_id": "api_42_1743667200123456789_a3f8b2c1d9e45f67",
    "recipient": "+14155551234",
    "sender_id": "MyCompany",
    "message": "Hello from 23 Telecom!",
    "segments": 1,
    "status": "DELIVRD",
    "cost": 0.0085,
    "created_at": "2026-02-13T10:30:00Z",
    "delivered_at": "2026-02-13T10:30:04Z"
    }
    }

    DELIVRD means the message reached the recipient’s handset. See all possible values in delivery statuses.