---
title: "Receive Webhook"
method: POST
path: "/whatsapp/webhook"
tags: ["whatsapp-webhook"]
---

# Receive Webhook

`POST /whatsapp/webhook`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/whatsapp/webhook`
- Auth: none declared

## Request body

- object

## Response `200`

Successful Response

- WhatsAppWebhookProcessResponse
  - `event` WhatsAppWebhookEvent, required
    - `tenant_id` string, required
    - `message_id` string, required
    - `from_number` string, required
    - `profile_name` string, nullable
    - `text` string
    - `timestamp` string, date-time, required
    - `message_type` string
    - `metadata` object
  - `ai_plan` WhatsAppAIPlan, required
    - `next_action` string, required
    - `confidence` number, required
    - `reply_text` string, required
    - `reasons` string[]
  - `session` WhatsAppSessionState, required
    - `tenant_id` string, required
    - `phone_number` string, required
    - `intent` string, required
    - `status` string, required
    - `expires_at` string, date-time, required
  - `escalation` WhatsAppEscalationDecision, required
    - `tenant_id` string, required
    - `phone_number` string, required
    - `escalate` boolean, required
    - `queue` string, required
    - `reason` string, required
  - `outbound` WhatsAppSendResponse, required
    - `tenant_id` string, required
    - `to` string, required
    - `message_id` string, required
    - `status` string, required
    - `channel` string, required
    - `correlation_id` string, nullable
    - `delivered_via` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
