palbaseDocs

Palbase Notify · API

POST/notify/webhooks/sms/twilio/inbound

Twilio incoming text

Where the project's Twilio number posts a text a person sent it (the number's "a message comes in" webhook). One whose first word says stop — DUR, İPTAL, RET, STOP, STOPALL, UNSUBSCRIBE, CANCEL, END, QUIT, in any case — is the refusal of marketing texts of the user who holds the sender's number: recorded with auth (marketing_sms, source sms_stop), it reaches their apps and the project as any choice does. Verified with the project's own auth token (X-Twilio-Signature); a call it did not sign is refused (401). Answered with no content: nothing is replied to the sender.

Called by .

curl
curl -X POST "https://<your-ref>.palbase.studio/notify/webhooks/sms/twilio/inbound" \
  -H "content-type: application/x-www-form-urlencoded" \
  --data-binary @file

Responses

204Taken: nothing is replied to the sender

400Validation failed or a required field is missing

401Not signed with the project's credential

413The call's body is over its size (request_too_large)

429Over the project's request limit, or its shared sends for this window

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ReceiveTwilioText of notify's contract.