Entrar

Webhook (inbound de provider)

POST https://{organization}.myguper.com/api/sender/webhook/{token}

Endpoint de webhook inbound que los providers (Twilio, SendGrid, WhatsApp Business, etc.) llaman para reportar entregas/estados. El token en la URL es un JWT emitido por Guper que carga { o: organization, d: dispatcher_id } — autentica al caller sin necesidad de x-guper-authorization (los providers no firman requests por nosotros).

El handler valida el JWT, confirma que la organización en el token coincide con el subdominio, encola el payload bruto en webhook_queue para procesamiento asíncrono y devuelve 200 inmediatamente. El manejo real del status sucede fuera de banda en un worker.

Try-it values populated from environment ACME (Demo)


Autenticación

Jwt

Bearer-style JWT carried in the URL path. Issued by Guper when the provider integration is set up.

Encabezados

Name Type Description
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parámetros de ruta

Name Type Description
token * string JWT issued at integration setup. Carries `o` (organization) and `d` (dispatcher id).

Cuerpo de la petición

Content-Type: application/json

Respuestas

{ "ok": true }
Copied to clipboard