> ## Documentation Index
> Fetch the complete documentation index at: https://www.vobiz.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WhatsApp Channels API — Connect WABA & Manage Tokens

> Create, update, and remove WhatsApp Business channels on Vobiz - connect your WABA, manage display names, and rotate access tokens via REST API.

**Base URL:** `https://api.vobiz.ai/api/v1/Account/{auth_id}/WhatsApp`

**Authentication:** every request needs the `X-Auth-ID: MA_XXXXXXXX` and `X-Auth-Token: YOUR_AUTH_TOKEN` headers, and the `{auth_id}` in the path must be the account those credentials belong to. Send `Content-Type: application/json` on requests with a body. Get your credentials from [console.vobiz.ai](https://console.vobiz.ai).

## List WhatsApp channels

```http theme={null}
GET https://api.vobiz.ai/api/v1/Account/{auth_id}/WhatsApp/Channel/
```

Returns every WhatsApp channel connected to your Vobiz account, newest first, in an `items` array. The list isn't paginated.

```bash cURL theme={null}
curl -X GET \
  "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/WhatsApp/Channel/" \
  -H "X-Auth-ID: MA_XXXXXXXX" \
  -H "X-Auth-Token: YOUR_AUTH_TOKEN"
```

```json 200 OK theme={null}
{
  "items": [
    {
      "id": "0a8f3feb-9598-47f2-8a6c-df1aeb306ae1",
      "account_id": "MA_XXXXXXXX",
      "waba_id": "123456789012345",
      "phone_number_id": "109876543210987",
      "phone_number": "+14155550100",
      "number_onboarding_mode": "embedded_signup",
      "verification_status": "verified",
      "display_name": "Acme Support",
      "status": "active",
      "created_at": "2026-10-05T11:35:20Z",
      "updated_at": "2026-10-05T11:35:20Z"
    }
  ]
}
```

## Create WhatsApp channel

```http theme={null}
POST https://api.vobiz.ai/api/v1/Account/{auth_id}/WhatsApp/Channel/
```

Connect a WhatsApp Business number using your WABA credentials from Meta Business Manager. Each number can be connected once; a duplicate returns `400` with `channel already exists`. A `bring_your_own` channel starts with `verification_status` `pending` until you complete [BYON verification](https://www.vobiz.ai/docs/whatsapp/api/numbers.md#byon-verification-flow). Returns `201 Created` with the new channel.

**waba\_id** `string` *required*

WhatsApp Business Account ID from Meta Business Manager.

**phone\_number\_id** `string`

Meta's phone number ID. Required unless `number_onboarding_mode` is `buy_from_vobiz`.

**phone\_number** `string` *required*

The business phone number in E.164 format (e.g. `+14155550100`).

**number\_onboarding\_mode** `string` *required*

How you are connecting the number: `buy_from_vobiz`, `bring_your_own`, or `embedded_signup`. Case-insensitive.

**access\_token** `string` *required*

A Meta access token with WhatsApp Business permissions for this WABA. Vobiz stores it encrypted and never returns it.

**display\_name** `string`

Display name to store with the channel.

**number\_provider** `string`

Free-form label for who provides the number, for example `vobiz`.

**number\_order\_id** `string`

The `id` of the number order, when you bought the number through [Create number order](https://www.vobiz.ai/docs/whatsapp/api/numbers.md#create-number-order).

```bash cURL theme={null}
curl -X POST \
  "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/WhatsApp/Channel/" \
  -H "X-Auth-ID: MA_XXXXXXXX" \
  -H "X-Auth-Token: YOUR_AUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "waba_id": "123456789012345",
    "phone_number_id": "109876543210987",
    "phone_number": "+14155550100",
    "number_onboarding_mode": "bring_your_own",
    "access_token": "YOUR_META_ACCESS_TOKEN",
    "display_name": "Acme Support"
  }'
```

```json 201 Created theme={null}
{
  "id": "0a8f3feb-9598-47f2-8a6c-df1aeb306ae1",
  "account_id": "MA_XXXXXXXX",
  "waba_id": "123456789012345",
  "phone_number_id": "109876543210987",
  "phone_number": "+14155550100",
  "number_onboarding_mode": "bring_your_own",
  "verification_status": "pending",
  "display_name": "Acme Support",
  "status": "active",
  "created_at": "2026-10-05T11:35:20Z",
  "updated_at": "2026-10-05T11:35:20Z"
}
```

## Embedded signup

```http theme={null}
POST https://api.vobiz.ai/api/v1/Account/{auth_id}/WhatsApp/Channel/EmbeddedSignup/
```

Complete channel creation after Meta's Embedded Signup flow. Pass the authorization code returned by Meta. Vobiz exchanges the code for an access token, reads the number's details from Meta, registers the number for the WhatsApp Cloud API, and subscribes to the WABA's webhooks. To register a number you bought from Vobiz on the WABA instead, send `number_provider` set to `vobiz` with `phone_number`. Repeating the request for a number that is already connected returns the existing channel, so a retried submit is safe. Returns `201 Created`.

**code** `string` *required*

The single-use authorization code returned by Meta's Embedded Signup popup. Codes expire after about 10 minutes.

**waba\_id** `string` *required*

The WhatsApp Business Account ID returned by Embedded Signup.

**phone\_number\_id** `string`

Meta's phone number ID returned by Embedded Signup. Required unless you are registering a Vobiz number (`number_provider` is `vobiz` and `phone_number` is set).

**phone\_number** `string`

The Vobiz number to register on the WABA, in E.164 format. Used with `number_provider` set to `vobiz`.

**number\_provider** `string`

Set to `vobiz` to register a number bought from Vobiz on the WABA instead of using a number already on it.

**number\_onboarding\_mode** `string`

Accepted for compatibility. Vobiz sets the channel's mode itself: `buy_from_vobiz` for a Vobiz number and `embedded_signup` otherwise.

**solution\_id** `string`

The Meta partner solution ID used for Embedded Signup, when Vobiz gave you one.

```bash cURL theme={null}
curl -X POST \
  "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/WhatsApp/Channel/EmbeddedSignup/" \
  -H "X-Auth-ID: MA_XXXXXXXX" \
  -H "X-Auth-Token: YOUR_AUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "AQBx...authorization-code",
    "waba_id": "123456789012345",
    "phone_number_id": "109876543210987"
  }'
```

```json 201 Created theme={null}
{
  "channel": {
    "id": "0a8f3feb-9598-47f2-8a6c-df1aeb306ae1",
    "account_id": "MA_XXXXXXXX",
    "waba_id": "123456789012345",
    "phone_number_id": "109876543210987",
    "phone_number": "+1 415-555-0100",
    "number_onboarding_mode": "embedded_signup",
    "verification_status": "verified",
    "display_name": "Acme Support",
    "status": "active",
    "created_at": "2026-10-05T11:35:20Z",
    "updated_at": "2026-10-05T11:35:20Z"
  },
  "phone_number": "+1 415-555-0100",
  "display_name": "Acme Support"
}
```

The phone number and display name come from Meta, so `phone_number` uses Meta's formatting and can include spaces and hyphens.

## Update channel

```http theme={null}
PUT https://api.vobiz.ai/api/v1/Account/{auth_id}/WhatsApp/Channel/{id}/
```

Update an existing channel's display name, or replace its Meta access token, for example after you rotate it in Meta Business Manager. Send at least one field; omitted fields keep their current value. An unknown channel returns `400` with `channel not found or update failed`. Returns `200 OK` with the updated channel.

**access\_token** `string`

A new Meta access token. It can't be empty.

**display\_name** `string`

New display name.

```bash cURL theme={null}
curl -X PUT \
  "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/WhatsApp/Channel/0a8f3feb-9598-47f2-8a6c-df1aeb306ae1/" \
  -H "X-Auth-ID: MA_XXXXXXXX" \
  -H "X-Auth-Token: YOUR_AUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "display_name": "Acme Support",
    "access_token": "YOUR_META_ACCESS_TOKEN"
  }'
```

## Delete channel

```http theme={null}
DELETE https://api.vobiz.ai/api/v1/Account/{auth_id}/WhatsApp/Channel/{id}/
```

Disconnect a WhatsApp channel from your Vobiz account. The number stays registered with Meta, and the WABA is unchanged. Returns `204 No Content`, or `404` for an unknown channel.

> [!WARNING]
>
> Deleting a channel stops messaging for that number through Vobiz and deletes the channel's templates, conversations, messages, campaigns, and call logs on Vobiz.

```bash cURL theme={null}
curl -X DELETE \
  "https://api.vobiz.ai/api/v1/Account/MA_XXXXXXXX/WhatsApp/Channel/0a8f3feb-9598-47f2-8a6c-df1aeb306ae1/" \
  -H "X-Auth-ID: MA_XXXXXXXX" \
  -H "X-Auth-Token: YOUR_AUTH_TOKEN"
```

## Channel object

**id** `string`

Channel ID (UUID). Pass it as `channel_id` when you send messages, place calls, or create campaigns.

**account\_id** `string`

Your Vobiz account ID (`MA_XXXXXXXX`).

**waba\_id** `string`

WhatsApp Business Account ID from Meta.

**phone\_number\_id** `string`

Meta's phone number ID for this number. Empty for a `buy_from_vobiz` channel whose number is not yet registered with Meta.

**phone\_number** `string`

The business phone number, as supplied when the channel was created, or as Meta formats it for Embedded Signup channels (which can include spaces and hyphens).

**number\_onboarding\_mode** `string`

How the number was connected: `buy_from_vobiz`, `bring_your_own`, or `embedded_signup`.

**number\_provider** `string`

Who provides the number, for example `vobiz`. Omitted when not set.

**number\_order\_id** `string`

The number order this channel was created from. Omitted when there is none.

**verification\_status** `string`

`verified` or `pending`. A channel is `pending` while `bring_your_own` verification is incomplete, or when a `buy_from_vobiz` channel was created without a `phone_number_id`.

**display\_name** `string`

The display name shown to customers. Omitted when empty.

**status** `string`

Channel state. New channels are `active`.

**created\_at** `string`

Creation timestamp (RFC3339 UTC).

**updated\_at** `string`

Last update timestamp (RFC3339 UTC).

> [!NOTE]
>
> The `access_token` is stored encrypted and is **never** returned in any API response.


## OpenAPI

````yaml openapi-whatsapp.yaml GET /api/v1/Account/{auth_id}/WhatsApp/Channel/
openapi: 3.1.0
info:
  title: Vobiz WhatsApp API
  description: >
    Connect WhatsApp Business channels, submit message templates, send text,
    media and template

    messages, place and answer WhatsApp voice calls, run template campaigns, and
    manage contacts,

    canned responses, webhooks (callbacks) and media on the WhatsApp Business
    Platform through Vobiz.


    **Base URL:** `https://api.vobiz.ai/api/v1/Account/{auth_id}/WhatsApp`,
    where `{auth_id}` is your

    account Auth ID. Paths in descriptions, such as `POST /Message/`, are
    relative to it. The trailing

    slash is optional on every path.


    **Authentication:** every request needs the `X-Auth-ID` and `X-Auth-Token`
    headers. The

    `{auth_id}` in the path must be the account those credentials belong to,
    otherwise the request

    returns `403`. Send `Content-Type: application/json` on requests with a JSON
    body.


    **Conventions:** field names are snake_case. IDs that Vobiz issues
    (channels, templates,

    contacts, conversations, messages, campaigns, webhooks) are UUIDs; send them
    exactly as

    returned. Timestamps are RFC 3339 in UTC.

    Errors return a flat object with one `error` string. Authentication and
    authorization errors

    (`401` and `403`) nest a `code` and `message` under `error`.
  version: '1.0'
  contact:
    email: support@vobiz.ai
    url: https://www.vobiz.ai
servers:
  - url: https://api.vobiz.ai
    description: Production
security:
  - AuthID: []
    AuthToken: []
tags:
  - name: Channels
    description: >-
      WhatsApp Business phone numbers connected to your Vobiz account. Every
      send, template, call and campaign runs on a channel.
  - name: SIP integration
    description: >-
      Route a channel's WhatsApp voice calls over SIP to your own PBX or contact
      center instead of the browser (WebRTC) calling flow.
  - name: Templates
    description: >-
      Meta-approved message templates, the only messages you can send outside
      the 24-hour customer service window.
  - name: Numbers
    description: >-
      Search and buy WhatsApp-capable numbers from Vobiz inventory, or verify
      ownership of a number you already have (BYON).
  - name: Conversations
    description: >-
      Threads between one of your channels and one contact, with their message
      history.
  - name: Messages
    description: Send text, media and template messages.
  - name: Calls
    description: >-
      Place, answer and end WhatsApp Business voice calls with WebRTC signaling,
      and list call history.
  - name: Webhooks
    description: >-
      Subscriptions that deliver inbound messages, delivery status and call
      events to your server.
  - name: Media
    description: >-
      Upload media for outbound messages and download inbound attachments
      without handling Meta access tokens.
  - name: Contacts
    description: >-
      The people you message, with tags and custom attributes used for campaign
      targeting.
  - name: Canned responses
    description: Reusable reply snippets that inbox agents insert with a shortcut.
  - name: Campaigns
    description: >-
      Bulk sends of one approved template to a tagged, selected or full contact
      audience.
paths:
  /api/v1/Account/{auth_id}/WhatsApp/Channel/:
    parameters:
      - $ref: '#/components/parameters/AuthId'
    get:
      tags:
        - Channels
      summary: List channels
      description: >-
        Returns every WhatsApp channel connected to your account, newest first,
        in an `items` array. The list is not paginated.
      operationId: whatsapp-list-channels
      responses:
        '200':
          description: Your channels.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelList'
              example:
                items:
                  - id: 0a8f3feb-9598-47f2-8a6c-df1aeb306ae1
                    account_id: MA_XXXXXXXX
                    waba_id: '123456789012345'
                    phone_number_id: '109876543210987'
                    phone_number: +1 415-555-0100
                    number_onboarding_mode: embedded_signup
                    verification_status: verified
                    display_name: Acme Support
                    status: active
                    created_at: '2026-10-05T11:35:20.074199Z'
                    updated_at: '2026-10-05T11:35:20.074199Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  parameters:
    AuthId:
      name: auth_id
      in: path
      required: true
      description: Your account Auth ID. It must match the `X-Auth-ID` header.
      schema:
        type: string
        example: MA_XXXXXXXX
  schemas:
    ChannelList:
      type: object
      required:
        - items
      properties:
        items:
          type: array
          description: Your channels, newest first. Empty array when you have none.
          items:
            $ref: '#/components/schemas/Channel'
    Channel:
      type: object
      description: A WhatsApp Business phone number connected to your account.
      required:
        - id
        - account_id
        - waba_id
        - phone_number_id
        - phone_number
        - number_onboarding_mode
        - verification_status
        - status
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
          description: >-
            Channel ID. Pass it as `channel_id` when you send messages, place
            calls or create campaigns.
          example: 0a8f3feb-9598-47f2-8a6c-df1aeb306ae1
        account_id:
          type: string
          description: Your account Auth ID.
          example: MA_XXXXXXXX
        waba_id:
          type: string
          description: The WhatsApp Business Account (WABA) ID from Meta.
          example: '123456789012345'
        phone_number_id:
          type: string
          description: >-
            Meta's phone number ID for this number. Empty for a `buy_from_vobiz`
            channel whose number is not yet registered with Meta.
          example: '109876543210987'
        phone_number:
          type: string
          description: >-
            The business phone number, as supplied when the channel was created
            or as Meta formats it for Embedded Signup channels (which can
            include spaces and hyphens).
          example: '+14155550100'
        number_onboarding_mode:
          type: string
          enum:
            - buy_from_vobiz
            - bring_your_own
            - embedded_signup
          description: How the number was connected.
          example: embedded_signup
        number_provider:
          type: string
          description: Who provides the number, for example `vobiz`. Omitted when not set.
          example: vobiz
        number_order_id:
          type: string
          description: >-
            The number order this channel was created from. Omitted when there
            is none.
          example: 5c2e8a1f-3b7d-4e9a-8c6f-1d2b3a4c5e6f
        verification_status:
          type: string
          enum:
            - verified
            - pending
          description: >-
            `pending` for `bring_your_own` channels until BYON verification
            completes, and for `buy_from_vobiz` channels created without a
            `phone_number_id`. Otherwise `verified`.
          example: verified
        display_name:
          type: string
          description: The display name shown to customers. Omitted when empty.
          example: Acme Support
        status:
          type: string
          description: Channel state. New channels are `active`.
          example: active
        created_at:
          type: string
          format: date-time
          example: '2026-10-05T11:35:20Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-10-05T11:35:20Z'
    GatewayError:
      type: object
      description: The body of an authentication (`401`) or authorization (`403`) error.
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: integer
              description: The HTTP status code, repeated.
              example: 401
            message:
              type: string
              description: What went wrong.
              example: Invalid authentication credentials
    Error:
      type: object
      description: >-
        An error response: a flat object with one `error` string. Use the HTTP
        status code to decide how to handle the error, and log `error` for
        diagnosis.
      required:
        - error
      properties:
        error:
          type: string
          description: >-
            Human-readable explanation of the error. Branch on the HTTP status
            code rather than on this text.
          example: channel not found
  responses:
    Unauthorized:
      description: Missing or invalid `X-Auth-ID` / `X-Auth-Token`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/GatewayError'
          examples:
            invalid:
              summary: Invalid credentials
              value:
                error:
                  code: 401
                  message: Invalid authentication credentials
            missing:
              summary: Missing credentials
              value:
                error:
                  code: 401
                  message: >-
                    Authentication required: provide either Authorization header
                    or X-Auth-ID and X-Auth-Token headers
    Forbidden:
      description: >-
        The `{auth_id}` in the path is not the account your credentials belong
        to.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/GatewayError'
          example:
            error:
              code: 403
              message: 'Access denied: account ID mismatch'
    ServerError:
      description: >-
        The request couldn't be completed. Retry it, and contact Vobiz support
        if the error persists.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    AuthID:
      type: apiKey
      in: header
      name: X-Auth-ID
      description: Your Vobiz account Auth ID (`MA_XXXXXXXX`).
    AuthToken:
      type: apiKey
      in: header
      name: X-Auth-Token
      description: Your Vobiz account Auth Token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.