Skip to main content
POST
Create inbox

Authorizations

Authorization
string
header
required

JWT authentication token

Headers

x-company-id
string

Target company identifier. Required only for global API keys (type=global). Ignored for company API keys and human users.

Body

application/json
name
string
required

Inbox name

Minimum string length: 1
webhook_url
string

Webhook URL for notifications

Minimum string length: 1
number
string

Inbox phone number (international format)

Pattern: ^\+.*
default_agent
string

Default agent ID for new conversations

channel
enum<string>

Communication channel (WAP_AUTO_CLOSER, etc.)

Available options:
WAP_AUTO_CLOSER,
WEB_V2,
EVOLUTION_API,
LINKEDIN,
EMAIL,
WEBCHAT
api_wap_config
object

WhatsApp Business API settings

evolution_api_config
object

Evolution API settings

test_mode
object

Test mode settings

general_config
object

General inbox settings

coexistence_enabled
any

Read-only field, automatically synced from Meta.

disable_inbound_ai
boolean

Opt-in. When true, the AI does not handle organic inbound: new conversations start for human handling. The AI keeps handling campaign leads. Defaults to false.

pdf_local_text_extraction
boolean

Opt-in for the hybrid PDF reading mode. When true, the text is extracted locally and the AI receives the TEXT instead of the image (it stays in the loop, just reorganizing it): no size limit and no vision tokens. Falls back to the vision path when local reading doesn't work (scanned PDF, non-PDF, unreadable). Default false.

default_owner
string | null

Opt-in. ID of the default owner user for any new conversation in this inbox (an explicit owner from the caller takes precedence). Null/absent = no default owner.

webchat_config
object

Editable configuration of the WEBCHAT channel — site_key/hmac_secret are generated by the server

Response

Inbox created successfully

name
string
required

Inbox name

number
string
required

Inbox's phone number

company
any
required

Company that owns the inbox

channel
string
required

Communication channel (WAP_AUTO_CLOSER, etc.)

status
enum<string>
required

Inbox status (ACTIVE, DELETED)

Available options:
ACTIVE,
DELETED
_id
string

Inbox ID

webhook_url
string

Webhook URL for notifications

test_mode
object

Test mode settings

default_agent
any

Default agent for new conversations

api_wap_config
object

WhatsApp Business API settings (channel only)

evolution_api_config
object

Evolution API settings

linkedin_config
object

LinkedIn settings (Unipile)

general_config
object

General inbox settings

coexistence_enabled
boolean

Enables ingestion of smb_message_echoes (WhatsApp Coexistence).

disable_inbound_ai
boolean

Opt-in. When true, the AI does not handle organic inbound (new conversations for human handling); the AI keeps handling campaign leads.

pdf_local_text_extraction
boolean

Opt-in for the hybrid PDF reading mode. When true, the text is extracted locally and the AI receives the TEXT instead of the image (it stays in the loop, just reorganizing it): no size limit and no vision tokens. Falls back to the vision path when local reading doesn't work (scanned PDF, non-PDF, unreadable). Default false.

default_owner
string | null

ID of the default owner user for new conversations in this inbox (opt-in). Null = no default owner.

createdAt
any

Inbox creation date

updatedAt
any

Inbox update date