Webhooks

Incoming message received

Telerivet sends this webhook when incoming message received.

Setup: Create a Webhook service in your project, or use the REST API to create a service with service_type: webhook.

Request format: POST with application/x-www-form-urlencoded body.

postWebhookincomingMessage

Response

Webhook processed successfully. Optionally return JSON to send autoreplies or update variables.

variablesobject

Variables to update in Rules Engine (e.g., contact.name, state.id, $foo)

Example response

{
  "variables": {
    "contact.name": "John Smith",
    "state.id": "next_step",
    "$foo": 42
  }
}

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.