Check SMS Status
GET
/v2/sms/check
const url = 'https://api.contacta.mx/v2/sms/check?token=199999';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.contacta.mx/v2/sms/check?token=199999' \ --header 'Authorization: Basic <credentials>'Checks the delivery status of a previously sent SMS by its message ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”token
required
string
Message ID returned when the SMS was sent
Example
199999Responses
Section titled “Responses”SMS status retrieved successfully
Media typeapplication/json
object
status
boolean
error
boolean
description
object
message
object
carrier
string
control
Internal carrier control reference
string
disposicion
Line type (e.g. MOVIL, FIJO)
string
encoding
string
loops
Number of delivery retry loops
string
msg
Original message text
string
parts
Number of SMS segments
integer
phone
Destination phone number
string
received_date
Date the message was received by the platform
string format: date-time
send_date
Date the message was delivered to the carrier (zeros if pending)
string format: date-time
size
Character count of the message
integer
status
Delivery status reported by the carrier
string
var_a
Custom variable A (usually set to your external ID)
string
var_b
Custom variable B
string
answers
Incoming replies to this message (if two-way SMS is enabled)
Array<object>
object
Example
{ "status": true, "error": false, "description": { "message": { "carrier": "ATT COMERCIALIZACION MOVIL S. DE R.L. DE C.V.", "control": "1006095262300", "disposicion": "MOVIL", "encoding": "gsm", "loops": 1, "msg": "Tu codigo de verificacion es 1234456", "parts": 1, "phone": "8100001234", "received_date": "2026-06-24 16:16:52", "send_date": "2026-06-24 16:16:53", "size": 36, "status": "ENVIO CONFIRMADO", "var_a": "API-8100001234", "var_b": null }, "answers": [] }}Missing required parameters
Media typeapplication/json
Example
{ "status": false, "error": true, "description": "Missing params, please verify or contact to support"}Your key auth is not valid
Media typeapplication/json
Example
{ "status": false, "error": true, "description": "Your key auth is not valid, please check with your administrator to get the new key"}
