API SMS

Incluye Authorization: Bearer TU_API_KEY en cada petición.

Enviar SMS

POST /sms

curl -X POST https://sms-api.ohz.ovh/sms \
  -H 'Authorization: Bearer TU_API_KEY' \
  -H 'Content-Type: application/json' \
  --data '{"from":"TU_REMITENTE","to":"+CODIGO_PAIS_NUMERO","message":"Mensaje de ejemplo"}'

Saldo

GET /balance

curl https://sms-api.ohz.ovh/balance \
  -H 'Authorization: Bearer TU_API_KEY'

Envíos y coste

GET /sms?limit=50

curl 'https://sms-api.ohz.ovh/sms?limit=50' \
  -H 'Authorization: Bearer TU_API_KEY'

Un crédito equivale a un segmento SMS por destinatario.