iglooX DocsDevelopers

Schema

WhatsApp Connection

Reports WhatsApp connection setup and credential health; integration settings are reported alongside the connection in the integration response.

  • Models

Overview

object · 12 properties · 12 required

Properties

uuid

string Required

The connection's unique identifier.

Format uuid
Read only Yes

waba_id

string Required

The WhatsApp Business Account ID provided to iglooX.

Example 123456
Min length 1
Max length 255

phone_number_id

string Required

The WhatsApp Phone Number ID provided to iglooX.

Example 654321
Min length 1
Max length 255

setup_status

string Required

Configurations start pending and cannot be edited or deactivated until setup succeeds or fails. Activation requires that no configuration exists. Successful setup includes recording the sending limits reported by Meta. Messaging also depends on credential health and template availability.

Read only Yes

Allowed values

pendingsucceededfailed

setup_error

oneOf Required

Stable setup failure identifier, or null before failure. Fixed explanations: - `whatsapp_phone_number_not_found`: the selected WhatsApp phone number could not be found. - `whatsapp_two_step_verification_pin_incorrect`: the PIN does not match the phone number's two-step verification PIN; use the existing PIN or reset it in WhatsApp Manager. - `whatsapp_message_templates_incompatible`: update incompatible system message templates before connecting again. - `whatsapp_activation_failed`: setup could not complete; check the connection details and try again. Deactivate the failed connection before creating a new connection.

Nullable Yes
Read only Yes
One of

One of 1

string

Allowed values

whatsapp_phone_number_not_foundwhatsapp_two_step_verification_pin_incorrectwhatsapp_message_templates_incompatiblewhatsapp_activation_failed

One of 2

null

business_id

string | null Required

The ID of the Meta business that owns the WhatsApp Business Account, returned by Meta during activation.

Example 112233445566778
Min length 1
Max length 255
Nullable Yes
Read only Yes

business_name

string | null Required

The name of the Meta business that owns the WhatsApp Business Account, returned by Meta during activation.

Example Igloo Coffee
Min length 1
Max length 255
Nullable Yes
Read only Yes

business_phone_number

string | null Required

The WhatsApp business display phone number returned by Meta.

Example +61 7 1234 5678
Min length 1
Max length 255
Nullable Yes
Read only Yes

token_expires_at

string | null Required

The provider-reported effective token expiration, or null when no fixed expiration is known. Tokens are not automatically refreshed; deactivate the configuration and create a new connection when credentials expire or become invalid.

Format date-time
Nullable Yes
Read only Yes

token_status

string Required

Observed credential health, independent of connection setup state. Unknown means the credentials have not yet been inspected.

Read only Yes

Allowed values

unknownvalidexpiredinvalid

token_checked_at

string | null Required

When the credentials were last successfully inspected. Transient provider failures retain the last observation. Health is checked during activation and hourly thereafter.

Format date-time
Nullable Yes
Read only Yes

created_at

string Required

The date-time that the configuration was first created.

Format date-time
Read only Yes

Used by

Raw YAML
Download source
title: WhatsApp Connection
type: object
description: Reports WhatsApp connection setup and credential health; integration settings are reported alongside the connection in the integration response.
required:
  - uuid
  - waba_id
  - phone_number_id
  - setup_status
  - setup_error
  - business_id
  - business_name
  - business_phone_number
  - token_expires_at
  - token_status
  - token_checked_at
  - created_at
properties:
  uuid:
    type: string
    format: uuid
    description: The connection's unique identifier.
    readOnly: true
  waba_id:
    type: string
    minLength: 1
    maxLength: 255
    example: '123456'
    description: The WhatsApp Business Account ID provided to iglooX.
  phone_number_id:
    type: string
    minLength: 1
    maxLength: 255
    example: '654321'
    description: The WhatsApp Phone Number ID provided to iglooX.
  setup_status:
    type: string
    enum: [pending, succeeded, failed]
    description: Configurations start pending and cannot be edited or deactivated until setup succeeds or fails. Activation requires that no configuration exists. Successful setup includes recording the sending limits reported by Meta. Messaging also depends on credential health and template availability.
    readOnly: true
  setup_error:
    description: |
      Stable setup failure identifier, or null before failure. Fixed explanations:

      - `whatsapp_phone_number_not_found`: the selected WhatsApp phone number could not be found.
      - `whatsapp_two_step_verification_pin_incorrect`: the PIN does not match the phone number's two-step verification PIN; use the existing PIN or reset it in WhatsApp Manager.
      - `whatsapp_message_templates_incompatible`: update incompatible system message templates before connecting again.
      - `whatsapp_activation_failed`: setup could not complete; check the connection details and try again.

      Deactivate the failed connection before creating a new connection.
    oneOf:
      - type: string
        enum:
          - whatsapp_phone_number_not_found
          - whatsapp_two_step_verification_pin_incorrect
          - whatsapp_message_templates_incompatible
          - whatsapp_activation_failed
      - type: 'null'
    readOnly: true
  business_id:
    type: [string, 'null']
    minLength: 1
    maxLength: 255
    example: '112233445566778'
    description: The ID of the Meta business that owns the WhatsApp Business Account, returned by Meta during activation.
    readOnly: true
  business_name:
    type: [string, 'null']
    minLength: 1
    maxLength: 255
    example: Igloo Coffee
    description: The name of the Meta business that owns the WhatsApp Business Account, returned by Meta during activation.
    readOnly: true
  business_phone_number:
    type: [string, 'null']
    minLength: 1
    maxLength: 255
    example: '+61 7 1234 5678'
    description: The WhatsApp business display phone number returned by Meta.
    readOnly: true
  token_expires_at:
    type: [string, 'null']
    format: date-time
    description: The provider-reported effective token expiration, or null when no fixed expiration is known. Tokens are not automatically refreshed; deactivate the configuration and create a new connection when credentials expire or become invalid.
    readOnly: true
  token_status:
    type: string
    enum: [unknown, valid, expired, invalid]
    description: Observed credential health, independent of connection setup state. Unknown means the credentials have not yet been inspected.
    readOnly: true
  token_checked_at:
    type: [string, 'null']
    format: date-time
    description: When the credentials were last successfully inspected. Transient provider failures retain the last observation. Health is checked during activation and hourly thereafter.
    readOnly: true
  created_at:
    type: string
    format: date-time
    description: The date-time that the configuration was first created.
    readOnly: true
x-tags:
  - Models

Search documentation

Search across this documentation site.