Replace {your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Importing past conversations
To bring in conversations from another tool, pass created_at on the conversation and on every message in messages_attributes. The conversation is then imported rather than started:
It keeps the dates you send instead of the time of the request.
Its messages are stored as already read.
Nothing that is meant for a live conversation happens. No email, push, Slack or Microsoft Teams notification is sent, no automation rule or webhook runs, the chatbot and AI assistant stay out of it, and no reporting data is recorded.
To import the agent replies in the same request, pass the team member’s email as sender_email on those messages. A message without sender_email, or with the contact’s email, is from the contact. The email must belong to a team member of your workspace, including one who has since been deactivated, so replies from agents who have left keep their sender. Any other email rejects the whole request, so a typo can’t turn an agent reply into a message from the contact. Importing a reply doesn’t assign the conversation to the agent who sent it. Pass assignee_email for that.You can also add messages afterwards with Send message, passing created_at on each of them.Pass external_id, your own id for the conversation and for each message, to make an import safe to run again. When a conversation or message with the same external_id already exists in the workspace, it is returned with status 200 and nothing new is created.Time-based automation rules only look at conversations updated in the last month. An imported conversation that is still open and was updated within that month can match a rule such as “time since last reply”, as a live conversation would. Import such conversations as closed if you don’t want that.
Headers
X-Api-Key
string
default:your-api-key
required
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Accept
enum<string>
default:application/json
required
Specifies the expected response format. Must be set to application/json for proper API communication.
Available options:
application/json
Body
application/json
visitor_attributes
object
required
Details of the contact starting the conversation.
Hide child attributes
visitor_attributes.email
string<email>
required
Example:
"sam@example.com"
visitor_attributes.name
string
Example:
"Sam Brown"
visitor_attributes.phone_number
string
Example:
"+14155550123"
visitor_attributes.user_identifier
string
Your own identifier for the contact.
Example:
"customer-1042"
visitor_attributes.traits
object
Custom attributes to store on the contact.
Example:
{ "plan": "Pro" }
messages_attributes
object[]
required
Messages that start the conversation. They are from the contact unless an imported message names an agent in sender_email. At least one message with a body is required.
Hide child attributes
messages_attributes.body
string
required
Example:
"Hi, I need help with a refund."
messages_attributes.created_at
string<date-time>
ISO 8601 time the message was originally sent. Required on every message when the conversation has a created_at, and allowed only then. It can't be in the future or earlier than the conversation's created_at. Messages are stored in time order, whatever order you send them in.
Example:
"2025-03-01T10:00:00Z"
messages_attributes.external_id
string
Your own id for the message, unique in your workspace. It must not repeat within the request or match a message that already exists.
Example:
"intercom-part-88231"
messages_attributes.sender_email
string<email>
Who sent the message. Leave it out, or pass the contact's email, for a message from the contact. Pass a team member's email, including a deactivated team member's, to import the message as that agent's reply, which works only when the conversation has a created_at. Any other email is rejected and nothing is created.
Example:
"agent@example.com"
created_at
string<date-time>
ISO 8601 time the conversation originally started. Passing it imports the conversation. It can't be in the future.
Example:
"2025-03-01T10:00:00Z"
closed_at
string<date-time>
ISO 8601 time the conversation was originally closed. Allowed only with created_at and a status of closed, and it can't be earlier than created_at. A closed conversation imported without it is closed at the time of its last message.
Example:
"2025-03-01T11:30:00Z"
external_id
string
Your own id for the conversation, unique in your workspace. When a conversation with this external_id already exists, it is returned with status 200 and nothing is created. Conversation and message ids are checked separately, so a message may reuse a conversation's id.
Example:
"intercom-215472"
title
string
Example:
"Refund for order #1042"
status
string
Status of the conversation. It must be one of the statuses of your workspace.
Example:
"open"
priority
enum<string>
Available options:
low,
medium,
high,
urgent
Example:
"high"
assignee_email
string<email>
Email of the team member to assign the conversation to. It is ignored when no team member has this email.
Example:
"oliver@example.com"
group_name
string
Name of the group to assign the conversation to. It is ignored when no group has this name.
Example:
"Billing"
tags
string[]
Names of the tags to add to the conversation. Tags that don't exist yet are created.
Example:
["refund", "priority-customer"]
ticket_fields
object
Ticket field values keyed by the field's name. Use the option label for dropdown fields, an array of labels for multi-select fields and true or false for checkbox fields.
Example:
{ "Order number": "1042" }
origin_page_url
string
URL of the page the conversation was started from.
Example:
"https://example.com/pricing"
origin_page_title
string
Title of the page the conversation was started from.
Example:
"Pricing"
Response
OK - A conversation with this external_id already exists, and it is returned unchanged
conversation
object
Hide child attributes
conversation.id
string<uuid>
Example:
"de414e85-a1b5-4240-a465-7b32606980ce"
conversation.status
string
Name of the conversation's status. The default statuses are new, open, waiting_on_customer, on_hold, closed, spam and trash, and your workspace may also have custom statuses.
Example:
"open"
conversation.title
string | null
Example:
"Refund for order #1042"
conversation.priority
enum<string>
Available options:
low,
medium,
high,
urgent
Example:
"low"
conversation.channel_name
string
Unique identifier of the conversation's chat channel.
Example:
"b945fd3cd2573017052901d6dbd0832f"
conversation.origin_page_url
string | null
URL of the page the conversation was started from.
Example:
"https://example.com/pricing"
conversation.origin_page_title
string | null
Title of the page the conversation was started from.
Example:
"Pricing"
conversation.external_id
string | null
Your own id for the conversation, as sent when it was created.
Example:
null
conversation.created_at
string<date-time>
Example:
"2026-09-23T18:07:53.661Z"
conversation.updated_at
string<date-time>
Time the conversation was last changed. A new message or note in the conversation also updates it.
Example:
"2026-10-05T16:26:58.143Z"
conversation.agent
object
Team member assigned to the conversation. All fields are null when the conversation is unassigned.
Hide child attributes
conversation.agent.id
string<uuid> | null
Example:
"05665eee-4602-4317-8f7f-767b04274e5f"
conversation.agent.name
string | null
Example:
"Oliver Smith"
conversation.agent.email
string | null
Example:
"oliver@example.com"
conversation.group
object
Group assigned to the conversation. All fields are null when no group is assigned.
Hide child attributes
conversation.group.id
string<uuid> | null
Example:
null
conversation.group.name
string | null
Example:
null
conversation.visitor
object
Contact who started the conversation.
Hide child attributes
conversation.visitor.id
string<uuid>
Example:
"2c79a334-0bc8-44e4-9504-331f59d400ab"
conversation.visitor.name
string | null
Example:
"Sam Brown"
conversation.visitor.email
string | null
Example:
"sam@example.com"
conversation.visitor.phone_number
string | null
Example:
null
conversation.visitor.user_identifier
string | null
Example:
null
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NeetoChat Docs","description":"NeetoChat API docs guide to manage scheduling from external channels","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":"https://mintcdn.com/neeto-0280aa2a/jlSLnlpp0djgsgKN/assets/logo.svg?fit=max\u0026auto=format\u0026n=jlSLnlpp0djgsgKN\u0026q=85\u0026s=774e336522eb975886c0b3cbf7975b3d","favicon":"https://mintcdn.com/neeto-0280aa2a/iUS8D8GELEknjyJt/assets/favicon.ico?fit=max\u0026auto=format\u0026n=iUS8D8GELEknjyJt\u0026q=85\u0026s=38773d7ba8b26dc3c2b16c8792bfd2fc","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://www.neeto.com/neetochat/blog","label":"Blog"},{"href":"https://help.neetochat.com","label":"Help Center"},{"href":"https://neetochat.com/","label":"NeetoChat"}]},"footer":{"socials":{"x":"https://x.com/neetohq","linkedin":"https://www.linkedin.com/company/neeto","youtube":"https://www.youtube.com/channel/UCoQ3Kv2JdZ51WZJ3QFFcI9g","slack":"https://www.launchpass.com/neetohq"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neeto-0280aa2a","hasAudioNarration":false,"actualSubdomain":"neeto-0280aa2a","customDomains":["apidocs.neetochat.com"],"gitSource":{"type":"github","owner":"neetochatapis","repo":"neeto-chat-api","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aec5bab8c2847cc731f1574","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"CLI","count":13},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"Commands","count":7},{"language":"default","tag":"Team Members","count":5},{"language":"default","tag":"Conversations","count":4},{"language":"default","tag":"Contacts","count":3},{"language":"default","tag":"Messages","count":3},{"language":"default","tag":"Reports","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"theme.css","content":":root{--primary-green: #0da874;--white: #ffffff;--light-gray: #eeeeee;--dark-gray: #1f2937;--text-white: rgb(255, 255, 255);--text-light: rgb(238, 238, 238)}#navbar-transition,[data-nav=\"true\"]{background-color:var(--primary-green)!important}.nav-logo{filter:brightness(0) invert(1)!important;height:20px!important;width:auto!important;max-width:none!important}[data-nav=\"true\"] a,#navbar-transition a,#navbar a,.navbar-link{color:var(--text-white)!important}[data-nav=\"true\"] a:hover,#navbar-transition a:hover,#navbar a:hover,.navbar-link:hover{color:var(--text-light)!important}#navbar button,#navbar span,#navbar div,#navbar p,#navbar .text-sm,#navbar .text-xs{color:var(--white)!important}#navbar .bg-gray-500,#navbar .bg-gray-400,#navbar .bg-gray-600,#navbar .bg-gray-300{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"]{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .text-gray-600,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:text-gray-400{color:var(--dark-gray)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .hover\\:text-gray-900:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:hover\\:text-gray-300:hover{color:var(--primary-green)!important}#search-bar-entry button,#search-bar-entry span,#search-bar-entry div,#search-bar-entry p,#search-bar-entry img,#search-bar-entry svg,#search-bar-entry .text-sm,#search-bar-entry .text-xs{color:var(--primary-green)!important}"}]}
{"page":{"pagePath":"api-reference/conversations/add","slug":"/api-reference/conversations/add","pageMetadata":{"title":"Create conversation","openapi":"bundled/conversations.yaml POST /conversations","description":"Start a conversation on behalf of a contact.\n\nThe contact is matched by `user_identifier`, then by `email`, and a new contact is created when neither matches.\n","href":"/api-reference/conversations/add"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Start a conversation on behalf of a contact.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The contact is matched by \", _jsx(_components.code, {\n children: \"user_identifier\"\n }), \", then by \", _jsx(_components.code, {\n children: \"email\"\n }), \", and a new contact is created when neither matches.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsxs(Info,{children:[`Replace `,_jsx(_components.code,{children:`{your-subdomain}`}),` with your workspace’s subdomain. `,_jsx(`br`,{}),` Learn how to find your subdomain in `,_jsx(_components.a,{href:`/getting-started/workspace-subdomain`,children:`Workspace subdomain`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`importing-past-conversations`,children:`Importing past conversations`}),`\n`,_jsxs(_components.p,{children:[`To bring in conversations from another tool, pass `,_jsx(_components.code,{children:`created_at`}),` on the conversation and on every message in `,_jsx(_components.code,{children:`messages_attributes`}),`. The conversation is then imported rather than started:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`It keeps the dates you send instead of the time of the request.`}),`\n`,_jsx(_components.li,{children:`Its messages are stored as already read.`}),`\n`,_jsx(_components.li,{children:`Nothing that is meant for a live conversation happens. No email, push, Slack or Microsoft Teams notification is sent, no automation rule or webhook runs, the chatbot and AI assistant stay out of it, and no reporting data is recorded.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To import the agent replies in the same request, pass the team member’s email as `,_jsx(_components.code,{children:`sender_email`}),` on those messages. A message without `,_jsx(_components.code,{children:`sender_email`}),`, or with the contact’s email, is from the contact. The email must belong to a team member of your workspace, including one who has since been deactivated, so replies from agents who have left keep their sender. Any other email rejects the whole request, so a typo can’t turn an agent reply into a message from the contact. Importing a reply doesn’t assign the conversation to the agent who sent it. Pass `,_jsx(_components.code,{children:`assignee_email`}),` for that.`]}),`\n`,_jsxs(_components.p,{children:[`You can also add messages afterwards with `,_jsx(_components.a,{href:`/api-reference/messages/add`,children:`Send message`}),`, passing `,_jsx(_components.code,{children:`created_at`}),` on each of them.`]}),`\n`,_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`external_id`}),`, your own id for the conversation and for each message, to make an import safe to run again. When a conversation or message with the same `,_jsx(_components.code,{children:`external_id`}),` already exists in the workspace, it is returned with status `,_jsx(_components.code,{children:`200`}),` and nothing new is created.`]}),`\n`,_jsxs(_components.p,{children:[`Time-based automation rules only look at conversations updated in the last month. An imported conversation that is still open and was updated within that month can match a rule such as “time since last reply”, as a live conversation would. Import such conversations as `,_jsx(_components.code,{children:`closed`}),` if you don’t want that.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Create conversation","openapi":"bundled/conversations.yaml POST /conversations","description":"Start a conversation on behalf of a contact.\n\nThe contact is matched by `user_identifier`, then by `email`, and a new contact is created when neither matches.\n","href":"/api-reference/conversations/add"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Importing past conversations","slug":"importing-past-conversations","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neeto-0280aa2a/c7a6987cd31f1479/os-detect.js"],"openApiReferenceData":{"operation":{"summary":"Create conversation","tags":["Conversations"],"description":"Start a conversation on behalf of a contact.\n\nThe contact is matched by `user_identifier`, then by `email`, and a new contact is created when neither matches.\n","parameters":["03d02f29-c3ec-4dad-a0d3-2dd60f1ed45d","860ab994-105e-4b5a-992e-04d0af5ebe58"],"requestBody":"8b0d950b-df90-45ff-90b6-7f50cea50e29","responses":{"200":"3759d8e2-72c4-419c-b02d-bebfa6952301","201":"42d63f73-8b65-4d32-9c34-b0d931b26561","422":"34c837f2-bf20-4e97-b531-4f4a5a2a9db2"},"method":"post","type":"path","servers":["c57d93a9-f2d2-4619-a59d-e15b1946ecb7"],"security":[],"path":"/conversations","baseUrlOptions":["https://{your-subdomain}.neetochat.com/api/external/v2"],"title":"Create conversation","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"03d02f29-c3ec-4dad-a0d3-2dd60f1ed45d":{"in":"header","name":"X-Api-Key","description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/getting-started/authentication) for more information.","required":true,"schema":{"type":"string","default":"your-api-key","isRequired":true,"description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/getting-started/authentication) for more information.","uniqueKey":"","typeLabel":"string"}},"860ab994-105e-4b5a-992e-04d0af5ebe58":{"in":"header","name":"Accept","description":"Specifies the expected response format. Must be set to `application/json` for proper API communication.","required":true,"schema":{"type":"string","enum":["application/json"],"default":"application/json","isRequired":true,"description":"Specifies the expected response format. Must be set to `application/json` for proper API communication.","uniqueKey":"","typeLabel":"enum\u003cstring>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"visitor_attributes":{"type":"object","description":"Details of the contact starting the conversation.","properties":{"email":{"type":"string","format":"email","example":"sam@example.com","isRequired":true,"uniqueKey":"visitor_attributes.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","example":"Sam Brown","uniqueKey":"visitor_attributes.name","typeLabel":"string"},"phone_number":{"type":"string","example":"+14155550123","uniqueKey":"visitor_attributes.phone_number","typeLabel":"string"},"user_identifier":{"type":"string","description":"Your own identifier for the contact.","example":"customer-1042","uniqueKey":"visitor_attributes.user_identifier","typeLabel":"string"},"traits":{"type":"object","description":"Custom attributes to store on the contact.","additionalProperties":true,"example":{"plan":"Pro"},"uniqueKey":"visitor_attributes.traits","typeLabel":"object"}},"required":["email"],"isRequired":true,"uniqueKey":"visitor_attributes","typeLabel":"object"},"messages_attributes":{"type":"array","description":"Messages that start the conversation. They are from the contact unless an imported message names an agent in `sender_email`. At least one message with a `body` is required.","items":{"type":"object","properties":{"body":{"type":"string","example":"Hi, I need help with a refund.","isRequired":true,"uniqueKey":"messages_attributes.items.[INDEX].body","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 time the message was originally sent. Required on every message when the conversation has a `created_at`, and allowed only then. It can't be in the future or earlier than the conversation's `created_at`. Messages are stored in time order, whatever order you send them in.","example":"2025-03-01T10:00:00Z","uniqueKey":"messages_attributes.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"external_id":{"type":"string","description":"Your own id for the message, unique in your workspace. It must not repeat within the request or match a message that already exists.","example":"intercom-part-88231","uniqueKey":"messages_attributes.items.[INDEX].external_id","typeLabel":"string"},"sender_email":{"type":"string","format":"email","description":"Who sent the message. Leave it out, or pass the contact's `email`, for a message from the contact. Pass a team member's email, including a deactivated team member's, to import the message as that agent's reply, which works only when the conversation has a `created_at`. Any other email is rejected and nothing is created.","example":"agent@example.com","uniqueKey":"messages_attributes.items.[INDEX].sender_email","typeLabel":"string\u003cemail>"}},"required":["body"],"uniqueKey":"messages_attributes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"messages_attributes","typeLabel":"object[]"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 time the conversation originally started. Passing it imports the conversation. It can't be in the future.","example":"2025-03-01T10:00:00Z","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"closed_at":{"type":"string","format":"date-time","description":"ISO 8601 time the conversation was originally closed. Allowed only with `created_at` and a `status` of `closed`, and it can't be earlier than `created_at`. A closed conversation imported without it is closed at the time of its last message.","example":"2025-03-01T11:30:00Z","uniqueKey":"closed_at","typeLabel":"string\u003cdate-time>"},"external_id":{"type":"string","description":"Your own id for the conversation, unique in your workspace. When a conversation with this `external_id` already exists, it is returned with status `200` and nothing is created. Conversation and message ids are checked separately, so a message may reuse a conversation's id.","example":"intercom-215472","uniqueKey":"external_id","typeLabel":"string"},"title":{"type":"string","example":"Refund for order #1042","uniqueKey":"title","typeLabel":"string"},"status":{"type":"string","description":"Status of the conversation. It must be one of the statuses of your workspace.","example":"open","uniqueKey":"status","typeLabel":"string"},"priority":{"type":"string","enum":["low","medium","high","urgent"],"example":"high","uniqueKey":"priority","typeLabel":"enum\u003cstring>"},"assignee_email":{"type":"string","format":"email","description":"Email of the team member to assign the conversation to. It is ignored when no team member has this email.","example":"oliver@example.com","uniqueKey":"assignee_email","typeLabel":"string\u003cemail>"},"group_name":{"type":"string","description":"Name of the group to assign the conversation to. It is ignored when no group has this name.","example":"Billing","uniqueKey":"group_name","typeLabel":"string"},"tags":{"type":"array","description":"Names of the tags to add to the conversation. Tags that don't exist yet are created.","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"example":["refund","priority-customer"],"uniqueKey":"tags","typeLabel":"string[]"},"ticket_fields":{"type":"object","description":"Ticket field values keyed by the field's name. Use the option label for dropdown fields, an array of labels for multi-select fields and `true` or `false` for checkbox fields.","additionalProperties":true,"example":{"Order number":"1042"},"uniqueKey":"ticket_fields","typeLabel":"object"},"origin_page_url":{"type":"string","description":"URL of the page the conversation was started from.","example":"https://example.com/pricing","uniqueKey":"origin_page_url","typeLabel":"string"},"origin_page_title":{"type":"string","description":"Title of the page the conversation was started from.","example":"Pricing","uniqueKey":"origin_page_title","typeLabel":"string"}},"required":["visitor_attributes","messages_attributes"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"visitor_attributes":{"email":"sam@example.com","name":"Sam Brown","phone_number":"+14155550123","user_identifier":"customer-1042","traits":{"plan":"Pro"}},"messages_attributes":[{"body":"Hi, I need help with a refund.","created_at":"2025-03-01T10:00:00Z","external_id":"intercom-part-88231","sender_email":"agent@example.com"}],"created_at":"2025-03-01T10:00:00Z","closed_at":"2025-03-01T11:30:00Z","external_id":"intercom-215472","title":"Refund for order #1042","status":"open","priority":"high","assignee_email":"oliver@example.com","group_name":"Billing","tags":["refund","priority-customer"],"ticket_fields":{"Order number":"1042"},"origin_page_url":"https://example.com/pricing","origin_page_title":"Pricing"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3759d8e2-72c4-419c-b02d-bebfa6952301":{"description":"OK - A conversation with this `external_id` already exists, and it is returned unchanged","content":{"application/json":{"schema":{"type":"object","properties":{"conversation":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"de414e85-a1b5-4240-a465-7b32606980ce","uniqueKey":"conversation.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Name of the conversation's status. The default statuses are `new`, `open`, `waiting_on_customer`, `on_hold`, `closed`, `spam` and `trash`, and your workspace may also have custom statuses.","example":"open","uniqueKey":"conversation.status","typeLabel":"string"},"title":{"oneOf":[{"type":"string","example":"Refund for order #1042","uniqueKey":"conversation.title.oneOf.0","typeLabel":"string"},{"type":"null","example":"Refund for order #1042","uniqueKey":"conversation.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.title","typeLabel":"string | null"},"priority":{"type":"string","enum":["low","medium","high","urgent"],"example":"low","uniqueKey":"conversation.priority","typeLabel":"enum\u003cstring>"},"channel_name":{"type":"string","description":"Unique identifier of the conversation's chat channel.","example":"b945fd3cd2573017052901d6dbd0832f","uniqueKey":"conversation.channel_name","typeLabel":"string"},"origin_page_url":{"oneOf":[{"type":"string","description":"URL of the page the conversation was started from.","example":"https://example.com/pricing","uniqueKey":"conversation.origin_page_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL of the page the conversation was started from.","example":"https://example.com/pricing","uniqueKey":"conversation.origin_page_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.origin_page_url","typeLabel":"string | null"},"origin_page_title":{"oneOf":[{"type":"string","description":"Title of the page the conversation was started from.","example":"Pricing","uniqueKey":"conversation.origin_page_title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the page the conversation was started from.","example":"Pricing","uniqueKey":"conversation.origin_page_title.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.origin_page_title","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","description":"Your own id for the conversation, as sent when it was created.","example":null,"uniqueKey":"conversation.external_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own id for the conversation, as sent when it was created.","example":null,"uniqueKey":"conversation.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.external_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","example":"2026-09-23T18:07:53.661Z","uniqueKey":"conversation.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Time the conversation was last changed. A new message or note in the conversation also updates it.","example":"2026-10-05T16:26:58.143Z","uniqueKey":"conversation.updated_at","typeLabel":"string\u003cdate-time>"},"agent":{"type":"object","description":"Team member assigned to the conversation. All fields are `null` when the conversation is unassigned.","properties":{"id":{"oneOf":[{"type":"string","format":"uuid","example":"05665eee-4602-4317-8f7f-767b04274e5f","uniqueKey":"conversation.agent.id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","example":"05665eee-4602-4317-8f7f-767b04274e5f","uniqueKey":"conversation.agent.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.agent.id","typeLabel":"string\u003cuuid> | null"},"name":{"oneOf":[{"type":"string","example":"Oliver Smith","uniqueKey":"conversation.agent.name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Oliver Smith","uniqueKey":"conversation.agent.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.agent.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","example":"oliver@example.com","uniqueKey":"conversation.agent.email.oneOf.0","typeLabel":"string"},{"type":"null","example":"oliver@example.com","uniqueKey":"conversation.agent.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.agent.email","typeLabel":"string | null"}},"uniqueKey":"conversation.agent","typeLabel":"object"},"group":{"type":"object","description":"Group assigned to the conversation. All fields are `null` when no group is assigned.","properties":{"id":{"oneOf":[{"type":"string","format":"uuid","example":null,"uniqueKey":"conversation.group.id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","example":null,"uniqueKey":"conversation.group.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.group.id","typeLabel":"string\u003cuuid> | null"},"name":{"oneOf":[{"type":"string","example":null,"uniqueKey":"conversation.group.name.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"conversation.group.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.group.name","typeLabel":"string | null"}},"uniqueKey":"conversation.group","typeLabel":"object"},"visitor":{"type":"object","description":"Contact who started the conversation.","properties":{"id":{"type":"string","format":"uuid","example":"2c79a334-0bc8-44e4-9504-331f59d400ab","uniqueKey":"conversation.visitor.id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"type":"string","example":"Sam Brown","uniqueKey":"conversation.visitor.name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Sam Brown","uniqueKey":"conversation.visitor.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","example":"sam@example.com","uniqueKey":"conversation.visitor.email.oneOf.0","typeLabel":"string"},{"type":"null","example":"sam@example.com","uniqueKey":"conversation.visitor.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.email","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","example":null,"uniqueKey":"conversation.visitor.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"conversation.visitor.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.phone_number","typeLabel":"string | null"},"user_identifier":{"oneOf":[{"type":"string","example":null,"uniqueKey":"conversation.visitor.user_identifier.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"conversation.visitor.user_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.user_identifier","typeLabel":"string | null"}},"uniqueKey":"conversation.visitor","typeLabel":"object"}},"uniqueKey":"conversation","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"conversation":{"id":"de414e85-a1b5-4240-a465-7b32606980ce","status":"open","title":"Refund for order #1042","priority":"low","channel_name":"b945fd3cd2573017052901d6dbd0832f","origin_page_url":"https://example.com/pricing","origin_page_title":"Pricing","external_id":null,"created_at":"2026-09-23T18:07:53.661Z","updated_at":"2026-10-05T16:26:58.143Z","agent":{"id":"05665eee-4602-4317-8f7f-767b04274e5f","name":"Oliver Smith","email":"oliver@example.com"},"group":{"id":null,"name":null},"visitor":{"id":"2c79a334-0bc8-44e4-9504-331f59d400ab","name":"Sam Brown","email":"sam@example.com","phone_number":null,"user_identifier":null}}}}},"exampleType":"generated"}},"exampleType":"generated"},"42d63f73-8b65-4d32-9c34-b0d931b26561":{"description":"Created - Conversation created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"conversation":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"de414e85-a1b5-4240-a465-7b32606980ce","uniqueKey":"conversation.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Name of the conversation's status. The default statuses are `new`, `open`, `waiting_on_customer`, `on_hold`, `closed`, `spam` and `trash`, and your workspace may also have custom statuses.","example":"open","uniqueKey":"conversation.status","typeLabel":"string"},"title":{"oneOf":[{"type":"string","example":"Refund for order #1042","uniqueKey":"conversation.title.oneOf.0","typeLabel":"string"},{"type":"null","example":"Refund for order #1042","uniqueKey":"conversation.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.title","typeLabel":"string | null"},"priority":{"type":"string","enum":["low","medium","high","urgent"],"example":"low","uniqueKey":"conversation.priority","typeLabel":"enum\u003cstring>"},"channel_name":{"type":"string","description":"Unique identifier of the conversation's chat channel.","example":"b945fd3cd2573017052901d6dbd0832f","uniqueKey":"conversation.channel_name","typeLabel":"string"},"origin_page_url":{"oneOf":[{"type":"string","description":"URL of the page the conversation was started from.","example":"https://example.com/pricing","uniqueKey":"conversation.origin_page_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL of the page the conversation was started from.","example":"https://example.com/pricing","uniqueKey":"conversation.origin_page_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.origin_page_url","typeLabel":"string | null"},"origin_page_title":{"oneOf":[{"type":"string","description":"Title of the page the conversation was started from.","example":"Pricing","uniqueKey":"conversation.origin_page_title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the page the conversation was started from.","example":"Pricing","uniqueKey":"conversation.origin_page_title.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.origin_page_title","typeLabel":"string | null"},"external_id":{"oneOf":[{"type":"string","description":"Your own id for the conversation, as sent when it was created.","example":null,"uniqueKey":"conversation.external_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own id for the conversation, as sent when it was created.","example":null,"uniqueKey":"conversation.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.external_id","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","example":"2026-09-23T18:07:53.661Z","uniqueKey":"conversation.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"Time the conversation was last changed. A new message or note in the conversation also updates it.","example":"2026-10-05T16:26:58.143Z","uniqueKey":"conversation.updated_at","typeLabel":"string\u003cdate-time>"},"agent":{"type":"object","description":"Team member assigned to the conversation. All fields are `null` when the conversation is unassigned.","properties":{"id":{"oneOf":[{"type":"string","format":"uuid","example":"05665eee-4602-4317-8f7f-767b04274e5f","uniqueKey":"conversation.agent.id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","example":"05665eee-4602-4317-8f7f-767b04274e5f","uniqueKey":"conversation.agent.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.agent.id","typeLabel":"string\u003cuuid> | null"},"name":{"oneOf":[{"type":"string","example":"Oliver Smith","uniqueKey":"conversation.agent.name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Oliver Smith","uniqueKey":"conversation.agent.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.agent.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","example":"oliver@example.com","uniqueKey":"conversation.agent.email.oneOf.0","typeLabel":"string"},{"type":"null","example":"oliver@example.com","uniqueKey":"conversation.agent.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.agent.email","typeLabel":"string | null"}},"uniqueKey":"conversation.agent","typeLabel":"object"},"group":{"type":"object","description":"Group assigned to the conversation. All fields are `null` when no group is assigned.","properties":{"id":{"oneOf":[{"type":"string","format":"uuid","example":null,"uniqueKey":"conversation.group.id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","example":null,"uniqueKey":"conversation.group.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.group.id","typeLabel":"string\u003cuuid> | null"},"name":{"oneOf":[{"type":"string","example":null,"uniqueKey":"conversation.group.name.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"conversation.group.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.group.name","typeLabel":"string | null"}},"uniqueKey":"conversation.group","typeLabel":"object"},"visitor":{"type":"object","description":"Contact who started the conversation.","properties":{"id":{"type":"string","format":"uuid","example":"2c79a334-0bc8-44e4-9504-331f59d400ab","uniqueKey":"conversation.visitor.id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"type":"string","example":"Sam Brown","uniqueKey":"conversation.visitor.name.oneOf.0","typeLabel":"string"},{"type":"null","example":"Sam Brown","uniqueKey":"conversation.visitor.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","example":"sam@example.com","uniqueKey":"conversation.visitor.email.oneOf.0","typeLabel":"string"},{"type":"null","example":"sam@example.com","uniqueKey":"conversation.visitor.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.email","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","example":null,"uniqueKey":"conversation.visitor.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"conversation.visitor.phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.phone_number","typeLabel":"string | null"},"user_identifier":{"oneOf":[{"type":"string","example":null,"uniqueKey":"conversation.visitor.user_identifier.oneOf.0","typeLabel":"string"},{"type":"null","example":null,"uniqueKey":"conversation.visitor.user_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation.visitor.user_identifier","typeLabel":"string | null"}},"uniqueKey":"conversation.visitor","typeLabel":"object"}},"uniqueKey":"conversation","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"conversation":{"id":"de414e85-a1b5-4240-a465-7b32606980ce","status":"open","title":"Refund for order #1042","priority":"low","channel_name":"b945fd3cd2573017052901d6dbd0832f","origin_page_url":"https://example.com/pricing","origin_page_title":"Pricing","external_id":null,"created_at":"2026-09-23T18:07:53.661Z","updated_at":"2026-10-05T16:26:58.143Z","agent":{"id":"05665eee-4602-4317-8f7f-767b04274e5f","name":"Oliver Smith","email":"oliver@example.com"},"group":{"id":null,"name":null},"visitor":{"id":"2c79a334-0bc8-44e4-9504-331f59d400ab","name":"Sam Brown","email":"sam@example.com","phone_number":null,"user_identifier":null}}}}},"exampleType":"generated"}},"exampleType":"generated"},"34c837f2-bf20-4e97-b531-4f4a5a2a9db2":{"description":"Unprocessable Entity - The request body is invalid","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"The request could not be processed.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_message":{"title":"missing_message","summary":"No message","value":{"error":"A conversation must include at least one message."}},"invalid_timestamp":{"title":"invalid_timestamp","summary":"Unparseable timestamp","value":{"error":"Invalid created_at. It must be an ISO 8601 timestamp."}},"message_before_conversation":{"title":"message_before_conversation","summary":"Message dated before the conversation","value":{"error":"A message's created_at can't be earlier than its conversation's created_at."}},"duplicate_message_external_id":{"title":"duplicate_message_external_id","summary":"Message external_id already used","value":{"error":"Message external_id must be unique: intercom-part-88231."}},"unknown_message_sender":{"title":"unknown_message_sender","summary":"Message sender is neither the contact nor a team member","value":{"error":"sender_email in messages_attributes must be the contact's email or a team member's email: agnet@example.com."}},"agent_reply_requires_created_at":{"title":"agent_reply_requires_created_at","summary":"Agent reply sent without created_at","value":{"error":"Agent replies in messages_attributes can only be sent along with created_at."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"c57d93a9-f2d2-4619-a59d-e15b1946ecb7":{"description":"NeetoChat APIs","url":"https://{your-subdomain}.neetochat.com/api/external/v2","variables":{"your-subdomain":{"default":"spinkart","description":"Replace **spinkart** with your [workspace's subdomain](/getting-started/workspace-subdomain)."}}}}},"originalFileLocation":"bundled/conversations.yaml"},"subdomain":"neeto-0280aa2a","siteName":"NeetoChat Docs","title":"Create conversation - NeetoChat Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T14:34:32.776Z","originalFileLocation":"api-reference/conversations/add.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Start a conversation on behalf of a contact. The contact is matched by user_identifier, then by email, and a new contact is created when neither matches.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NeetoChat Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create conversation - NeetoChat Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Start a conversation on behalf of a contact. The contact is matched by user_identifier, then by email, and a new contact is created when neither matches.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NeetoChat Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.neetochat.com/api-reference/conversations/add\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neeto-0280aa2a.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Create+conversation\u0026amp;description=Start+a+conversation+on+behalf+of+a+contact.%0A%0AThe+contact+is+matched+by+%60user_identifier%60%2C+then+by+%60email%60%2C+and+a+new+contact+is+created+when+neither+matches.%0A\u0026amp;theme=9d6a22ca355666bd276d57f8\u0026amp;signature=0cee8112317c5b18d17b5ed84277b384ac835fae890b4e035f43d23b919acf08\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create conversation - NeetoChat Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Start a conversation on behalf of a contact. The contact is matched by user_identifier, then by email, and a new contact is created when neither matches.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neeto-0280aa2a.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Create+conversation\u0026amp;description=Start+a+conversation+on+behalf+of+a+contact.%0A%0AThe+contact+is+matched+by+%60user_identifier%60%2C+then+by+%60email%60%2C+and+a+new+contact+is+created+when+neither+matches.%0A\u0026amp;theme=9d6a22ca355666bd276d57f8\u0026amp;signature=0cee8112317c5b18d17b5ed84277b384ac835fae890b4e035f43d23b919acf08\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/neeto-0280aa2a/Ckzpfldy_co5D1-B/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NeetoChat Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.neetochat.com/api-reference/conversations/add\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/conversations/add.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.neetochat.com/#organization\",\"name\":\"NeetoChat Docs\",\"url\":\"https://apidocs.neetochat.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neeto-0280aa2a/jlSLnlpp0djgsgKN/assets/logo.svg?fit=max\u0026auto=format\u0026n=jlSLnlpp0djgsgKN\u0026q=85\u0026s=774e336522eb975886c0b3cbf7975b3d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.neetochat.com#website\",\"name\":\"NeetoChat Docs\",\"url\":\"https://apidocs.neetochat.com\",\"publisher\":{\"@id\":\"https://apidocs.neetochat.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.neetochat.com/api-reference/conversations/add#webpage\",\"url\":\"https://apidocs.neetochat.com/api-reference/conversations/add\",\"name\":\"Create conversation\",\"description\":\"Start a conversation on behalf of a contact. The contact is matched by user_identifier, then by email, and a new contact is created when neither matches.\",\"dateModified\":\"2026-10-08T14:34:32.776Z\",\"isPartOf\":{\"@id\":\"https://apidocs.neetochat.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.neetochat.com/api-reference/conversations/add#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.neetochat.com/api-reference/conversations/add#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Conversations\",\"item\":\"https://apidocs.neetochat.com/api-reference/conversations/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create conversation\",\"item\":\"https://apidocs.neetochat.com/api-reference/conversations/add\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.neetochat.com/api-reference/conversations/add#apireference\",\"headline\":\"Create conversation\",\"name\":\"Create conversation\",\"description\":\"Start a conversation on behalf of a contact. The contact is matched by user_identifier, then by email, and a new contact is created when neither matches.\",\"url\":\"https://apidocs.neetochat.com/api-reference/conversations/add\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.neetochat.com/api-reference/conversations/add#webpage\"},\"dateModified\":\"2026-10-08T14:34:32.776Z\",\"publisher\":{\"@id\":\"https://apidocs.neetochat.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.neetochat.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NeetoChat Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NeetoChat Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/conversations/add.md","siteName":"NeetoChat Docs","nav":{"global":null,"tabs":[{"tab":"API Reference","icon":"code","groups":[{"group":"Getting Started","icon":"rocket","pages":[{"title":"Introduction","href":"/getting-started/introduction"},{"title":"Workspace subdomain","href":"/getting-started/workspace-subdomain"},{"title":"Authentication","href":"/getting-started/authentication"},{"title":"Pagination","href":"/getting-started/pagination"},{"title":"HTTP response codes","href":"/getting-started/response-codes"}]},{"group":"Conversations","icon":"comments","pages":[{"title":"List conversations","openapi":"bundled/conversations.yaml GET /conversations","description":"List conversations in the workspace.\n\nTo find conversations with new activity, pass the `updated_at` of the most recent conversation you have already processed as `updated_after` and sort by `updated_at` in ascending order. A new message or note in a conversation also updates its `updated_at`.\n","href":"/api-reference/conversations/list"},{"title":"Create conversation","openapi":"bundled/conversations.yaml POST /conversations","href":"/api-reference/conversations/add"},{"title":"Get conversation details","openapi":"bundled/conversations.yaml GET /conversations/{conversation_id}","description":"Retrieves details of a specific conversation.","href":"/api-reference/conversations/get"},{"title":"Update conversation","openapi":"bundled/conversations.yaml PATCH /conversations/{conversation_id}","href":"/api-reference/conversations/update"}]},{"group":"Messages","icon":"message","pages":[{"title":"List messages","openapi":"bundled/conversations.yaml GET /conversations/{conversation_id}/messages","href":"/api-reference/messages/list"},{"title":"Send message","openapi":"bundled/conversations.yaml POST /conversations/{conversation_id}/messages","href":"/api-reference/messages/add"},{"title":"Get message details","openapi":"bundled/conversations.yaml GET /conversations/{conversation_id}/messages/{message_id}","href":"/api-reference/messages/get"}]},{"group":"Contacts","icon":"address-book","pages":[{"title":"List contacts","openapi":"bundled/contacts.yaml GET /visitors","href":"/api-reference/contacts/list"},{"title":"Create contact","openapi":"bundled/contacts.yaml POST /visitors","href":"/api-reference/contacts/add"},{"title":"Get contact details","openapi":"bundled/contacts.yaml GET /visitors/{contact_id}","href":"/api-reference/contacts/get"}]},{"group":"Reports","icon":"chart-line","pages":[{"title":"Get conversations report","openapi":"bundled/reports.yaml GET /reports/conversations","href":"/api-reference/reports/get-conversations"},{"title":"Get customer satisfaction report","openapi":"bundled/reports.yaml GET /reports/customer_satisfactions","href":"/api-reference/reports/get-customer-satisfaction"},{"title":"Get groups report","openapi":"bundled/reports.yaml GET /reports/groups","href":"/api-reference/reports/get-groups"}]},{"group":"Team Members","icon":"user-group","pages":[{"title":"List team members","openapi":"bundled/team-members.yaml GET /team-members","href":"/api-reference/team-members/list"},{"title":"Add team members","openapi":"bundled/team-members.yaml POST /team-members","href":"/api-reference/team-members/add"},{"title":"Get team member details","openapi":"bundled/team-members.yaml GET /team-members/{team_member_id}","href":"/api-reference/team-members/get"},{"title":"Update team member","openapi":"bundled/team-members.yaml PATCH /team-members/{team_member_id}","href":"/api-reference/team-members/update"},{"title":"Remove team member","openapi":"bundled/team-members.yaml DELETE /team-members/{team_member_id}","href":"/api-reference/team-members/remove"}]}]},{"tab":"CLI","icon":"rectangle-terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]}]},"basePath":"","title":"Create conversation - NeetoChat Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}