MCP is live.Set upAsk the community
OmniDimension
WhatsApp

Connect WhatsApp numbers

Connects numbers from your own WhatsApp Business Account with your Meta access token. List them first with [Preview numbers](/docs/api-reference/whatsapp/previewWhatsappNumbers), then pass the ids you want.

Set up WhatsApp first. Connect a WhatsApp number in the dashboard or with Connect numbers. Included on every paid plan. See plans.

POST/whatsapp/numbers
Body
4 fields
·

Your WhatsApp Business Account id, from WhatsApp Manager.

A Meta access token that never expires, with both WhatsApp permissions. Stored, never returned.

Meta's ids for the numbers to connect, as Preview numbers lists them.

106540352242922

Your Meta app's secret. Turns on replies. Stored, never returned.

curl -X POST 'https://backend.omnidim.io/api/v1/whatsapp/numbers' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "waba_id": "102938475610293",
  "access_token": "EAAG...",
  "phone_number_ids": [
    "106540352242922"
  ],
  "app_secret": "3f9c..."
}'
Example response
synthetic
{
  "data": [
    {
      "id": 412,
      "phone_number": "+15551234567",
      "provider": "meta",
      "name": "string",
      "status": "active",
      "account_restriction": "string",
      "agent_id": 0,
      "quality_rating": "string",
      "messaging_limit": "string",
      "capabilities": {
        "types": [
          "text"
        ],
        "reply_to": false,
        "window_enforced": false,
        "delivery_status": "push",
        "template_sync": false
      },
      "receiving": false,
      "receiving_error": "string"
    }
  ],
  "failed": [
    {
      "phone_number_id": "string",
      "message": "This WhatsApp number is already connected to another account. Disconnect it there first, then import it again. Contact support if you cannot access that account."
    }
  ]
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Request Body

application/json
waba_id*string

Your WhatsApp Business Account id, from WhatsApp Manager.

access_token*string

A Meta access token that never expires, with both WhatsApp permissions. Stored, never returned.

phone_number_ids*array<string>

Meta's ids for the numbers to connect, as Preview numbers lists them.

Items1 <= items
app_secret?string

Your Meta app's secret. Turns on replies. Stored, never returned.

Response body

application/json

Response Body

The connected numbers, and any that failed.

application/json
data?
failed?