Inboxes: Create an inbox
gapify_create_inboxCreate a new inbox (channel) in a Gapify or Chatwoot account by providing the account ID, name, avatar, and channel settings through the API.
Instructions
Create a new inbox (channel) in the account [Inboxes]
POST /api/v1/accounts/{account_id}/inboxes/
Auth: User API key (header api-access-token).
Body fields: name, avatar, channel. Extra fields can be passed via extra_body.
Text values may be written in Persian (Farsi) or any other language and are sent unchanged; IDs, numbers and phone numbers may use Persian or Arabic-Indic digits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name of the inbox | |
| avatar | No | File for avatar image | |
| channel | No | Channel settings object. For a website inbox: {type: "web_widget", website_url, welcome_title, welcome_tagline, agent_away_message, widget_color}. Text values may be Persian. Example: {"type":"web_widget","website_url":"https://example.com","welcome_title":"string","welcome_tagline":"string","agent_away_message":"string","widget_color":"string"} | |
| account_id | Yes | The numeric ID of the account | |
| extra_body | No | Additional JSON body fields to merge into the request (for keys not listed above). |