Przejdź do głównej zawartości

Send SMS (v2)

POST 

/api/v2/sms/messages

Queues a single SMS. The amount is reserved immediately at your tariff; the message is handed over to the operator in the background.

202 confirms acceptance to the queue, not delivery - follow the result with GET /api/v2/sms/messages/{id}. Repeat the request safely with an Idempotency-Key.

Request​

Responses​

Message accepted to the queue (or replayed for the same Idempotency-Key).

Response Headers
    Location

    URL of the created resource.

    Idempotent-Replayed

    true when this response replays an earlier request with the same Idempotency-Key.