WoyraDocs
Get an API key

A provider's inbound-SMS webhook

POST/v1/inbound/{provider}/{secret}

Numbers · Requires an API key

Not for customers. The number provider posts here when a person sends a message to one of the numbers; the path secret authenticates it, compared in constant time, exactly as delivery receipts are. The provider's dialect is normalised by its adapter, the message is stored once even if the provider retries, and message.received is queued to the number's inbound URL and to every registered endpoint.

Parameters

NameInDescription
providerrequiredpath
secretrequiredpath

Example

curl -X POST https://api.woyra.io/v1/inbound/<provider>/<secret> \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

202 Accepted — received, duplicate, or ignored (no such number).