Obtener tarifa
Devuelve la tarifa en USD por mensaje para una combinación de mercado y categoría.
Endpoint: GET /v1/pricing
Parámetros
Query
| Parámetro | Tipo | Requerido | Descripción |
|---|---|---|---|
market | string | Sí | Código ISO del mercado (ej: DE, AR). |
category | string | Sí | Categoría: Authentication, Marketing, Utility, Service. |
Request
curl --request GET \
--url 'https://api.chattigo.com/v1/pricing?market=DE&category=Marketing' \
--header 'Authorization: Bearer <token>'Response
Éxito (200)
{
"market": "DE",
"currency": "USD",
"category": "Marketing",
"rate": {
"amount": 0.0321,
"currency": "USD"
},
"source": "WhatsApp Business Pricing",
"note": "Cost per message in USD on the WhatsApp Business Platform, effective July 1, 2026"
}currency es siempre USD. Los mensajes Service son gratis: la API devuelve rate 0.Errores
| Código | Caso |
|---|---|
400 | market o category faltantes, o categoría inválida |
404 | No existe tarifa para ese mercado/categoría |
500 | Falla interna |
Caché
Las tarifas se cachean para responder rápidamente y se actualizan periódicamente (TTL de 24 horas por defecto).