Set validate_only: true to validate rows without creating sequences. This lets you preview errors and warnings before committing the upload.
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Batch upload request
sequence_definition_id
integer
required
ID of the sequence definition to use
rows
object[]
required
Patient data rows (max 100). Each row requires phoneNumber, firstName, and lastName, plus any additional fields defined in the sequence definition's inputs_definition. All row input fields must be in camelCase as per agent convention.
Maximum array length: 100
Show child attributes
next_activity_date
string<date-time>
ISO 8601 date for when the first activity should be scheduled. Defaults to now if not provided.
validate_only
boolean
default:false
If true, validate without creating sequences
Response
Batch upload result with validation status and any errors/warnings
valid
boolean
True if all rows passed validation (warnings don't affect this)
total_attempted
integer
Total rows in the request
valid_count
integer
Rows that passed validation
created_count
integer
Sequences created (0 if validate_only was true)
created
object[]
Created sequence identifiers
Show child attributes
errors
object[]
Validation errors (rows with errors are not created)
Show child attributes
warnings
object[]
Warnings (rows with warnings can still be created)
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Clarion API","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://d2d1vpa6c3q6ni.cloudfront.net/clarion-logo-light.png","dark":"https://d2d1vpa6c3q6ni.cloudfront.net/clarion-logo-dark.png"},"favicon":"https://mintcdn.com/clarion/LohR-Vtn8idHO0Sy/logo/clarion-favicon.png?fit=max\u0026auto=format\u0026n=LohR-Vtn8idHO0Sy\u0026q=85\u0026s=2ad90c0c9ebe52f7e24aef996609c388","api":{"openapi":["api-reference/openapi.json"]},"navbar":{"links":[{"href":"mailto:support@clarionhealth.com","label":"Support"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/98996497"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"clarion","hasAudioNarration":false,"actualSubdomain":"clarion","customDomains":["docs.clarionhealth.com"],"gitSource":{"type":"github","owner":"clarion-health","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b04b496a2799006b3fa7800","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"Verification of Benefits","count":4},{"language":"default","tag":"Sequences","count":4},{"language":"default","tag":"Webhooks","count":4},{"language":"default","tag":"Calls","count":3},{"language":"default","tag":"Patients","count":2},{"language":"default","tag":"Phone Numbers","count":2},{"language":"default","tag":"Sequence Definitions","count":2},{"language":"default","tag":"Health","count":1},{"language":"default","tag":"Quickstart","count":1}]},"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":"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/sequences/batch-upload","slug":"/api-reference/sequences/batch-upload","pageMetadata":{"title":"Batch Upload Sequences","openapi":"POST /sequence-manager/sequences/batch","description":"Create multiple sequences from an array of patient data rows. Maximum 100 rows per request.","href":"/api-reference/sequences/batch-upload"},"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 multiple sequences from an array of patient data rows. Maximum 100 rows per request.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This endpoint creates multiple sequences from an array of patient data rows.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Key details:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Maximum `,_jsx(_components.strong,{children:`100 rows`}),` per request`]}),`\n`,_jsxs(_components.li,{children:[`Each row requires `,_jsx(_components.code,{children:`phoneNumber`}),`, `,_jsx(_components.code,{children:`firstName`}),`, and `,_jsx(_components.code,{children:`lastName`})]}),`\n`,_jsxs(_components.li,{children:[`Additional fields are mapped to sequence inputs based on the definition’s `,_jsx(_components.code,{children:`inputs_definition`})]}),`\n`,_jsxs(_components.li,{children:[`All row input fields must be in `,_jsx(_components.strong,{children:`camelCase`}),` as per agent convention`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`multiple-phone-numbers`,children:`Multiple Phone Numbers`}),`\n`,_jsxs(_components.p,{children:[`Rows can include an optional `,_jsx(_components.code,{children:`phoneNumbers`}),` list of up to 3 numbers, in priority order. Clarion sets which number each campaign step contacts.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`phoneNumber`}),` is still required and must also be in the list.`]}),`\n`,_jsxs(_components.li,{children:[`The row is rejected if the list is missing `,_jsx(_components.code,{children:`phoneNumber`}),`, is empty, has more than 3 entries, or isn’t a list.`]}),`\n`,_jsx(_components.li,{children:`Invalid or duplicate entries are ignored. The other numbers keep their position.`}),`\n`,_jsx(_components.li,{children:`If a step’s number is missing or invalid, the step is skipped or moves to the next number, depending on the campaign.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phoneNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15551234567\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phoneNumbers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15551234567\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+15550001111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"firstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Doe\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`validation-mode`,children:`Validation Mode`}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`validate_only: true`}),` to validate rows without creating sequences. This lets you preview errors and warnings before committing the upload.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Batch Upload Sequences","openapi":"POST /sequence-manager/sequences/batch","description":"Create multiple sequences from an array of patient data rows. Maximum 100 rows per request.","href":"/api-reference/sequences/batch-upload"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Multiple Phone Numbers","slug":"multiple-phone-numbers","depth":2,"children":[]},{"title":"Validation Mode","slug":"validation-mode","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Create multiple sequences from an array of patient data rows. Maximum 100 rows per request.","requestBody":"fa3421e2-bb04-4907-bb4f-2ae91c79d19d","responses":{"200":"39a08699-ac96-4f74-8a73-9bb496f2fd5e","400":"a836a5c2-4151-4c43-9bd4-c22c7609ec48"},"method":"post","type":"path","servers":["4f50ecf3-1ad5-48a0-9494-81d06cacef41","ccff5d3b-ed9e-4dea-946c-4b67dee44a64"],"security":["7de86963-8bdb-4cb2-96b3-ad44e987dab4"],"path":"/sequence-manager/sequences/batch","baseUrlOptions":["https://api.clarionhealth.com/v1","https://api.staging.clarionhealth.com/v1"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"Batch upload request","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sequence_definition_id":{"type":"integer","description":"ID of the sequence definition to use","isRequired":true,"uniqueKey":"sequence_definition_id","typeLabel":"integer"},"rows":{"type":"array","description":"Patient data rows (max 100). Each row requires phoneNumber, firstName, and lastName, plus any additional fields defined in the sequence definition's inputs_definition. All row input fields must be in camelCase as per agent convention.","maxItems":100,"items":{"type":"object","properties":{"phoneNumber":{"type":"string","description":"Patient phone number (required). Used to identify the patient, including duplicate and do-not-contact checks.","isRequired":true,"uniqueKey":"rows.items.[INDEX].phoneNumber","typeLabel":"string"},"firstName":{"type":"string","description":"Patient first name (required)","isRequired":true,"uniqueKey":"rows.items.[INDEX].firstName","typeLabel":"string"},"lastName":{"type":"string","description":"Patient last name (required)","isRequired":true,"uniqueKey":"rows.items.[INDEX].lastName","typeLabel":"string"},"phoneNumbers":{"type":"array","items":{"type":"string","uniqueKey":"rows.items.[INDEX].phoneNumbers.items.[INDEX]","typeLabel":"string"},"minItems":1,"maxItems":3,"description":"Optional. Up to 3 patient phone numbers in priority order. Must include phoneNumber.","uniqueKey":"rows.items.[INDEX].phoneNumbers","typeLabel":"string[]"}},"required":["phoneNumber","firstName","lastName"],"additionalProperties":{"description":"Additional fields mapped to sequence inputs (must be camelCase)","uniqueKey":"rows.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"rows","typeLabel":"object[]"},"next_activity_date":{"type":"string","format":"date-time","description":"ISO 8601 date for when the first activity should be scheduled. Defaults to now if not provided.","uniqueKey":"next_activity_date","typeLabel":"string\u003cdate-time>"},"validate_only":{"type":"boolean","default":false,"description":"If true, validate without creating sequences","uniqueKey":"validate_only","typeLabel":"boolean"}},"required":["sequence_definition_id","rows"],"uniqueKey":"","typeLabel":"object"},"example":{"sequence_definition_id":123,"next_activity_date":"2024-01-15T10:00:00Z","rows":[{"phoneNumber":"+15551234567","phoneNumbers":["+15551234567","+15550001111"],"firstName":"John","lastName":"Doe","dateOfBirth":"1990-01-15"},{"phoneNumber":"+15559876543","firstName":"Jane","lastName":"Smith","dateOfBirth":"1985-06-20"}],"validate_only":false},"examples":{"Example":{"title":"Example","value":{"sequence_definition_id":123,"next_activity_date":"2024-01-15T10:00:00Z","rows":[{"phoneNumber":"+15551234567","phoneNumbers":["+15551234567","+15550001111"],"firstName":"John","lastName":"Doe","dateOfBirth":"1990-01-15"},{"phoneNumber":"+15559876543","firstName":"Jane","lastName":"Smith","dateOfBirth":"1985-06-20"}],"validate_only":false}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"39a08699-ac96-4f74-8a73-9bb496f2fd5e":{"description":"Batch upload result with validation status and any errors/warnings","content":{"application/json":{"schema":{"type":"object","properties":{"valid":{"type":"boolean","description":"True if all rows passed validation (warnings don't affect this)","uniqueKey":"valid","typeLabel":"boolean"},"total_attempted":{"type":"integer","description":"Total rows in the request","uniqueKey":"total_attempted","typeLabel":"integer"},"valid_count":{"type":"integer","description":"Rows that passed validation","uniqueKey":"valid_count","typeLabel":"integer"},"created_count":{"type":"integer","description":"Sequences created (0 if validate_only was true)","uniqueKey":"created_count","typeLabel":"integer"},"created":{"type":"array","description":"Created sequence identifiers","items":{"type":"object","properties":{"row_index":{"type":"integer","description":"0-based row index that corresponds to the row in the request","uniqueKey":"created.items.[INDEX].row_index","typeLabel":"integer"},"sequence_id":{"type":"integer","description":"The unique identifier for the created sequence","uniqueKey":"created.items.[INDEX].sequence_id","typeLabel":"integer"}},"uniqueKey":"created.items.[INDEX]","typeLabel":"object"},"uniqueKey":"created","typeLabel":"object[]"},"errors":{"type":"array","description":"Validation errors (rows with errors are not created)","items":{"type":"object","properties":{"row_index":{"type":"integer","description":"0-based row index","uniqueKey":"errors.items.[INDEX].row_index","typeLabel":"integer"},"error":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.items.[INDEX].error.message","typeLabel":"string"},"type":{"type":"string","enum":["ineligible","invalid","other"],"uniqueKey":"errors.items.[INDEX].error.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX].error","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"warnings":{"type":"array","description":"Warnings (rows with warnings can still be created)","items":{"type":"object","properties":{"row_index":{"type":"integer","description":"0-based row index","uniqueKey":"warnings.items.[INDEX].row_index","typeLabel":"integer"},"warning":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"warnings.items.[INDEX].warning.message","typeLabel":"string"},"type":{"type":"string","enum":["duplicate_in_batch"],"description":"Same phone number appears multiple times in the batch","uniqueKey":"warnings.items.[INDEX].warning.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"warnings.items.[INDEX].warning","typeLabel":"object"}},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"warnings","typeLabel":"object[]"}},"example":{"valid":false,"total_attempted":3,"valid_count":1,"created_count":0,"created":[],"errors":[{"row_index":0,"error":{"message":"Phone number is invalid","type":"invalid"}}],"warnings":[{"row_index":2,"warning":{"message":"Duplicate phone number +15551234567 found at row 1","type":"duplicate_in_batch"}}]},"uniqueKey":"","typeLabel":"object"},"examples":{"success":{"title":"success","summary":"Successful upload with no issues","value":{"valid":true,"total_attempted":2,"created_count":2,"created":[{"rowIndex":0,"sequence_id":100},{"rowIndex":1,"sequence_id":101}],"errors":[],"warnings":[]}},"validation_only":{"title":"validation_only","summary":"Validation only mode (validate_only: true)","description":"When validate_only is true, sequences are validated but not created. Use this to preview errors before committing.","value":{"valid":true,"total_attempted":2,"created":[],"errors":[],"warnings":[]}},"with_errors_and_warnings":{"title":"with_errors_and_warnings","summary":"Response with errors and duplicate warning","description":"Shows an error for an invalid phone number and a warning for duplicate phone numbers within the same batch","value":{"valid":false,"total_attempted":3,"valid_count":1,"created":[],"errors":[{"row_index":0,"error":{"message":"Phone number is invalid","type":"invalid"}}],"warnings":[{"row_index":2,"warning":{"message":"Duplicate phone number +15551234567 found at row 1","type":"duplicate_in_batch"}}]}}},"exampleType":"examples"}},"exampleType":"examples"},"a836a5c2-4151-4c43-9bd4-c22c7609ec48":{"description":"Bad request - invalid input (e.g., missing required fields, exceeding 100 row limit)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7de86963-8bdb-4cb2-96b3-ad44e987dab4":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"4f50ecf3-1ad5-48a0-9494-81d06cacef41":{"url":"https://api.clarionhealth.com/v1","description":"Production"},"ccff5d3b-ed9e-4dea-946c-4b67dee44a64":{"url":"https://api.staging.clarionhealth.com/v1","description":"Staging"}},"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":"clarion","siteName":"Clarion API","title":"Batch Upload Sequences - Clarion API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T22:41:58.254Z","originalFileLocation":"api-reference/sequences/batch-upload.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 multiple sequences from an array of patient data rows. Maximum 100 rows per request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Clarion API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/clarion/-oCv51D8vmwyqWTE/_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/clarion/-oCv51D8vmwyqWTE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/clarion/-oCv51D8vmwyqWTE/_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/clarion/-oCv51D8vmwyqWTE/_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/clarion/-oCv51D8vmwyqWTE/_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/clarion/-oCv51D8vmwyqWTE/_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/clarion/-oCv51D8vmwyqWTE/_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/clarion/-oCv51D8vmwyqWTE/_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/clarion/-oCv51D8vmwyqWTE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Batch Upload Sequences - Clarion API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create multiple sequences from an array of patient data rows. Maximum 100 rows per request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Clarion API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://clarion.mintlify.site/_mintlify/api/og/v2?division=Sequences\u0026amp;title=Batch+Upload+Sequences\u0026amp;description=Create+multiple+sequences+from+an+array+of+patient+data+rows.+Maximum+100+rows+per+request.\u0026amp;theme=f3d6eb526645dccaa1eb6cd9\u0026amp;signature=728e97d54d18e95e8a94f958730c936d80a99ba72244f61cbe8ee9ad90c67100\">\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=\"Batch Upload Sequences - Clarion API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create multiple sequences from an array of patient data rows. Maximum 100 rows per request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://clarion.mintlify.site/_mintlify/api/og/v2?division=Sequences\u0026amp;title=Batch+Upload+Sequences\u0026amp;description=Create+multiple+sequences+from+an+array+of+patient+data+rows.+Maximum+100+rows+per+request.\u0026amp;theme=f3d6eb526645dccaa1eb6cd9\u0026amp;signature=728e97d54d18e95e8a94f958730c936d80a99ba72244f61cbe8ee9ad90c67100\">\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/clarion/-oCv51D8vmwyqWTE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Clarion API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sequences/batch-upload.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.clarionhealth.com/#organization\",\"name\":\"Clarion API\",\"url\":\"https://docs.clarionhealth.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://d2d1vpa6c3q6ni.cloudfront.net/clarion-logo-light.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clarionhealth.com#website\",\"name\":\"Clarion API\",\"url\":\"https://docs.clarionhealth.com\",\"publisher\":{\"@id\":\"https://docs.clarionhealth.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload#webpage\",\"url\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload\",\"name\":\"Batch Upload Sequences\",\"description\":\"Create multiple sequences from an array of patient data rows. Maximum 100 rows per request.\",\"dateModified\":\"2026-10-28T22:41:58.254Z\",\"isPartOf\":{\"@id\":\"https://docs.clarionhealth.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sequences\",\"item\":\"https://docs.clarionhealth.com/api-reference/sequences/get-single\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batch Upload Sequences\",\"item\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload#apireference\",\"headline\":\"Batch Upload Sequences\",\"name\":\"Batch Upload Sequences\",\"description\":\"Create multiple sequences from an array of patient data rows. Maximum 100 rows per request.\",\"url\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clarionhealth.com/api-reference/sequences/batch-upload#webpage\"},\"dateModified\":\"2026-10-28T22:41:58.254Z\",\"publisher\":{\"@id\":\"https://docs.clarionhealth.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clarionhealth.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Clarion API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Clarion API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/sequences/batch-upload.md","siteName":"Clarion API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Quickstart","pages":[{"title":"Quickstart","href":"/api-reference/introduction"}]},{"group":"Health","pages":[{"title":"Get Health","openapi":"GET /health","href":"/api-reference/health/get"}]},{"group":"Calls","pages":[{"title":"Get Call","openapi":"GET /call/{callId}","href":"/api-reference/call/get-single"},{"title":"List Calls","openapi":"GET /call","href":"/api-reference/call/get"},{"title":"Delete Call Record","openapi":"DELETE /call/{callId}","href":"/api-reference/call/delete"}]},{"group":"Patients","pages":[{"title":"Match Patient","openapi":"POST /patient/match","href":"/api-reference/patient/match"},{"title":"Get Patient Chart","openapi":"GET /patient/{id}/chart","href":"/api-reference/patient/get-chart"}]},{"group":"Sequences","pages":[{"title":"Get Sequence","openapi":"GET /sequence-manager/sequences/{id}","href":"/api-reference/sequences/get-single"},{"title":"Get Sequence Metrics","openapi":"GET /sequence-manager/sequences/metrics","description":"Get metrics for all sequences for the current organization","href":"/api-reference/sequences/get-metrics"},{"title":"Batch Upload Sequences","openapi":"POST /sequence-manager/sequences/batch","href":"/api-reference/sequences/batch-upload"},{"title":"Stop Sequence","openapi":"POST /sequence-manager/sequences/{id}/stop","description":"Stop an existing sequence","href":"/api-reference/sequences/stop"}]},{"group":"Sequence Definitions","pages":[{"title":"Get Sequence Definition","openapi":"GET /sequence-manager/sequence-definitions/{id}","href":"/api-reference/sequence-definitions/get-single"},{"title":"Get Sequence Definitions","openapi":"GET /sequence-manager/sequence-definitions","href":"/api-reference/sequence-definitions/get"}]},{"group":"Phone Numbers","pages":[{"title":"Get Phone Number","openapi":"GET /phone-number/{id}","href":"/api-reference/phone-number/get"},{"title":"List Phone Numbers","openapi":"GET /phone-number","href":"/api-reference/phone-number/list"}]},{"group":"Webhooks","pages":[{"title":"Webhook Configuration","href":"/api-reference/webhooks/organization-webhook"},{"title":"End of Call","href":"/api-reference/webhooks/end-of-call"},{"title":"End of Sequence Report","href":"/api-reference/webhooks/end-of-sequence-report"},{"title":"Verifying Webhook Signatures","href":"/api-reference/webhooks/verifying-webhook-signatures"}]},{"group":"Verification of Benefits","pages":[{"title":"Supported Plans","href":"/api-reference/eligibility/plan-list"},{"title":"List Eligibility Checks","openapi":"GET /eligibility","href":"/api-reference/eligibility/list"},{"title":"Get Eligibility Check","openapi":"GET /eligibility/{id}","href":"/api-reference/eligibility/get"},{"title":"Submit Eligibility Check","openapi":"POST /eligibility","href":"/api-reference/eligibility/create"}]}]}]},"basePath":"","title":"Batch Upload Sequences - Clarion API","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}