Actions129
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts Actions
- Contact Labels Actions
- Conversation Assignments Actions
- Conversations Actions
- Conversation Add Labels
- Conversation Filter
- Conversation List
- Conversation List Meta
- Get Conversation Reporting Events
- Get Details Of A Conversation
- List All Labels Of A Conversation
- New Conversation
- Toggle Priority Of A Conversation
- Toggle Status Of A Conversation
- Update Conversation
- Update Custom Attributes Of A Conversation
- Custom Filters Actions
- Inboxes Actions
- Integrations Actions
- Messages Actions
- Profile Actions
- Reports Actions
- Automation Rule Actions
- Help Center Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Actions
- Audit Logs Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Custom Attributes Actions
- Teams Actions
- Webhooks Actions
- Conversation Actions
Contacts → Contact Create
AI-generatedSummary
Create a new contact in the Coghub system by providing the required account ID, inbox ID, and contact details such as name, email, phone number, and optional attributes.
Inputs
- account_id (required) — The numeric ID of the account under which to create the contact.
- inbox_id (required) — The ID of the inbox to which the contact belongs.
- name — The name of the contact.
- email — The email address of the contact.
- blocked — Boolean indicating whether the contact is blocked.
- phone_number — The phone number of the contact.
- avatar — Binary or form data representing the contact's avatar image.
- avatar_url — URL pointing to the contact's avatar image file (jpeg, png).
- identifier — A unique identifier for the contact in an external system.
- additional_attributes — A JSON object storing extra attributes for the contact (e.g., {"type":"customer","age":30}).
- custom_attributes — A JSON object for storing custom attributes for the contact, adhering to valid custom attribute definitions.
Output shape
a single JSON object representing the newly created contact.
The output JSON contains the details of the created contact as returned by the Coghub API. No pagination or batching applies to this single creation operation.
Examples
Example 1: Create a contact with basic details
Provide account_id, inbox_id, name, email, and phone_number to create a basic contact.