[Rushtik integration] SMS delivery webhooks need MYSMSAPIO_WEBHOOK_SECRET configured #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The Rushtik API receives async SMS delivery callbacks from this gateway at
POST /api/v1/webhooks/sms(Api::V1::Webhooks::SmsController). The endpoint has no JWT auth — it authenticates only by HMAC signature over the raw body:Payload events:
sms_sent,sms_failed(fields:event,message_id,error_message). Valid signatures update RushTik'sNotificationOutboxrows.Problem
The shared secret is not configured on either side yet:
MYSMSAPIO_WEBHOOK_SECRETunset → all webhooks 401 (mirror issue filed in code2lab/Rushtik)MYSMSAPIO_WEBHOOK_SECRETenv var and sends theX-Webhook-Signatureheader; if signing is not implemented, implement itFix
X-Webhook-Signatureheader, lowercase hex digest)MYSMSAPIO_WEBHOOK_SECRET=<shared secret>to this app's environment (Coolify env vars), matching the value set in rushtik-apiNote: keep the secret out of git — env var only.
Mirror (receiver side): code2lab/Rushtik#35