Vendor ID fields (project_vendor_id, assigned_user_vendor_id,
parent_ticket_vendor_id) are passed straight through to the vendor without extra
DB resolution. The ticket is always persisted locally and the full DB record is
returned.
Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.
Leen project UUID. Required for vendors that use projects (e.g. Jira). Omit for vendors without projects (e.g. ServiceNow — table is derived from ticket type).
Status of the Ticket. Note: Jira does not support setting status at creation time — tickets are always created with the workflow's default status. Use the update endpoint to change status after creation.
Internal work notes visible only to agents. ServiceNow: maps to 'work_notes'. Ignored for Jira.
Response
Successful Response
Response model for ticket creation. Extends ScopedITSMTicketRespModel with
vendor ID fields that are echoed back when vendor IDs were provided in the
request (rather than Leen UUIDs).
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Leen.dev Unified API for Security","colors":{"primary":"#8C43EA","light":"#B5FF56","dark":"#8C43EA"},"favicon":"https://mintcdn.com/leen/vQ2Rhs44KY1LGMJC/favicon.png?fit=max\u0026auto=format\u0026n=vQ2Rhs44KY1LGMJC\u0026q=85\u0026s=00c30a06bc8cf54ffc2eaafd1c8a90d5","logo":{"light":"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/light.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=f622048d909cda879d6dc25b3331a9a8","dark":"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/dark.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=53e1f792b0c80b645b1350397e708e18"},"api":{"openapi":["openapi.json","openapi_v2.json"]},"appearance":{"default":"light","strict":false},"background":{"decoration":null,"color":{"light":"#F6F5EF","dark":"#090d0e"}},"navbar":{"links":[{"label":"Support","href":"mailto:contact@leen.dev"}],"primary":null},"integrations":{"ga4":{"measurementId":"G-0RXD479LK7"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leen","hasAudioNarration":false,"actualSubdomain":"leen","customDomains":["docs.leen.dev"],"gitSource":{"type":"github","owner":"leeninc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae0b2830b083cd94624604d","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":91},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"Integrations","count":54},{"language":"default","tag":"Setup Instructions","count":36},{"language":"default","tag":"ITSM","count":23},{"language":"default","tag":"Identity Provider (IDP)","count":13},{"language":"default","tag":"Provisioning","count":11},{"language":"default","tag":"Application Security (AppSec)","count":11},{"language":"default","tag":"GRC","count":9},{"language":"default","tag":"Vulnerability Management (VMS)","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/itsm/create-ticket","slug":"/api-reference/itsm/create-ticket","pageMetadata":{"openapi":"post /itsm/tickets","title":"Create ITSM Ticket","description":"Create a new ITSM ticket.\n\nVendor ID fields (project_vendor_id, assigned_user_vendor_id,\nparent_ticket_vendor_id) are passed straight through to the vendor without extra\nDB resolution. The ticket is always persisted locally and the full DB record is\nreturned.","href":"/api-reference/itsm/create-ticket"},"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 p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a new ITSM ticket.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Vendor ID fields (project_vendor_id, assigned_user_vendor_id,\\nparent_ticket_vendor_id) are passed straight through to the vendor without extra\\nDB resolution. The ticket is always persisted locally and the full DB record is\\nreturned.\"\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}=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":{"openapi":"post /itsm/tickets","title":"Create ITSM Ticket","description":"Create a new ITSM ticket.\n\nVendor ID fields (project_vendor_id, assigned_user_vendor_id,\nparent_ticket_vendor_id) are passed straight through to the vendor without extra\nDB resolution. The ticket is always persisted locally and the full DB record is\nreturned.","href":"/api-reference/itsm/create-ticket"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Create a new ITSM ticket.\n\nVendor ID fields (project_vendor_id, assigned_user_vendor_id,\nparent_ticket_vendor_id) are passed straight through to the vendor without extra\nDB resolution. The ticket is always persisted locally and the full DB record is\nreturned.","operationId":"create_ticket","parameters":[],"requestBody":"0cf458a9-1ca2-4840-8024-644d5000a9ec","responses":{"200":"89f92d71-ff71-4df3-971a-bb9f1d932a51","404":"8e57a2d2-be35-46c0-b910-d870f644dc78","422":"4264ed79-dd2d-4139-b91b-1ffdb0a6298d","500":"28a1a05c-5c33-44dc-9acf-5cc69ab2bd00","501":"aabc56ce-5ffe-4142-992c-6bd8175f385e"},"security":["33c4438d-63f8-4695-a8d3-5a3289aa33d6"],"summary":"Create ITSM Ticket","tags":["ITSM","Tickets"],"method":"post","type":"path","servers":["f90a6b90-72d5-4b55-b234-2914fbc62d65","3361ee71-d73f-428e-a454-e36776673607","5e7aafd1-736a-4f52-bc35-6f2fa35bc169"],"path":"/itsm/tickets","baseUrlOptions":["https://api.leen.dev/v1","https://api.eu-c1.leen.dev/v1","https://api.ap-se2.leen.dev/v1"],"title":"Create ITSM Ticket","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"description":"Name/Title of the Ticket","title":"Name","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"assigned_user_id":{"oneOf":[{"type":"string","title":"Assigned User Id","description":"Leen user UUID. Either assigned_user_id or assigned_user_vendor_id can be provided.","format":"uuid","uniqueKey":"assigned_user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Assigned User Id","description":"Leen user UUID. Either assigned_user_id or assigned_user_vendor_id can be provided.","uniqueKey":"assigned_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"assigned_user_id","typeLabel":"string\u003cuuid> | null"},"assigned_user_vendor_id":{"oneOf":[{"type":"string","title":"Assigned User Vendor Id","description":"Vendor's user identifier (e.g., Jira accountId). Alternative to assigned_user_id.","uniqueKey":"assigned_user_vendor_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Assigned User Vendor Id","description":"Vendor's user identifier (e.g., Jira accountId). Alternative to assigned_user_id.","uniqueKey":"assigned_user_vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"assigned_user_vendor_id","typeLabel":"string | null"},"comments":{"oneOf":[{"type":"string","title":"Comments","description":"Public-facing comments visible to end users. ServiceNow: maps to 'comments'. Ignored for Jira.","uniqueKey":"comments.oneOf.0","typeLabel":"string"},{"type":"null","title":"Comments","description":"Public-facing comments visible to end users. ServiceNow: maps to 'comments'. Ignored for Jira.","uniqueKey":"comments.oneOf.1","typeLabel":"null"}],"uniqueKey":"comments","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"object","title":"Description","description":"Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.","additionalProperties":true,"uniqueKey":"description.oneOf.1","typeLabel":"Description · object"},{"type":"null","title":"Description","description":"Description of the Ticket. Accepts plain text or an Atlassian Document Format (ADF) document — an object, or that object serialized to a string — for rich text such as headings, bold and code blocks. ADF is passed to Jira unchanged; plain text is wrapped for you. Vendors that store plain text (e.g. ServiceNow) receive the flattened text.","uniqueKey":"description.oneOf.2","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | Description · object | null"},"identifier":{"oneOf":[{"type":"string","title":"Identifier","description":"User-provided tracking identifier (auto-generated from project-type-hash if not provided)","uniqueKey":"identifier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Identifier","description":"User-provided tracking identifier (auto-generated from project-type-hash if not provided)","uniqueKey":"identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"identifier","typeLabel":"string | null"},"parent_ticket_id":{"oneOf":[{"type":"string","title":"Parent Ticket Id","description":"Parent Ticket ID (for sub-tasks)","format":"uuid","uniqueKey":"parent_ticket_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Parent Ticket Id","description":"Parent Ticket ID (for sub-tasks)","uniqueKey":"parent_ticket_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_ticket_id","typeLabel":"string\u003cuuid> | null"},"parent_ticket_vendor_id":{"oneOf":[{"type":"string","title":"Parent Ticket Vendor Id","description":"Vendor's ticket identifier (e.g., Jira issue key 'PROJ-123'). Alternative to parent_ticket_id.","uniqueKey":"parent_ticket_vendor_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Parent Ticket Vendor Id","description":"Vendor's ticket identifier (e.g., Jira issue key 'PROJ-123'). Alternative to parent_ticket_id.","uniqueKey":"parent_ticket_vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_ticket_vendor_id","typeLabel":"string | null"},"priority":{"oneOf":[{"type":"string","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.0","typeLabel":"string"},{"type":"null","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"priority","typeLabel":"string | null"},"project_id":{"oneOf":[{"type":"string","title":"Project Id","description":"Leen project UUID. Required for vendors that use projects (e.g. Jira). Omit for vendors without projects (e.g. ServiceNow — table is derived from ticket type).","format":"uuid","uniqueKey":"project_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Project Id","description":"Leen project UUID. Required for vendors that use projects (e.g. Jira). Omit for vendors without projects (e.g. ServiceNow — table is derived from ticket type).","uniqueKey":"project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"project_id","typeLabel":"string\u003cuuid> | null"},"project_vendor_id":{"oneOf":[{"type":"string","title":"Project Vendor Id","description":"Vendor's project identifier (e.g., Jira project key 'PROJ'). Alternative to project_id. Omit for vendors without projects.","uniqueKey":"project_vendor_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Project Vendor Id","description":"Vendor's project identifier (e.g., Jira project key 'PROJ'). Alternative to project_id. Omit for vendors without projects.","uniqueKey":"project_vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"project_vendor_id","typeLabel":"string | null"},"resolution_notes":{"oneOf":[{"type":"string","title":"Resolution Notes","description":"Detailed explanation of resolution. ServiceNow: maps to 'close_notes'. Ignored for Jira.","uniqueKey":"resolution_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resolution Notes","description":"Detailed explanation of resolution. ServiceNow: maps to 'close_notes'. Ignored for Jira.","uniqueKey":"resolution_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"resolution_notes","typeLabel":"string | null"},"resolution_reason":{"oneOf":[{"type":"string","title":"Resolution Reason","description":"Category/reason for resolution. ServiceNow: maps to 'close_code'. Ignored for Jira.","uniqueKey":"resolution_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resolution Reason","description":"Category/reason for resolution. ServiceNow: maps to 'close_code'. Ignored for Jira.","uniqueKey":"resolution_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"resolution_reason","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"Status","description":"Status of the Ticket. Note: Jira does not support setting status at creation time — tickets are always created with the workflow's default status. Use the update endpoint to change status after creation.","uniqueKey":"status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Status","description":"Status of the Ticket. Note: Jira does not support setting status at creation time — tickets are always created with the workflow's default status. Use the update endpoint to change status after creation.","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"string | null"},"status_change_reason":{"oneOf":[{"type":"string","title":"Status Change Reason","description":"Reason for a status change (e.g. reason for putting on hold). ServiceNow: maps to 'hold_reason'. Ignored for Jira.","uniqueKey":"status_change_reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Status Change Reason","description":"Reason for a status change (e.g. reason for putting on hold). ServiceNow: maps to 'hold_reason'. Ignored for Jira.","uniqueKey":"status_change_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"status_change_reason","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Type of the Ticket (e.g., Task, Bug, Story)","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Type of the Ticket (e.g., Task, Bug, Story)","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"type_id":{"oneOf":[{"type":"string","title":"Type Id","description":"Deprecated: use type_vendor_id instead. Vendor issue type ID.","deprecated":true,"uniqueKey":"type_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type Id","description":"Deprecated: use type_vendor_id instead. Vendor issue type ID.","deprecated":true,"uniqueKey":"type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"type_id","typeLabel":"string | null"},"type_vendor_id":{"oneOf":[{"type":"string","title":"Type Vendor Id","description":"Vendor issue type ID (e.g., Jira issue type ID). Alternative to type — at least one must be provided. Preferred over type when both are given.","uniqueKey":"type_vendor_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type Vendor Id","description":"Vendor issue type ID (e.g., Jira issue type ID). Alternative to type — at least one must be provided. Preferred over type when both are given.","uniqueKey":"type_vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"type_vendor_id","typeLabel":"string | null"},"work_notes":{"oneOf":[{"type":"string","title":"Work Notes","description":"Internal work notes visible only to agents. ServiceNow: maps to 'work_notes'. Ignored for Jira.","uniqueKey":"work_notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Work Notes","description":"Internal work notes visible only to agents. ServiceNow: maps to 'work_notes'. Ignored for Jira.","uniqueKey":"work_notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"work_notes","typeLabel":"string | null"}},"required":["name"],"title":"ITSM Ticket Create Request","type":"object","uniqueKey":"","typeLabel":"ITSM Ticket Create Request · object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","assigned_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","assigned_user_vendor_id":"\u003cstring>","comments":"\u003cstring>","description":"\u003cstring>","identifier":"\u003cstring>","parent_ticket_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","parent_ticket_vendor_id":"\u003cstring>","priority":"\u003cstring>","project_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","project_vendor_id":"\u003cstring>","resolution_notes":"\u003cstring>","resolution_reason":"\u003cstring>","status":"\u003cstring>","status_change_reason":"\u003cstring>","type":"\u003cstring>","type_id":"\u003cstring>","type_vendor_id":"\u003cstring>","work_notes":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"89f92d71-ff71-4df3-971a-bb9f1d932a51":{"content":{"application/json":{"schema":{"description":"Response model for ticket creation. Extends ScopedITSMTicketRespModel with\nvendor ID fields that are echoed back when vendor IDs were provided in the\nrequest (rather than Leen UUIDs).","properties":{"id":{"description":"Leen's UUID for the Ticket","format":"uuid","title":"Id","type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"name":{"description":"Name of the Ticket","title":"Name","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"description":"Status of the Ticket","title":"Status","type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"vendor_attributes":{"properties":{"id":{"description":"Vendor's ID for the Ticket","title":"Id","type":"string","isRequired":true,"uniqueKey":"vendor_attributes.id","typeLabel":"string"},"vendor":{"description":"Vendor name","title":"Vendor","type":"string","isRequired":true,"uniqueKey":"vendor_attributes.vendor","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","title":"Created At","description":"Creation time of the Ticket in Vendor","format":"date-time","uniqueKey":"vendor_attributes.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Created At","description":"Creation time of the Ticket in Vendor","uniqueKey":"vendor_attributes.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.created_at","typeLabel":"string\u003cdate-time> | null"},"data":{"oneOf":[{"type":"object","title":"JiraTicketVendorAttributesData","description":"Vendor-specific data associated with the Ticket","properties":{"customFields":{"oneOf":[{"type":"object","title":"Customfields","additionalProperties":true,"uniqueKey":"vendor_attributes.data.oneOf.0.customFields.oneOf.0","typeLabel":"Customfields · object"},{"type":"null","title":"Customfields","uniqueKey":"vendor_attributes.data.oneOf.0.customFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.0.customFields","typeLabel":"Customfields · object | null"},"id":{"oneOf":[{"type":"string","title":"Id","uniqueKey":"vendor_attributes.data.oneOf.0.id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Id","uniqueKey":"vendor_attributes.data.oneOf.0.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.0.id","typeLabel":"string | null"},"statusCategory":{"oneOf":[{"type":"string","title":"Statuscategory","uniqueKey":"vendor_attributes.data.oneOf.0.statusCategory.oneOf.0","typeLabel":"string"},{"type":"null","title":"Statuscategory","uniqueKey":"vendor_attributes.data.oneOf.0.statusCategory.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.0.statusCategory","typeLabel":"string | null"},"vendor":{"const":"JIRA","default":"JIRA","title":"Vendor","type":"string","uniqueKey":"vendor_attributes.data.oneOf.0.vendor","typeLabel":"string"}},"uniqueKey":"vendor_attributes.data.oneOf.0","typeLabel":"JiraTicketVendorAttributesData · object"},{"type":"object","title":"ServiceNowTicketVendorAttributesData","description":"Vendor-specific data associated with the Ticket","properties":{"customFields":{"oneOf":[{"type":"object","title":"Customfields","additionalProperties":true,"uniqueKey":"vendor_attributes.data.oneOf.1.customFields.oneOf.0","typeLabel":"Customfields · object"},{"type":"null","title":"Customfields","uniqueKey":"vendor_attributes.data.oneOf.1.customFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.customFields","typeLabel":"Customfields · object | null"},"number":{"oneOf":[{"type":"string","title":"Number","uniqueKey":"vendor_attributes.data.oneOf.1.number.oneOf.0","typeLabel":"string"},{"type":"null","title":"Number","uniqueKey":"vendor_attributes.data.oneOf.1.number.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.number","typeLabel":"string | null"},"priorityNumeric":{"oneOf":[{"type":"string","title":"Prioritynumeric","uniqueKey":"vendor_attributes.data.oneOf.1.priorityNumeric.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prioritynumeric","uniqueKey":"vendor_attributes.data.oneOf.1.priorityNumeric.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.priorityNumeric","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","title":"State","uniqueKey":"vendor_attributes.data.oneOf.1.state.oneOf.0","typeLabel":"string"},{"type":"null","title":"State","uniqueKey":"vendor_attributes.data.oneOf.1.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data.oneOf.1.state","typeLabel":"string | null"},"vendor":{"const":"SERVICENOW_ITSM","default":"SERVICENOW_ITSM","title":"Vendor","type":"string","uniqueKey":"vendor_attributes.data.oneOf.1.vendor","typeLabel":"string"}},"uniqueKey":"vendor_attributes.data.oneOf.1","typeLabel":"ServiceNowTicketVendorAttributesData · object"},{"type":"null","title":"Data","description":"Vendor-specific data associated with the Ticket","uniqueKey":"vendor_attributes.data.oneOf.2","typeLabel":"null"}],"uniqueKey":"vendor_attributes.data","typeLabel":"JiraTicketVendorAttributesData · object | ServiceNowTicketVendorAttributesData · object | null"},"priority":{"oneOf":[{"type":"string","title":"Priority","description":"Vendor priority of the Ticket","uniqueKey":"vendor_attributes.priority.oneOf.0","typeLabel":"string"},{"type":"null","title":"Priority","description":"Vendor priority of the Ticket","uniqueKey":"vendor_attributes.priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.priority","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"Status","description":"Vendor status of the Ticket","uniqueKey":"vendor_attributes.status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Status","description":"Vendor status of the Ticket","uniqueKey":"vendor_attributes.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.status","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Vendor type of the Ticket","uniqueKey":"vendor_attributes.type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Vendor type of the Ticket","uniqueKey":"vendor_attributes.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.type","typeLabel":"string | null"},"type_id":{"oneOf":[{"type":"string","title":"Type Id","description":"Vendor type ID of the Ticket","uniqueKey":"vendor_attributes.type_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type Id","description":"Vendor type ID of the Ticket","uniqueKey":"vendor_attributes.type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.type_id","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","description":"Last update time of the Ticket in Vendor","format":"date-time","uniqueKey":"vendor_attributes.updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","description":"Last update time of the Ticket in Vendor","uniqueKey":"vendor_attributes.updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"vendor_attributes.updated_at","typeLabel":"string\u003cdate-time> | null"}},"required":["id","vendor"],"title":"ITSM Ticket Vendor Attributes","type":"object","description":"Vendor-specific attributes of the Ticket","isRequired":true,"uniqueKey":"vendor_attributes","typeLabel":"ITSM Ticket Vendor Attributes · object"},"active":{"oneOf":[{"type":"boolean","title":"Active","description":"Whether the Ticket is active","uniqueKey":"active.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Active","description":"Whether the Ticket is active","uniqueKey":"active.oneOf.1","typeLabel":"null"}],"uniqueKey":"active","typeLabel":"boolean | null"},"assigned_user_id":{"oneOf":[{"type":"string","title":"Assigned User Id","description":"User ID assigned to the Ticket","format":"uuid","uniqueKey":"assigned_user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Assigned User Id","description":"User ID assigned to the Ticket","uniqueKey":"assigned_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"assigned_user_id","typeLabel":"string\u003cuuid> | null"},"assigned_user_vendor_id":{"oneOf":[{"type":"string","title":"Assigned User Vendor Id","description":"Vendor account ID of the assigned user (e.g. Jira accountId). Populated when the request used assigned_user_vendor_id.","uniqueKey":"assigned_user_vendor_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Assigned User Vendor Id","description":"Vendor account ID of the assigned user (e.g. Jira accountId). Populated when the request used assigned_user_vendor_id.","uniqueKey":"assigned_user_vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"assigned_user_vendor_id","typeLabel":"string | null"},"closed_at":{"oneOf":[{"type":"string","title":"Closed At","description":"Closing time of the Ticket","format":"date-time","uniqueKey":"closed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Closed At","description":"Closing time of the Ticket","uniqueKey":"closed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"closed_at","typeLabel":"string\u003cdate-time> | null"},"created_by_user_id":{"oneOf":[{"type":"string","title":"Created By User Id","description":"User ID who created the Ticket","format":"uuid","uniqueKey":"created_by_user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Created By User Id","description":"User ID who created the Ticket","uniqueKey":"created_by_user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by_user_id","typeLabel":"string\u003cuuid> | null"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Description of the Ticket","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Description of the Ticket","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"due_date":{"oneOf":[{"type":"string","title":"Due Date","description":"Due date of the Ticket","format":"date-time","uniqueKey":"due_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Due Date","description":"Due date of the Ticket","uniqueKey":"due_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"due_date","typeLabel":"string\u003cdate-time> | null"},"identifier":{"oneOf":[{"type":"string","title":"Identifier","description":"User-provided tracking identifier for the Ticket","uniqueKey":"identifier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Identifier","description":"User-provided tracking identifier for the Ticket","uniqueKey":"identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"identifier","typeLabel":"string | null"},"parent_ticket_id":{"oneOf":[{"type":"string","title":"Parent Ticket Id","description":"Parent Ticket ID (for sub-tasks)","format":"uuid","uniqueKey":"parent_ticket_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Parent Ticket Id","description":"Parent Ticket ID (for sub-tasks)","uniqueKey":"parent_ticket_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_ticket_id","typeLabel":"string\u003cuuid> | null"},"parent_ticket_vendor_id":{"oneOf":[{"type":"string","title":"Parent Ticket Vendor Id","description":"Vendor key of the parent ticket (e.g. 'PROJ-42'). Populated when the request used parent_ticket_vendor_id.","uniqueKey":"parent_ticket_vendor_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Parent Ticket Vendor Id","description":"Vendor key of the parent ticket (e.g. 'PROJ-42'). Populated when the request used parent_ticket_vendor_id.","uniqueKey":"parent_ticket_vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_ticket_vendor_id","typeLabel":"string | null"},"priority":{"oneOf":[{"type":"string","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.0","typeLabel":"string"},{"type":"null","title":"Priority","description":"Priority of the Ticket","uniqueKey":"priority.oneOf.1","typeLabel":"null"}],"uniqueKey":"priority","typeLabel":"string | null"},"project_id":{"oneOf":[{"type":"string","title":"Project Id","description":"Project ID the Ticket belongs to","format":"uuid","uniqueKey":"project_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Project Id","description":"Project ID the Ticket belongs to","uniqueKey":"project_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"project_id","typeLabel":"string\u003cuuid> | null"},"status_updated_at":{"oneOf":[{"type":"string","title":"Status Updated At","description":"Last status update time","format":"date-time","uniqueKey":"status_updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Status Updated At","description":"Last status update time","uniqueKey":"status_updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"status_updated_at","typeLabel":"string\u003cdate-time> | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tags","description":"Tags associated with the Ticket","uniqueKey":"tags.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tags","description":"Tags associated with the Ticket","uniqueKey":"tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"tags","typeLabel":"string[] | null"},"ticket_created_at":{"oneOf":[{"type":"string","title":"Ticket Created At","description":"Creation time of the Ticket in the vendor system","format":"date-time","uniqueKey":"ticket_created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Ticket Created At","description":"Creation time of the Ticket in the vendor system","uniqueKey":"ticket_created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"ticket_created_at","typeLabel":"string\u003cdate-time> | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"Type of the Ticket (e.g., Epic, Story, Task, Bug)","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"Type of the Ticket (e.g., Epic, Story, Task, Bug)","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"type_id":{"oneOf":[{"type":"string","title":"Type Id","description":"Vendor-specific type ID (e.g., Jira issue type ID)","uniqueKey":"type_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type Id","description":"Vendor-specific type ID (e.g., Jira issue type ID)","uniqueKey":"type_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"type_id","typeLabel":"string | null"},"type_vendor_id":{"oneOf":[{"type":"string","title":"Type Vendor Id","description":"Vendor issue type ID (e.g. '10034'). Populated when the request used type_vendor_id.","uniqueKey":"type_vendor_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type Vendor Id","description":"Vendor issue type ID (e.g. '10034'). Populated when the request used type_vendor_id.","uniqueKey":"type_vendor_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"type_vendor_id","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","title":"Url","description":"URL of the Ticket","uniqueKey":"url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Url","description":"URL of the Ticket","uniqueKey":"url.oneOf.1","typeLabel":"null"}],"uniqueKey":"url","typeLabel":"string | null"}},"required":["id","name","status","vendor_attributes"],"title":"ITSM Ticket Create Response","type":"object","uniqueKey":"","typeLabel":"ITSM Ticket Create Response · object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","status":"\u003cstring>","vendor_attributes":{"id":"\u003cstring>","vendor":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","data":{"customFields":{},"id":"\u003cstring>","statusCategory":"\u003cstring>","vendor":"JIRA"},"priority":"\u003cstring>","status":"\u003cstring>","type":"\u003cstring>","type_id":"\u003cstring>","updated_at":"2023-11-07T05:31:56Z"},"active":true,"assigned_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","assigned_user_vendor_id":"\u003cstring>","closed_at":"2023-11-07T05:31:56Z","created_by_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","description":"\u003cstring>","due_date":"2023-11-07T05:31:56Z","identifier":"\u003cstring>","parent_ticket_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","parent_ticket_vendor_id":"\u003cstring>","priority":"\u003cstring>","project_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status_updated_at":"2023-11-07T05:31:56Z","tags":["\u003cstring>"],"ticket_created_at":"2023-11-07T05:31:56Z","type":"\u003cstring>","type_id":"\u003cstring>","type_vendor_id":"\u003cstring>","url":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"8e57a2d2-be35-46c0-b910-d870f644dc78":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"4264ed79-dd2d-4139-b91b-1ffdb0a6298d":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Unprocessable Content","exampleType":"generated"},"28a1a05c-5c33-44dc-9acf-5cc69ab2bd00":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Internal Server Error","exampleType":"generated"},"aabc56ce-5ffe-4142-992c-6bd8175f385e":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Error code","title":"Code","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"description":"List of error dictionaries","items":{"additionalProperties":true,"type":"object","uniqueKey":"detail.items.[INDEX]","typeLabel":"object"},"title":"Detail","type":"array","isRequired":true,"uniqueKey":"detail","typeLabel":"Detail · object[]"},"message":{"description":"Error message","title":"Message","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"description":"Type of error","title":"Type","type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"}},"required":["type","code","message","detail"],"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","detail":[{}],"message":"\u003cstring>","type":"\u003cstring>"}}},"exampleType":"generated"}},"description":"Not Implemented","exampleType":"generated"}},"security":{"33c4438d-63f8-4695-a8d3-5a3289aa33d6":{"API-Key":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"API-Key"},"Connection-ID":{"in":"header","name":"X-CONNECTION-ID","type":"apiKey","scopes":[],"schemeName":"Connection-ID"}}},"servers":{"f90a6b90-72d5-4b55-b234-2914fbc62d65":{"description":"Production API (US)","url":"https://api.leen.dev/v1"},"3361ee71-d73f-428e-a454-e36776673607":{"description":"Production API (EU)","url":"https://api.eu-c1.leen.dev/v1"},"5e7aafd1-736a-4f52-bc35-6f2fa35bc169":{"description":"Production API (APAC)","url":"https://api.ap-se2.leen.dev/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"API-Key"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"API-Key","name":"X-API-KEY"},{"scheme":{"in":"header","name":"X-CONNECTION-ID","type":"apiKey","scopes":[],"schemeName":"Connection-ID"},"schema":{"title":"X-CONNECTION-ID","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Connection-ID","name":"X-CONNECTION-ID"}],"title":"API-Key \u0026 Connection-ID"}]},"originalFileLocation":"openapi.json"},"subdomain":"leen","siteName":"Leen.dev Unified API for Security","title":"Create ITSM Ticket - Leen.dev Unified API for Security","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-25T19:19:39.774Z","originalFileLocation":"api-reference/itsm/create-ticket.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=\"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=\"Create a new ITSM ticket. Vendor ID fields (project_vendor_id, assigned_user_vendor_id, parent_ticket_vendor_id) are passed straight through to the vendor without extra DB resolution. The ticket is always persisted locally and the full DB record is returned.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_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/leen/a1H8fw6GLH0gddpy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leen/a1H8fw6GLH0gddpy/_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/leen/a1H8fw6GLH0gddpy/_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/leen/a1H8fw6GLH0gddpy/_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/leen/a1H8fw6GLH0gddpy/_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/leen/a1H8fw6GLH0gddpy/_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/leen/a1H8fw6GLH0gddpy/_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/leen/a1H8fw6GLH0gddpy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create ITSM Ticket - Leen.dev Unified API for Security\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new ITSM ticket. Vendor ID fields (project_vendor_id, assigned_user_vendor_id, parent_ticket_vendor_id) are passed straight through to the vendor without extra DB resolution. The ticket is always persisted locally and the full DB record is returned.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leen.dev/api-reference/itsm/create-ticket\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leen.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Create+ITSM+Ticket\u0026amp;description=Create+a+new+ITSM+ticket.%0A%0AVendor+ID+fields+%28project_vendor_id%2C+assigned_user_vendor_id%2C%0Aparent_ticket_vendor_id%29+are+passed+straight+through+to+the+vendor+with\u0026amp;theme=2dc8a6072127c584f0fadcac\u0026amp;signature=b257729e47ad325165eeb1a86f947f7bab916876c55e62c289b9847733c3a296\">\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 ITSM Ticket - Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new ITSM ticket. Vendor ID fields (project_vendor_id, assigned_user_vendor_id, parent_ticket_vendor_id) are passed straight through to the vendor without extra DB resolution. The ticket is always persisted locally and the full DB record is returned.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leen.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Create+ITSM+Ticket\u0026amp;description=Create+a+new+ITSM+ticket.%0A%0AVendor+ID+fields+%28project_vendor_id%2C+assigned_user_vendor_id%2C%0Aparent_ticket_vendor_id%29+are+passed+straight+through+to+the+vendor+with\u0026amp;theme=2dc8a6072127c584f0fadcac\u0026amp;signature=b257729e47ad325165eeb1a86f947f7bab916876c55e62c289b9847733c3a296\">\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/leen/a1H8fw6GLH0gddpy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Leen.dev Unified API for Security\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8C43EA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leen.dev/api-reference/itsm/create-ticket\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/itsm/create-ticket.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leen.dev/#organization\",\"name\":\"Leen.dev Unified API for Security\",\"url\":\"https://docs.leen.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leen/0MpnNXrQ3mRuduqT/logo/light.svg?fit=max\u0026auto=format\u0026n=0MpnNXrQ3mRuduqT\u0026q=85\u0026s=f622048d909cda879d6dc25b3331a9a8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leen.dev#website\",\"name\":\"Leen.dev Unified API for Security\",\"url\":\"https://docs.leen.dev\",\"publisher\":{\"@id\":\"https://docs.leen.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leen.dev/api-reference/itsm/create-ticket#webpage\",\"url\":\"https://docs.leen.dev/api-reference/itsm/create-ticket\",\"name\":\"Create ITSM Ticket\",\"description\":\"Create a new ITSM ticket. Vendor ID fields (project_vendor_id, assigned_user_vendor_id, parent_ticket_vendor_id) are passed straight through to the vendor without extra DB resolution. The ticket is always persisted locally and the full DB record is returned.\",\"dateModified\":\"2026-03-25T19:19:39.774Z\",\"isPartOf\":{\"@id\":\"https://docs.leen.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leen.dev/api-reference/itsm/create-ticket#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leen.dev/api-reference/itsm/create-ticket#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ITSM\",\"item\":\"https://docs.leen.dev/api-reference/itsm/supported-connectors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create ITSM Ticket\",\"item\":\"https://docs.leen.dev/api-reference/itsm/create-ticket\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.leen.dev/api-reference/itsm/create-ticket#apireference\",\"headline\":\"Create ITSM Ticket\",\"name\":\"Create ITSM Ticket\",\"description\":\"Create a new ITSM ticket. Vendor ID fields (project_vendor_id, assigned_user_vendor_id, parent_ticket_vendor_id) are passed straight through to the vendor without extra DB resolution. The ticket is always persisted locally and the full DB record is returned.\",\"url\":\"https://docs.leen.dev/api-reference/itsm/create-ticket\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leen.dev/api-reference/itsm/create-ticket#webpage\"},\"dateModified\":\"2026-03-25T19:19:39.774Z\",\"publisher\":{\"@id\":\"https://docs.leen.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leen.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Leen.dev Unified API for Security\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Leen.dev Unified API for Security\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/itsm/create-ticket.md","siteName":"Leen.dev Unified API for Security","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/intro/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Creating a new connection","href":"/api-reference/creating-a-connection"},{"title":"Cursor Pagination","href":"/api-reference/pagination"},{"title":"Connection Health","href":"/api-reference/connection-health"}]},{"group":"AppSec","pages":[{"title":"AppSec Connectors","icon":"grid-2","href":"/api-reference/appsec/supported-connectors"},{"openapi":"get /appsec/issues","title":"List Issues","href":"/api-reference/appsec/get-issues"},{"openapi":"get /appsec/issues/{issue_id}","title":"Get Issue by ID","href":"/api-reference/appsec/get-issue-by-id"}]},{"group":"EDR","pages":[{"title":"EDR Connectors","icon":"grid-2","href":"/api-reference/edr/supported-connectors"},{"openapi":"get /edr/alerts","title":"List Alerts","href":"/api-reference/edr/get-alerts"},{"openapi":"get /edr/alerts/{alert_id}","title":"Get Alert by ID","href":"/api-reference/edr/get-alert-by-id"},{"openapi":"get /edr/policies","title":"List Policies","href":"/api-reference/edr/get-policies"}]},{"group":"VMS","pages":[{"title":"VMS Connectors","icon":"grid-2","href":"/api-reference/vms/supported-connectors"},{"openapi":"get /vms/vulnerabilities","title":"List Vulnerabilities","href":"/api-reference/vms/get-vulnerabilities"},{"openapi":"get /vms/vulnerabilities/{vuln_id}","title":"Get Vulnerability by ID","href":"/api-reference/vms/get-vulnerability-by-id"},{"openapi":"get /vms/scan-configurations","title":"List VMS Scan Configurations","href":"/api-reference/vms/get-scan-configurations"},{"openapi":"get /vms/scan-configurations/{scan_config_id}","title":"Get VMS Scan Configuration by ID","href":"/api-reference/vms/get-scan-configuration-by-id"}]},{"group":"CSPM","pages":[{"title":"CSPM Connectors","icon":"grid-2","href":"/api-reference/cspm/supported-connectors"},{"openapi":"get /cspm/alerts","title":"List Alerts","href":"/api-reference/cspm/get-alerts"},{"openapi":"get /cspm/compliance_findings","title":"List Compliance Findings","href":"/api-reference/cspm/get-compliance-findings"},{"openapi":"get /cspm/compliance","title":"List Compliance Data with Conditional Findings","href":"/api-reference/cspm/get-compliance-data"}]},{"group":"Identity Provider (IDP)","pages":[{"title":"IDP Connectors","icon":"grid-2","href":"/api-reference/idp/supported-connector"},{"openapi":"get /idp/users","title":"List IDP Users","href":"/api-reference/idp/list-users"},{"openapi":"get /idp/groups","title":"List IDP Groups","href":"/api-reference/idp/list-groups"},{"openapi":"get /idp/applications","title":"List IDP Applications","href":"/api-reference/idp/list-applications"},{"openapi":"get /idp/alerts","title":"List IDP Alerts","href":"/api-reference/idp/list-alerts"},{"openapi":"get /idp/policies","title":"List IDP Policies","href":"/api-reference/idp/list-policies"},{"openapi":"get /idp/policies/{policy_id}/groups","title":"List Groups for IDP Policy","href":"/api-reference/idp/list-policy-groups"},{"openapi":"get /idp/policies/{policy_id}/applications","title":"List Applications for IDP Policy","href":"/api-reference/idp/list-policy-applications"},{"openapi":"get /idp/policies/{policy_id}/users","title":"List Users for IDP Policy","href":"/api-reference/idp/list-policy-users"}]},{"group":"TPRM","pages":[{"title":"TPRM Connectors","icon":"grid-2","href":"/api-reference/tprm/supported-connectors"},{"group":"Companies","pages":[{"openapi":"get /tprm/companies","title":"List TPRM Companies","href":"/api-reference/tprm/companies/get-companies"},{"openapi":"get /tprm/companies/{company_id}","title":"Get TPRM Company by ID","href":"/api-reference/tprm/companies/get-company-by-id"}]},{"group":"Findings","pages":[{"openapi":"get /tprm/findings","title":"List TPRM Findings","href":"/api-reference/tprm/findings/get-findings"},{"openapi":"get /tprm/findings/{finding_id}","title":"Get TPRM Finding by ID","href":"/api-reference/tprm/findings/get-finding-by-id"}]}]},{"group":"GRC","pages":[{"title":"GRC Connectors","icon":"grid-2","href":"/api-reference/grc/supported-connectors"},{"group":"Entities","pages":[{"openapi":"get /grc/entities","title":"List GRC entities","href":"/api-reference/grc/entities/get-entities"},{"openapi":"get /grc/entities/{entity_id}","title":"Get GRC entity by ID","href":"/api-reference/grc/entities/get-entity-by-id"}]},{"group":"Controls","pages":[{"openapi":"get /grc/controls","title":"List GRC Controls","href":"/api-reference/grc/controls/get-controls"},{"openapi":"get /grc/controls/{control_id}","title":"Get GRC Control","href":"/api-reference/grc/controls/get-control-by-id"}]},{"group":"Assessments","pages":[{"openapi":"get /grc/assessments","title":"List GRC Assessments","href":"/api-reference/grc/assessments/get-assessments"},{"openapi":"get /grc/assessments/{assessment_id}","title":"Get GRC Assessment","href":"/api-reference/grc/assessments/get-assessment-by-id"},{"openapi":"post /grc/assessments/response","title":"Submit GRC Assessment","href":"/api-reference/grc/assessments/post-assessment-response"}]},{"group":"Evidences","pages":[{"openapi":"get /grc/evidences","title":"List GRC Evidences","href":"/api-reference/grc/evidences/get-evidences"}]}]},{"group":"ITSM","pages":[{"title":"ITSM Connectors","description":"Supported ITSM connectors for the ITSM endpoints","icon":"grid-2","href":"/api-reference/itsm/supported-connectors"},{"group":"Tickets","pages":[{"openapi":"post /itsm/tickets","title":"Create ITSM Ticket","href":"/api-reference/itsm/create-ticket"},{"openapi":"get /itsm/tickets","title":"List ITSM Tickets","description":"List tickets from the connected ITSM tool, normalised across vendors.","href":"/api-reference/itsm/get-tickets"},{"openapi":"get /itsm/tickets/{ticket_id}","title":"Get ITSM Ticket by ID","href":"/api-reference/itsm/get-ticket-by-id"},{"openapi":"patch /itsm/tickets/{ticket_id}","title":"Update ITSM Ticket by ID","href":"/api-reference/itsm/update-ticket-by-id"},{"openapi":"get /itsm/tickets/by-identifier/{identifier}","title":"Get ITSM Ticket by Identifier","href":"/api-reference/itsm/get-ticket-by-identifier"},{"openapi":"post /itsm/tickets/bulk","title":"Bulk Create ITSM Tickets (Async)","href":"/api-reference/itsm/create-ticket-bulk"},{"openapi":"post /itsm/tickets/bulk/sync","title":"Bulk Create ITSM Tickets (Sync)","href":"/api-reference/itsm/create-ticket-bulk-sync"},{"openapi":"post /itsm/tickets/bulk/update","title":"Bulk Update ITSM Tickets (Async)","href":"/api-reference/itsm/update-ticket-bulk"}]},{"group":"Projects","pages":[{"openapi":"get /itsm/projects","title":"List ITSM Projects","href":"/api-reference/itsm/get-projects"},{"openapi":"get /itsm/projects/{project_id}","title":"Get ITSM Project by ID","href":"/api-reference/itsm/get-project-by-id"}]},{"group":"Comments","pages":[{"openapi":"get /itsm/comments","title":"List ITSM Comments","href":"/api-reference/itsm/get-comments"},{"openapi":"get /itsm/comments/{comment_id}","title":"Get ITSM Comment by ID","href":"/api-reference/itsm/get-comment-by-id"}]},{"group":"Attachments","pages":[{"openapi":"get /itsm/attachments","title":"List ITSM Attachments","href":"/api-reference/itsm/get-attachments"},{"openapi":"get /itsm/attachments/{attachment_id}","title":"Get ITSM Attachment by ID","href":"/api-reference/itsm/get-attachment-by-id"}]},{"group":"Users","pages":[{"openapi":"get /itsm/users","title":"List ITSM Users","href":"/api-reference/itsm/get-users"},{"openapi":"get /itsm/users/{user_id}","title":"Get ITSM User by ID","href":"/api-reference/itsm/get-user-by-id"}]},{"group":"Groups","pages":[{"openapi":"get /itsm/groups","title":"List ITSM Groups","href":"/api-reference/itsm/get-groups"},{"openapi":"get /itsm/groups/{group_id}","title":"Get ITSM Group by ID","href":"/api-reference/itsm/get-group-by-id"}]},{"group":"Passthrough","pages":[{"openapi":"get /itsm/passthrough/projects","title":"List Projects (Passthrough)","href":"/api-reference/itsm/passthrough-projects"},{"openapi":"get /itsm/passthrough/projects/{project_key}/issue-types","title":"List Issue Types for a Project (Passthrough)","href":"/api-reference/itsm/passthrough-issue-types"},{"openapi":"get /itsm/passthrough/tickets/search","title":"Search Tickets (Passthrough)","href":"/api-reference/itsm/passthrough-tickets-search"},{"openapi":"get /itsm/passthrough/projects/{project_key}/assignable-users","title":"List Assignable Users for a Project (Passthrough)","href":"/api-reference/itsm/passthrough-assignable-users"}]}]},{"group":"Entities","pages":[{"title":"Device Connectors","icon":"grid-2","href":"/api-reference/entities/supported-connectors"},{"openapi":"get /entities/devices","title":"List Devices","href":"/api-reference/entities/get-devices"},{"openapi":"get /entities/devices/{device_id}","title":"Get Device by ID","href":"/api-reference/entities/get-device-by-id"},{"openapi":"get /entities/device-groups","title":"List Device Groups","href":"/api-reference/entities/get-device-groups"}]},{"group":"Configuration","pages":[{"title":"Configuration Connectors","icon":"grid-2","href":"/api-reference/configuration/supported-connectors"},{"openapi":"get /configuration/users","title":"List Configuration Users","href":"/api-reference/configuration/get-configuration-users"},{"openapi":"get /configuration/users/{user_id}","title":"Get Configuration User by ID","href":"/api-reference/configuration/get-configuration-user-by-id"}]},{"group":"Provisioning","pages":[{"openapi":"post /provisioning/organizations","title":"Create Organization","href":"/api-reference/provisioning/add-organization"},{"openapi":"get /provisioning/organizations","title":"List Organizations","href":"/api-reference/provisioning/list-organizations"},{"openapi":"get /provisioning/organizations/{organization_id}","title":"Get Organization by ID","href":"/api-reference/provisioning/get-organization"},{"openapi":"delete /provisioning/organizations/{organization_id}","title":"Delete Organization by ID","href":"/api-reference/provisioning/delete-organization"},{"openapi":"post /provisioning/organizations/{organization_id}/connections","title":"Create Connection","href":"/api-reference/provisioning/add-new-connection"},{"openapi":"get /provisioning/organizations/{organization_id}/connections","title":"List Connections","href":"/api-reference/provisioning/list-connections"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Get Connection by ID","href":"/api-reference/provisioning/get-connection"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}/jobs","title":"List Jobs by Connection ID","href":"/api-reference/provisioning/get-connection-jobs"},{"openapi":"get /provisioning/organizations/{organization_id}/connections/{connection_id}/test","title":"Test Connection Credentials by Connection ID","href":"/api-reference/provisioning/test-connection"},{"openapi":"delete /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Delete Connection","href":"/api-reference/provisioning/delete-connection"},{"openapi":"patch /provisioning/organizations/{organization_id}/connections/{connection_id}","title":"Update Connection by ID and Organization ID","href":"/api-reference/provisioning/update-connection"}]},{"group":"Connectors","pages":[{"openapi":"get /connectors","title":"Get Integrations","href":"/api-reference/connectors"}]},{"group":"Integration Details","pages":[{"title":"List Integration Details","openapi":"get /integrations/","href":"/api-reference/integration-details/list-integration-details"},{"title":"Get Integration Details by ID","openapi":"get /integrations/{id}","href":"/api-reference/integration-details/get-integration-details-by-id"}]},{"group":"OnRamp","pages":[{"openapi":"post /provisioning/organizations/{organization_id}/connection-invite-tokens","title":"Create Connection Invite Token","href":"/api-reference/onramp/create-connection-invite-token"},{"openapi":"get /provisioning/organizations/{organization_id}/connection-invite-tokens","title":"List Connection Invite Tokens","href":"/api-reference/onramp/get-connection-invite-tokens"}]},{"group":"Enrichments","pages":[{"openapi":"get /enrichments/nvd","title":"Get NVD Enrichment Data for CVEs","href":"/api-reference/enrichments/nvd"}]},{"group":"Outbound Jobs","pages":[{"openapi":"get /outbound-jobs/{job_id}","title":"Get Outbound job by id","href":"/api-reference/outbound-job"}]}]},{"tab":"(BETA) API Reference V2","pages":[{"title":"(BETA) API Reference V2","href":"/api-reference-v2/supported-connectors"}]}]},"basePath":"","title":"Create ITSM Ticket - Leen.dev Unified API for Security","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}