Inquirly
  1. Contacts API
Inquirly
  • Accounts
    • Create an Account
      POST
    • Get an account details
      GET
    • Update an account
      PATCH
    • Delete an Account
      DELETE
  • Account Users
    • List all Account Users
      GET
    • Create an Account User
      POST
    • Delete an Account User
      DELETE
  • AgentBots
    • List all AgentBots
      GET
    • Create an Agent Bot
      POST
    • Get an agent bot details
      GET
    • Update an agent bot
      PATCH
    • Delete an AgentBot
      DELETE
  • Users
    • Create a User
      POST
    • Get an user details
      GET
    • Update a user
      PATCH
    • Delete a User
      DELETE
    • Get User SSO Link
      GET
  • Inbox API
    • Inbox details
      GET
  • Contacts API
    • Create a contact
      POST
    • Get a contact
      GET
    • Update a contact
      PATCH
  • Conversations API
    • Create a conversation
      POST
    • List all conversations
      GET
    • Get a single conversation
      GET
    • Resolve a conversation
      POST
    • Toggle typing status
      POST
    • Update last seen
      POST
  • Messages API
    • Create a message
    • List all messages
    • Update a message
  • Contact Labels
    • List Labels
    • Add Labels
  • CSAT Survey Page
    • Get CSAT survey page
  • Account AgentBots
    • List all AgentBots
    • Create an Agent Bot
    • Get an agent bot details
    • Update an agent bot
    • Delete an AgentBot
  • Agents
    • List Agents in Account
    • Add a New Agent
    • Update Agent in Account
    • Remove an Agent from Account
  • Canned Responses
    • List all Canned Responses in an Account
    • Add a New Canned Response
    • Remove a Canned Response from Account
  • Canned Response
    • Update Canned Response in Account
  • Custom Attributes
    • List all custom attributes in an account
    • Add a new custom attribute
    • Get a custom attribute details
    • Update custom attribute in Account
    • Remove a custom attribute from account
  • Contacts
    • List Contacts
    • Create Contact
    • Show Contact
    • Update Contact
    • Delete Contact
    • Contact Conversations
    • Search Contacts
    • Contact Filter
  • Contact
    • Create contact inbox
    • Get Contactable Inboxes
  • Automation Rule
    • List all automation rules in an account
    • Add a new automation rule
    • Get a automation rule details
    • Update automation rule in Account
    • Remove a automation rule from account
  • Help Center
    • Add a new portal
    • List all portals in an account
    • update a new portal
    • Add a new category
    • Add a new article
  • Conversations
    • Get Conversation Counts
    • Conversations List
    • Create New Conversation
    • Conversations Filter
    • Conversation Details
    • Update Conversation
    • Toggle Status
    • Toggle Priority
  • Conversation Assignment
    • Assign Conversation
  • Conversation Labels
    • List Labels
    • Add Labels
  • Inboxes
    • List all inboxes
    • Get an inbox
    • Create an inbox
    • Update Inbox
    • Show Inbox Agent Bot
    • Add or remove agent bot
    • List Agents in Inbox
    • Add a New Agent
    • Update Agents in Inbox
    • Remove an Agent from Inbox
  • Messages
    • Get messages
    • Create New Message
    • Delete a message
  • Integrations
    • List all the Integrations
    • Create an integration hook
    • Update an Integration Hook
    • Delete an Integration Hook
  • Profile
    • Fetch user profile
  • Teams
    • List all teams
    • Create a team
    • Get a team details
    • Update a team
    • Delete a team
    • List Agents in Team
    • Add a New Agent
    • Update Agents in Team
    • Remove an Agent from Team
  • Custom Filters
    • List all custom filters
    • Create a custom filter
    • Get a custom filter details
    • Update a custom filter
    • Delete a custom filter
  • Webhooks
    • List all webhooks
    • Add a webhook
    • Update a webhook object
    • Delete a webhook
  • Reports
    • Get Account reports
    • Get Account reports summary
    • Account Conversation Metrics
    • Agent Conversation Metrics
  1. Contacts API

Create a contact

POST
/public/api/v1/inboxes/{inbox_identifier}/contacts
Contacts API
Create a contact
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/public/api/v1/inboxes//contacts' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
    "identifier": "string",
    "identifier_hash": "string",
    "email": "string",
    "name": "string",
    "phone_number": "string",
    "avatar_url": "string",
    "custom_attributes": {}
}'
Response Response Example
200 - Example 1
{
    "id": 0,
    "source_id": "string",
    "name": "string",
    "email": "string",
    "pubsub_token": "string"
}

Request

Path Params
inbox_identifier
string 
required
Body Params application/json; charset=utf-8
identifier
string 
optional
External identifier of the contact
identifier_hash
string 
optional
Identifier hash prepared for HMAC authentication
email
string 
optional
Email of the contact
name
string 
optional
Name of the contact
phone_number
string 
optional
Phone number of the contact
avatar_url
string 
optional
The url to a jpeg, png file for the user avatar
custom_attributes
object 
optional
Custom attributes of the customer
Examples

Responses

🟢200OK
application/json; charset=utf-8
Success
Body
id
integer 
optional
Id of the contact
source_id
string 
optional
The session identifier of the contact
name
string 
optional
Name of the contact
email
string 
optional
Email of the contact
pubsub_token
string 
optional
The token to be used to connect to chatwoot websocket
🟠401Unauthorized
Previous
Inbox details
Next
Get a contact
Built with