Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.
Answers to the closure forms that apply to the ticket's category, keyed by closure field UUID. Required fields must be answered when the stage resolves or closes the ticket; answers already stored are kept until the ticket is reopened.
Order number to link instead of event_id. Masivo looks for an order with this purchase_id issued in the last 30 days (narrowed by customer_id when sent) and fails when none or more than one order matches.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Masivo","colors":{"primary":"#9333ea","light":"#c084fc","dark":"#9333ea"},"logo":{"light":"https://mintcdn.com/trd/7W_vRQTxJHIpxqe2/logo/light.svg?fit=max\u0026auto=format\u0026n=7W_vRQTxJHIpxqe2\u0026q=85\u0026s=d6c63ec91328f53e2881c4b8c6463002","dark":"https://mintcdn.com/trd/7W_vRQTxJHIpxqe2/logo/dark.svg?fit=max\u0026auto=format\u0026n=7W_vRQTxJHIpxqe2\u0026q=85\u0026s=4f3a37e246a4bdd211beae4f51571bea","href":"/"},"favicon":"https://mintcdn.com/trd/7W_vRQTxJHIpxqe2/favicon.svg?fit=max\u0026auto=format\u0026n=7W_vRQTxJHIpxqe2\u0026q=85\u0026s=d626565ed6bd780993b9f7d91f7ab1be","navbar":{"links":[{"href":"mailto:soporte@trade.ec?subject=Masivo Support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.masivo.ai"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://www.linkedin.com/company/mintsearch"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Roadmap","icon":"map","href":"https://docs.masivo.ai/roadmap"},{"anchor":"Changelog","icon":"rocket","href":"https://docs.masivo.ai/changelog"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/2DgqGUej"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trd","hasAudioNarration":false,"actualSubdomain":"trd","customDomains":["docs.masivo.ai"],"gitSource":{"type":"github","owner":"trade-ec","repo":"masivo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af483925a4bd65627213d81","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":99},{"language":"default","tag":"Documentation","count":91},{"language":"default","tag":"Endpoints","count":78},{"language":"default","tag":"Guides","count":75},{"language":"default","tag":"Get Started","count":24},{"language":"default","tag":"Concepts","count":21},{"language":"default","tag":"Marketing Automation","count":19},{"language":"default","tag":"Campaigns","count":17},{"language":"default","tag":"Customers","count":17},{"language":"default","tag":"CDP","count":17}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/tickets/post","slug":"/api-reference/tickets/post","pageMetadata":{"title":"Create ticket","openapi":"POST /tickets","description":"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.","href":"/api-reference/tickets/post"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create ticket","openapi":"POST /tickets","description":"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.","href":"/api-reference/tickets/post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.","parameters":["fef8ac40-3506-4cd4-a018-5a5aec1303d5"],"requestBody":"204464eb-d988-4ac3-b135-dbcc0219d3e0","responses":{"201":"b283025d-c5cf-40e3-a599-9f3915120341","400":"edb700a2-26c0-49e6-9fd1-267228334adb","422":"4c55ab4c-2853-47b7-8fd8-2202ca0ddbd1"},"method":"post","type":"path","servers":["f65ae74b-a235-487b-b115-42b5e5b1d6d2"],"security":["54f7c9a7-3403-4f33-9ae0-83f447c60214"],"path":"/tickets","baseUrlOptions":["https://app.masivo.ai/api/storefront/v1"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fef8ac40-3506-4cd4-a018-5a5aec1303d5":{"in":"header","name":"x-account-id","description":"The account that owns the ticket","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The account that owns the ticket","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"title","typeLabel":"string"},"description":{"type":"string","maxLength":5000,"uniqueKey":"description","typeLabel":"string"},"pipeline_id":{"type":"string","format":"uuid","description":"Ticket pipeline id returned by GET /ticket-pipelines.","uniqueKey":"pipeline_id","typeLabel":"string\u003cuuid>"},"stage_code":{"type":"string","description":"Internal stage code within pipeline_id.","uniqueKey":"stage_code","typeLabel":"string"},"priority":{"type":"string","enum":["low","medium","high","urgent"],"default":"medium","uniqueKey":"priority","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["open","resolved","closed"],"default":"open","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"source_type":{"type":"string","enum":["manual","review","journey","system"],"default":"manual","uniqueKey":"source_type","typeLabel":"enum\u003cstring>"},"review_id":{"type":"string","format":"uuid","description":"Review id to associate and deduplicate against an active review ticket.","uniqueKey":"review_id","typeLabel":"string\u003cuuid>"},"customer_id":{"type":"string","description":"External customer id to associate with the ticket when there is no review.","uniqueKey":"customer_id","typeLabel":"string"},"actor_user_id":{"type":"string","format":"uuid","description":"Agent/profile id that should be recorded as the creator. If omitted, the first account member is used.","uniqueKey":"actor_user_id","typeLabel":"string\u003cuuid>"},"assignee_user_ids":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"assignee_user_ids.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Account member ids to assign to the ticket on creation.","uniqueKey":"assignee_user_ids","typeLabel":"string\u003cuuid>[]"},"auto_assign":{"type":"boolean","default":true,"description":"Routes an unassigned open ticket to an available agent. Set false to keep it out of automatic routing and later queue sweeps.","uniqueKey":"auto_assign","typeLabel":"boolean"},"idempotency_key":{"type":"string","maxLength":200,"uniqueKey":"idempotency_key","typeLabel":"string"},"required_fields":{"type":"object","description":"Values required when the initial status maps to a stage with required fields.","additionalProperties":{"type":"string","uniqueKey":"required_fields.additionalProperties","typeLabel":"string"},"uniqueKey":"required_fields","typeLabel":"object"},"closure_answers":{"type":"object","description":"Answers to the closure forms that apply to the ticket's category, keyed by closure field UUID. Required fields must be answered when the stage resolves or closes the ticket; answers already stored are kept until the ticket is reopened.","additionalProperties":{"type":"string","maxLength":5000,"uniqueKey":"closure_answers.additionalProperties","typeLabel":"string"},"example":{"9c0a6c1e-7a4b-4f61-9d2b-5d2f0f4a1b77":"Refund"},"uniqueKey":"closure_answers","typeLabel":"object"},"event_id":{"type":"string","format":"uuid","description":"Purchase event (order) to link to the ticket. The event must belong to the account and contain an order.","uniqueKey":"event_id","typeLabel":"string\u003cuuid>"},"purchase_id":{"type":"string","maxLength":200,"description":"Order number to link instead of event_id. Masivo looks for an order with this purchase_id issued in the last 30 days (narrowed by customer_id when sent) and fails when none or more than one order matches.","uniqueKey":"purchase_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","description":"\u003cstring>","pipeline_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","stage_code":"\u003cstring>","priority":"medium","status":"open","source_type":"manual","review_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","customer_id":"\u003cstring>","actor_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","assignee_user_ids":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"auto_assign":true,"idempotency_key":"\u003cstring>","required_fields":{},"closure_answers":{"9c0a6c1e-7a4b-4f61-9d2b-5d2f0f4a1b77":"Refund"},"event_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","purchase_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b283025d-c5cf-40e3-a599-9f3915120341":{"description":"Ticket created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"account_id":{"type":"string","format":"uuid","uniqueKey":"data.account_id","typeLabel":"string\u003cuuid>"},"pipeline_id":{"type":"string","format":"uuid","uniqueKey":"data.pipeline_id","typeLabel":"string\u003cuuid>"},"stage_code":{"type":"string","example":"new","uniqueKey":"data.stage_code","typeLabel":"string"},"status":{"type":"string","enum":["open","resolved","closed"],"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"priority":{"type":"string","enum":["low","medium","high","urgent"],"uniqueKey":"data.priority","typeLabel":"enum\u003cstring>"},"title":{"type":"string","uniqueKey":"data.title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"source_type":{"type":"string","enum":["manual","review","journey","system"],"uniqueKey":"data.source_type","typeLabel":"enum\u003cstring>"},"created_by_user_id":{"type":"string","format":"uuid","uniqueKey":"data.created_by_user_id","typeLabel":"string\u003cuuid>"},"assignees":{"type":"array","description":"Current assignee snapshots synced from the ticket_assignees table.","items":{"type":"object","description":"Active assignee snapshot stored on the ticket.","properties":{"user_id":{"type":"string","format":"uuid","uniqueKey":"data.assignees.items.[INDEX].user_id","typeLabel":"string\u003cuuid>"},"role":{"type":"string","enum":["assignee","watcher"],"uniqueKey":"data.assignees.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"assigned_at":{"type":"string","format":"date-time","uniqueKey":"data.assignees.items.[INDEX].assigned_at","typeLabel":"string\u003cdate-time>"},"assigned_by_user_id":{"type":"string","format":"uuid","uniqueKey":"data.assignees.items.[INDEX].assigned_by_user_id","typeLabel":"string\u003cuuid>"}},"uniqueKey":"data.assignees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.assignees","typeLabel":"object[]"},"communication_summary":{"type":"object","properties":{"thread_count":{"type":"number","uniqueKey":"data.communication_summary.thread_count","typeLabel":"number"},"latest_thread_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.communication_summary.latest_thread_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.communication_summary.latest_thread_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.communication_summary.latest_thread_id","typeLabel":"string\u003cuuid> | null"},"latest_message_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.communication_summary.latest_message_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.communication_summary.latest_message_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.communication_summary.latest_message_id","typeLabel":"string\u003cuuid> | null"},"latest_message_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.communication_summary.latest_message_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.communication_summary.latest_message_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.communication_summary.latest_message_at","typeLabel":"string\u003cdate-time> | null"},"latest_message_preview":{"oneOf":[{"type":"string","uniqueKey":"data.communication_summary.latest_message_preview.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.communication_summary.latest_message_preview.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.communication_summary.latest_message_preview","typeLabel":"string | null"},"channel":{"type":"string","enum":["email","whatsapp","chat","review","system","other"],"uniqueKey":"data.communication_summary.channel","typeLabel":"enum\u003cstring>"},"channel_account_id":{"oneOf":[{"type":"string","uniqueKey":"data.communication_summary.channel_account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.communication_summary.channel_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.communication_summary.channel_account_id","typeLabel":"string | null"},"external_thread_id":{"oneOf":[{"type":"string","uniqueKey":"data.communication_summary.external_thread_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.communication_summary.external_thread_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.communication_summary.external_thread_id","typeLabel":"string | null"},"direction":{"type":"string","enum":["inbound","outbound","internal","system"],"uniqueKey":"data.communication_summary.direction","typeLabel":"enum\u003cstring>"},"unread_count":{"type":"number","uniqueKey":"data.communication_summary.unread_count","typeLabel":"number"},"status":{"oneOf":[{"type":"string","enum":["open","closed"],"uniqueKey":"data.communication_summary.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["open","closed"],"uniqueKey":"data.communication_summary.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.communication_summary.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.communication_summary","typeLabel":"object"},"review_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.review_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.review_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.review_id","typeLabel":"string\u003cuuid> | null"},"brand_id":{"oneOf":[{"type":"string","uniqueKey":"data.brand_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.brand_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.brand_id","typeLabel":"string | null"},"channel_id":{"oneOf":[{"type":"string","uniqueKey":"data.channel_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.channel_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.channel_id","typeLabel":"string | null"},"store_id":{"oneOf":[{"type":"string","uniqueKey":"data.store_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.store_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.store_id","typeLabel":"string | null"},"category_id":{"oneOf":[{"type":"string","format":"uuid","description":"Selected leaf ticket category.","uniqueKey":"data.category_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Selected leaf ticket category.","uniqueKey":"data.category_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.category_id","typeLabel":"string\u003cuuid> | null"},"category_answers":{"type":"object","description":"Dynamic category field values keyed by field UUID.","additionalProperties":{"type":"string","uniqueKey":"data.category_answers.additionalProperties","typeLabel":"string"},"uniqueKey":"data.category_answers","typeLabel":"object"},"closure_answers":{"type":"object","description":"Closure form answers keyed by closure field UUID.","additionalProperties":{"type":"string","uniqueKey":"data.closure_answers.additionalProperties","typeLabel":"string"},"uniqueKey":"data.closure_answers","typeLabel":"object"},"resolved_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.resolved_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.resolved_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.resolved_at","typeLabel":"string\u003cdate-time> | null"},"closed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.closed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.closed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.closed_at","typeLabel":"string\u003cdate-time> | null"},"reopened_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.reopened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.reopened_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.reopened_at","typeLabel":"string\u003cdate-time> | null"},"first_resolved_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.first_resolved_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.first_resolved_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.first_resolved_at","typeLabel":"string\u003cdate-time> | null"},"resolution_count":{"type":"number","uniqueKey":"data.resolution_count","typeLabel":"number"},"resolution_summary":{"oneOf":[{"type":"string","uniqueKey":"data.resolution_summary.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.resolution_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.resolution_summary","typeLabel":"string | null"},"closure_reason":{"oneOf":[{"type":"string","uniqueKey":"data.closure_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.closure_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.closure_reason","typeLabel":"string | null"},"associations":{"type":"array","items":{"type":"object","properties":{"associated_type":{"type":"string","enum":["review","customer","journey","campaign","event"],"uniqueKey":"data.associations.items.[INDEX].associated_type","typeLabel":"enum\u003cstring>"},"associated_id":{"type":"string","uniqueKey":"data.associations.items.[INDEX].associated_id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.associations.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.associations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.associations","typeLabel":"object[]"},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"data.comments.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"author_user_id":{"type":"string","format":"uuid","uniqueKey":"data.comments.items.[INDEX].author_user_id","typeLabel":"string\u003cuuid>"},"body":{"type":"string","uniqueKey":"data.comments.items.[INDEX].body","typeLabel":"string"},"is_internal":{"type":"boolean","uniqueKey":"data.comments.items.[INDEX].is_internal","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.comments.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.comments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.comments","typeLabel":"object[]"},"stage_history":{"type":"array","items":{"type":"object","properties":{"from_pipeline_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.stage_history.items.[INDEX].from_pipeline_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.stage_history.items.[INDEX].from_pipeline_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.stage_history.items.[INDEX].from_pipeline_id","typeLabel":"string\u003cuuid> | null"},"to_pipeline_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.stage_history.items.[INDEX].to_pipeline_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.stage_history.items.[INDEX].to_pipeline_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.stage_history.items.[INDEX].to_pipeline_id","typeLabel":"string\u003cuuid> | null"},"from_stage_code":{"oneOf":[{"type":"string","uniqueKey":"data.stage_history.items.[INDEX].from_stage_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.stage_history.items.[INDEX].from_stage_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.stage_history.items.[INDEX].from_stage_code","typeLabel":"string | null"},"to_stage_code":{"type":"string","uniqueKey":"data.stage_history.items.[INDEX].to_stage_code","typeLabel":"string"},"changed_by_user_id":{"type":"string","format":"uuid","uniqueKey":"data.stage_history.items.[INDEX].changed_by_user_id","typeLabel":"string\u003cuuid>"},"changed_at":{"type":"string","format":"date-time","uniqueKey":"data.stage_history.items.[INDEX].changed_at","typeLabel":"string\u003cdate-time>"},"duration_seconds":{"oneOf":[{"type":"number","uniqueKey":"data.stage_history.items.[INDEX].duration_seconds.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.stage_history.items.[INDEX].duration_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.stage_history.items.[INDEX].duration_seconds","typeLabel":"number | null"}},"uniqueKey":"data.stage_history.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.stage_history","typeLabel":"object[]"},"dedupe_fingerprint":{"oneOf":[{"type":"string","uniqueKey":"data.dedupe_fingerprint.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.dedupe_fingerprint.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.dedupe_fingerprint","typeLabel":"string | null"},"idempotency_key":{"oneOf":[{"type":"string","uniqueKey":"data.idempotency_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.idempotency_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.idempotency_key","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"deleted_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.deleted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.deleted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.deleted_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","account_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","pipeline_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","stage_code":"new","status":"open","priority":"low","title":"\u003cstring>","description":"\u003cstring>","source_type":"manual","created_by_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","assignees":[{"user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","role":"assignee","assigned_at":"2023-11-07T05:31:56Z","assigned_by_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"communication_summary":{"thread_count":123,"latest_thread_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","latest_message_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","latest_message_at":"2023-11-07T05:31:56Z","latest_message_preview":"\u003cstring>","channel":"email","channel_account_id":"\u003cstring>","external_thread_id":"\u003cstring>","direction":"inbound","unread_count":123,"status":"open"},"review_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","brand_id":"\u003cstring>","channel_id":"\u003cstring>","store_id":"\u003cstring>","category_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","category_answers":{},"closure_answers":{},"resolved_at":"2023-11-07T05:31:56Z","closed_at":"2023-11-07T05:31:56Z","reopened_at":"2023-11-07T05:31:56Z","first_resolved_at":"2023-11-07T05:31:56Z","resolution_count":123,"resolution_summary":"\u003cstring>","closure_reason":"\u003cstring>","associations":[{"associated_type":"review","associated_id":"\u003cstring>","created_at":"2023-11-07T05:31:56Z"}],"comments":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","author_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","body":"\u003cstring>","is_internal":true,"created_at":"2023-11-07T05:31:56Z"}],"stage_history":[{"from_pipeline_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","to_pipeline_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","from_stage_code":"\u003cstring>","to_stage_code":"\u003cstring>","changed_by_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","changed_at":"2023-11-07T05:31:56Z","duration_seconds":123}],"dedupe_fingerprint":"\u003cstring>","idempotency_key":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","deleted_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"edb700a2-26c0-49e6-9fd1-267228334adb":{"description":"Ticket creation failed","content":{"application/json":{"schema":{"required":["error","details"],"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"string","isRequired":true,"uniqueKey":"details","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4c55ab4c-2853-47b7-8fd8-2202ca0ddbd1":{"description":"Invalid request body","content":{"application/json":{"schema":{"required":["error","details"],"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"string","isRequired":true,"uniqueKey":"details","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"54f7c9a7-3403-4f33-9ae0-83f447c60214":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"f65ae74b-a235-487b-b115-42b5e5b1d6d2":{"url":"https://app.masivo.ai/api/storefront/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"trd","siteName":"Masivo","title":"Create ticket - Masivo","navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/tickets/post","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-07-02T15:28:30.568Z","originalFileLocation":"api-reference/tickets/post.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Masivo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trd/IG0U6h8DpJ60Xnom/_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/trd/IG0U6h8DpJ60Xnom/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trd/IG0U6h8DpJ60Xnom/_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/trd/IG0U6h8DpJ60Xnom/_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/trd/IG0U6h8DpJ60Xnom/_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/trd/IG0U6h8DpJ60Xnom/_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/trd/IG0U6h8DpJ60Xnom/_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/trd/IG0U6h8DpJ60Xnom/_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/trd/IG0U6h8DpJ60Xnom/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create ticket - Masivo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Masivo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.masivo.ai/api-reference/tickets/post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trd.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Create+ticket\u0026amp;description=Create+a+ticket+manually%2C+from+a+review%2C+or+for+an+external+customer+association.+If+review_id+is+provided+the+ticket+is+created+with+source_type+review+and+ded\u0026amp;theme=602f0d59f50f7e3f7bae3585\u0026amp;signature=9a445bee47f387b569ef191adb641c27a96d21c81bd60c1230579c7c52a90020\">\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 ticket - Masivo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trd.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Create+ticket\u0026amp;description=Create+a+ticket+manually%2C+from+a+review%2C+or+for+an+external+customer+association.+If+review_id+is+provided+the+ticket+is+created+with+source_type+review+and+ded\u0026amp;theme=602f0d59f50f7e3f7bae3585\u0026amp;signature=9a445bee47f387b569ef191adb641c27a96d21c81bd60c1230579c7c52a90020\">\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/trd/IG0U6h8DpJ60Xnom/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Masivo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9333ea\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.masivo.ai/api-reference/tickets/post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tickets/post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.masivo.ai/#organization\",\"name\":\"Masivo\",\"url\":\"https://docs.masivo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trd/7W_vRQTxJHIpxqe2/logo/light.svg?fit=max\u0026auto=format\u0026n=7W_vRQTxJHIpxqe2\u0026q=85\u0026s=d6c63ec91328f53e2881c4b8c6463002\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.masivo.ai#website\",\"name\":\"Masivo\",\"url\":\"https://docs.masivo.ai\",\"publisher\":{\"@id\":\"https://docs.masivo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.masivo.ai/api-reference/tickets/post#webpage\",\"url\":\"https://docs.masivo.ai/api-reference/tickets/post\",\"name\":\"Create ticket\",\"description\":\"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.\",\"dateModified\":\"2026-07-02T15:28:30.568Z\",\"isPartOf\":{\"@id\":\"https://docs.masivo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.masivo.ai/api-reference/tickets/post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.masivo.ai/api-reference/tickets/post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.masivo.ai/api-reference/auth/authorize/get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tickets\",\"item\":\"https://docs.masivo.ai/api-reference/ticket-pipelines/get\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create ticket\",\"item\":\"https://docs.masivo.ai/api-reference/tickets/post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.masivo.ai/api-reference/tickets/post#apireference\",\"headline\":\"Create ticket\",\"name\":\"Create ticket\",\"description\":\"Create a ticket manually, from a review, or for an external customer association. If review_id is provided the ticket is created with source_type review and deduplicated against active review tickets.\",\"url\":\"https://docs.masivo.ai/api-reference/tickets/post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.masivo.ai/api-reference/tickets/post#webpage\"},\"dateModified\":\"2026-07-02T15:28:30.568Z\",\"publisher\":{\"@id\":\"https://docs.masivo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.masivo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Masivo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Masivo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/tickets/post.md","siteName":"Masivo","nav":{"global":{"anchors":[{"anchor":"Roadmap","icon":"map","href":"https://docs.masivo.ai/roadmap"},{"anchor":"Changelog","icon":"rocket","href":"https://docs.masivo.ai/changelog"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/2DgqGUej"}]},"versions":[{"version":"v1","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/overview"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Auth","pages":[{"title":"Authorize","openapi":"GET /auth/authorize","href":"/api-reference/auth/authorize/get"},{"title":"Request TOTP","openapi":"POST /auth/totp","href":"/api-reference/auth/totp/post"},{"title":"Verify TOTP","openapi":"GET /auth/totp/verify","href":"/api-reference/auth/totp/verify/get"}]},{"group":"Brands","pages":[{"title":"Get brands","openapi":"GET /brands","href":"/api-reference/brands/get"}]},{"group":"Platforms","pages":[{"title":"Get platforms","openapi":"GET /platforms","href":"/api-reference/platforms/get"}]},{"group":"Tiers","pages":[{"title":"Get tiers","openapi":"GET /tiers","href":"/api-reference/tiers/get"}]},{"group":"Rewards","pages":[{"title":"Get rewards","openapi":"GET /rewards","href":"/api-reference/rewards/get"},{"title":"Get reward","openapi":"GET /rewards/{id}","href":"/api-reference/rewards/[id]/get"},{"group":"Gift cards","pages":[{"title":"Get customer gift cards","openapi":"GET /customers/{id}/rewards/gift-cards","href":"/api-reference/rewards/gift-cards/get"},{"title":"Redeem gift card","openapi":"Delete /rewards/gift-cards/redeem","href":"/api-reference/rewards/gift-cards/redeem/delete"}]}]},{"group":"Customers","pages":[{"title":"Register customer","openapi":"POST /customers","href":"/api-reference/customers/post"},{"title":"Get customer by document, phone or email","openapi":"GET /customers","href":"/api-reference/customers/get"},{"title":"Get customer","openapi":"GET /customers/{id}","href":"/api-reference/customers/[id]/get"},{"title":"Update customer","openapi":"PATCH /customers/{id}","href":"/api-reference/customers/[id]/patch"},{"title":"Unregister customer","openapi":"DELETE /customers/{id}","href":"/api-reference/customers/[id]/delete"},{"title":"Update customers in bulk","openapi":"PATCH /customers/bulk","href":"/api-reference/customers/bulk/patch"},{"title":"Get customer consent","openapi":"GET /customers/{id}/consent","href":"/api-reference/customers/[id]/consent/get"},{"title":"Update customer consent","openapi":"PATCH /customers/{id}/consent","href":"/api-reference/customers/[id]/consent/patch"},{"title":"Update customer tags","openapi":"PATCH /customers/{id}/tags","href":"/api-reference/customers/[id]/tags/patch"},{"title":"Delete customer tags","openapi":"DELETE /customers/{id}/tags","href":"/api-reference/customers/[id]/tags/delete"},{"title":"Get customer punch-cards","openapi":"GET /customers/{id}/punch-cards","href":"/api-reference/customers/[id]/punch-cards/get"},{"title":"Get customer score streaks","openapi":"GET /customers/{id}/score-streaks","href":"/api-reference/customers/[id]/score-streaks/get"},{"title":"List in-app messages","openapi":"GET /customers/{id}/inapp-messages","href":"/api-reference/customers/[id]/inapp-messages/get"},{"title":"Log in-app message event","openapi":"POST /customers/{id}/inapp-messages/{messageId}/events","href":"/api-reference/customers/[id]/inapp-messages/[messageId]/events/post"},{"title":"Get customer news feed cards","openapi":"GET /customers/{id}/news-feed","href":"/api-reference/customers/[id]/news-feed/get"},{"title":"Log a news feed card event","openapi":"POST /customers/{id}/news-feed/{templateId}/events","href":"/api-reference/customers/[id]/news-feed/[templateId]/events/post"},{"title":"Identify anonymous customers","openapi":"PATCH /customers/{id}/identify/anonymous","href":"/api-reference/customers/[id]/identify/anonymous/patch"}]},{"group":"Contacts","pages":[{"title":"Search contacts","openapi":"GET /contacts","href":"/api-reference/contacts/get"},{"title":"Create contact","openapi":"POST /contacts","href":"/api-reference/contacts/post"},{"title":"Update contact by ID","openapi":"PUT /contacts/{id}","href":"/api-reference/contacts/[id]/put"},{"title":"Delete contact by ID","openapi":"DELETE /contacts/{id}","href":"/api-reference/contacts/[id]/delete"},{"title":"Migrate contacts","openapi":"POST /contacts/migrate","href":"/api-reference/contacts/migrate/post"}]},{"group":"Campaigns","pages":[{"group":"Behavior","pages":[{"title":"Emit event","openapi":"POST /behavior/events","href":"/api-reference/behavior/events/post"},{"title":"Fulfill event","openapi":"PATCH /behavior/events/{eventId}/fulfill","href":"/api-reference/behavior/events/[eventId]/fulfill/patch"},{"title":"Reverse event","openapi":"POST /behavior/events/{eventId}/reverse","href":"/api-reference/behavior/events/[eventId]/reverse/delete"},{"title":"Preview order","openapi":"PUT /events/redeem/preview","href":"/api-reference/events/redeem/preview/put"},{"title":"Identify customer","openapi":"PATCH /events/identify","href":"/api-reference/events/identify/patch"}]},{"group":"Coupons","pages":[{"title":"Redeem coupon","openapi":"POST /coupons/redeem","href":"/api-reference/coupons/redeem/post"},{"title":"Reverse coupon","openapi":"POST /coupons/reverse","href":"/api-reference/coupons/reverse/post"},{"title":"Read coupon wallet pass link","openapi":"GET /coupons/wallet-passes","href":"/api-reference/coupons/wallet-passes/get"},{"title":"Issue coupon wallet pass","openapi":"POST /coupons/wallet-passes","href":"/api-reference/coupons/wallet-passes/post"},{"title":"List customer wallet passes","openapi":"GET /customers/{id}/wallet-passes","href":"/api-reference/customers/[id]/wallet-passes/get"},{"title":"Read wallet campaign link by token","openapi":"GET /wallet-passes/{token}","href":"/api-reference/wallet-passes/[token]/get"},{"title":"Revoke coupon wallet pass","openapi":"POST /wallet-passes/{id}/revoke","href":"/api-reference/wallet-passes/[id]/revoke/post"}]},{"group":"Referrals","pages":[{"title":"Request referral code","openapi":"POST /customers/{id}/referrals/request-code","href":"/api-reference/customers/[id]/referrals/request-code/post"}]},{"title":"Get campaign","openapi":"GET /campaigns/{id}","href":"/api-reference/campaigns/[id]/get"},{"title":"Update campaign","openapi":"PUT /campaigns/{id}","href":"/api-reference/campaigns/[id]/put"},{"title":"Get campaigns","openapi":"GET /campaigns","href":"/api-reference/campaigns/get"},{"title":"Create a new campaign","openapi":"POST /campaigns","href":"/api-reference/campaigns/post"}]},{"group":"Review forms","pages":[{"title":"Get form","openapi":"GET /review-forms/{id}","href":"/api-reference/review-forms/[id]/get"},{"title":"Create review","openapi":"POST /review-forms/{id}/reviews","href":"/api-reference/review-forms/[id]/reviews/post"},{"title":"List reviews","openapi":"GET /reviews","href":"/api-reference/reviews/get"}]},{"group":"Tickets","pages":[{"title":"List ticket pipelines","openapi":"GET /ticket-pipelines","href":"/api-reference/ticket-pipelines/get"},{"title":"List ticket closure forms","openapi":"GET /ticket-closure-forms","description":"List the active closure forms and their fields. Use the field ids as keys of closure_answers when a ticket is resolved or closed.","href":"/api-reference/ticket-closure-forms/get"},{"title":"Create ticket","openapi":"POST /tickets","href":"/api-reference/tickets/post"},{"title":"Get ticket","openapi":"GET /tickets/{id}","description":"Get a ticket by id for the account.","href":"/api-reference/tickets/[id]/get"},{"title":"Update ticket","openapi":"PATCH /tickets/{id}","href":"/api-reference/tickets/[id]/patch"},{"title":"List ticket assignees","openapi":"GET /tickets/{id}/assignees","href":"/api-reference/tickets/[id]/assignees/get"},{"title":"Add ticket assignee","openapi":"POST /tickets/{id}/assignees","href":"/api-reference/tickets/[id]/assignees/post"},{"title":"Remove ticket assignee","openapi":"DELETE /tickets/{id}/assignees","href":"/api-reference/tickets/[id]/assignees/delete"},{"title":"List communication threads","openapi":"GET /communication/threads","href":"/api-reference/communication/threads/get"},{"title":"Create communication thread","openapi":"POST /communication/threads","href":"/api-reference/communication/threads/post"},{"title":"Get communication thread","openapi":"GET /communication/threads/{id}","href":"/api-reference/communication/threads/[id]/get"},{"title":"List communication messages","openapi":"GET /communication/threads/{id}/messages","href":"/api-reference/communication/threads/[id]/messages/get"},{"title":"Create communication message","openapi":"POST /communication/threads/{id}/messages","href":"/api-reference/communication/threads/[id]/messages/post"}]},{"group":"Transactions","pages":[{"title":"Customer transactions","openapi":"GET /customers/{id}/transactions","href":"/api-reference/customers/[id]/transactions/get"},{"title":"Account transactions","openapi":"GET /transactions","href":"/api-reference/transactions/get"}]},{"group":"Push","pages":[{"title":"Customer device token","openapi":"PATCH /customers/{id}/devices","href":"/api-reference/customers/[id]/devices/patch"},{"title":"Customer device token","openapi":"DELETE /customers/{id}/devices","href":"/api-reference/customers/[id]/devices/delete"},{"title":"Send customer push","openapi":"POST /push/customers/{id}/send","href":"/api-reference/push/customers/[id]/send/post"},{"title":"Schedule audience push","openapi":"POST /push/audiences/{id}/schedule","href":"/api-reference/push/audiences/[id]/schedule/post"}]},{"group":"In-app","pages":[{"title":"Get in-app capabilities","openapi":"GET /inapp/capabilities","href":"/api-reference/inapp/capabilities/get"}]},{"group":"Migrate","pages":[{"title":"Migrate customers","openapi":"POST /customers/migrate","href":"/api-reference/customers/migrate/post"},{"title":"Migrate devices tokens","openapi":"POST /customers/migrate/devices","href":"/api-reference/customers/migrate/devices/post"},{"title":"Migrate events","openapi":"POST /customers/migrate/events","href":"/api-reference/customers/migrate/events/post"},{"title":"Migrate transactions","openapi":"POST /customers/migrate/transactions","href":"/api-reference/customers/migrate/transactions/post"},{"title":"Revert migration","openapi":"DELETE /customers/migrate/revert","href":"/api-reference/customers/migrate/revert/delete"}]},{"group":"Maintenance","pages":[{"title":"Fulfill expired events","openapi":"POST /customers/fulfill_expired_events","href":"/api-reference/customers/fulfill_expired_events/post"}]}]},{"group":"Guides","pages":[{"title":"Integrate with Masivo","href":"/api-reference/guides/integrate-with-masivo"},{"title":"Register a customer","href":"/api-reference/guides/register-a-customer"},{"title":"Show customer data","href":"/api-reference/guides/show-customer-data"},{"title":"Validate rewards redemption","href":"/api-reference/guides/validate-rewards-redemption"},{"title":"Send an event","href":"/api-reference/guides/send-an-event"},{"title":"Submit reviews","href":"/api-reference/guides/submit-reviews"},{"title":"Redeem a coupon","href":"/api-reference/guides/redeem-a-coupon"},{"title":"Add a coupon to a wallet","href":"/api-reference/guides/add-coupon-to-wallet"},{"title":"Reverse a coupon","href":"/api-reference/guides/reverse-a-coupon"},{"title":"Modify customer balance arbitrarily","href":"/api-reference/guides/modify-customer-balance-arbitrarily"},{"title":"Migrate customers","href":"/api-reference/guides/migrate-customers"},{"title":"Setup webhooks","href":"/api-reference/guides/setup-webhooks"},{"title":"Integrate push notifications","href":"/api-reference/guides/integrate-push-notification"},{"title":"Integrate in-app messages","href":"/api-reference/guides/integrate-in-app-messages"},{"title":"Integrate deferred deep linking","href":"/api-reference/guides/integrate-deferred-deep-linking"},{"group":"Marketing automation","pages":[{"title":"FCM Token Management","href":"/api-reference/guides/fcm-token-management"},{"title":"Attribution Tracking","href":"/api-reference/guides/attribution-tracking"},{"title":"Customer Audience Enrollment","href":"/api-reference/guides/customer-audience-enrollment"},{"title":"Journey Triggers","href":"/api-reference/guides/journey-triggers"}]}]},{"group":"Resources","pages":[{"title":"Resource limits","href":"/api-reference/resources/resource-limits"}]}]}]}]},"basePath":"","title":"Create ticket - Masivo","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}