TrackMe API Docs
API ReferenceNotifications

Generic inbound messaging webhook (delivery reports + replies).

Single endpoint for every SMS/messaging provider. `:provider` resolves the provider adapter and `:type?` is the channel hint (sms | whatsapp | mail). Each adapter authenticates the call its own way — a header secret, a signature, or (Taqnyat SMS) an echoed confirm phrase. Unknown provider → 404; failed auth → 401; processed/idempotent replay → 200 with a provider-appropriate ack.

POST
/api/messaging/webhook/{provider}/{type}

Path Parameters

provider*string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/messaging/webhook/string/{type}"
{  "received": true}
{  "error": {    "code": "AUTH_REQUIRED",    "message": "Authentication is required to access this resource."  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "NOT_FOUND",    "message": "Resource not found.",    "targetType": "food_truck",    "targetId": "trk_01jq8z2hf5t8z4w9d8x4mzg2p3"  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}