Submit a single request or a batch of requests. For batch, wrap in {"requests": [...]}. If internalId is supplied on a single request, a duplicate POST with the same internalId returns the previously reserved requestId rather than creating a new one.
Inputs as a flat { key: value } object: every value must be a string or null. The required and optional keys are schema-specific; discover them with GET /v1/schemas/{schemaId}/required-inputs. Those two lists are the baseline, not an allow-list: additional keys outside both are accepted, stored with the request, echoed back on reads and webhooks, and given to the voice agent as context on any phone call the request makes. A non-string value (number, boolean, nested object, array) is rejected with INVALID_INPUTS and details.invalidInputs (<field> must be a string (got list)). A field that holds several values is therefore one comma-delimited string, not an array: send "cptCodes": "99213,99214". The legacy POST /v1/calls accepts an array here and this endpoint does not, so check those fields when you migrate. Each supplied value is format-checked by type (phone, date, dollar amount, boolean, regex-constrained string) and against two universal rules (no scientific notation, no curly braces); some accounts also enforce memberId structure and per-payer required inputs. Missing or format-invalid inputs return INVALID_INPUTS (400) with details.missingInputs and/or details.invalidInputs. See the Input Validation guide for the full rule list, Creating a Request for examples, and Payer Phone Number Lookup for how omitting phoneNumber affects the response.
Show child attributes
requestType
string
Optional and ignored. Historical field; the request type is derived server-side from the schema. You'll see the canonical value on the requestType field of the RequestResponse returned by GET /v1/requests/{requestId}.
webhookUrl
string | null
Optional. Per-request webhook URL override. Wins over the account-level webhook URL for this single request. Must use https and have a publicly routable host; any other URL is rejected with INVALID_REQUEST.
useMatchedPayerPhone
boolean | null
default:false
Optional. When true and payer phone number lookup is enabled for your account, dial SuperDial's matched payer number even if you supplied phoneNumber, falling back to your supplied number when no match is found (no error). When omitted or false, a supplied phoneNumber is always dialed as-is. Ignored when lookup is off. See Payer Phone Number Lookup.
internalId
string | null
Optional correlation ID that also serves as the request's idempotency key. A retry with the same internalId does not create a new request: it returns the original requestId and the original payerLookup (if any), even if our payer data has changed since. Because it is the idempotency key, a value you supply must be unique per distinct request; reusing one silently returns the original request instead of starting new work. If you omit it, SuperDial generates and maintains its own unique key server-side, so you only need to supply one when you want to correlate results to your own records. See the Correlation and idempotency section in the Creating a Request guide.
internalTag
string | null
Optional. Customer tag, echoed back on reads and webhooks. Useful for grouping requests without polluting your correlation IDs.
aiOnly
boolean | null
Optional. When true, any phone call this request makes is handled only by our automated (AI) voice agent, never a human agent. Leaving it false adds no restriction: it does not force human-agent handling. Defaults to false.
onshoreOnly
boolean | null
Optional. When true, all phone handling for this request is restricted to US-based agents. Leaving it false adds no restriction. Defaults to false.
Response
Request(s) created successfully. The body is CreateRequestSuccess for a single-item POST and CreateRequestBatchResponse (with every entry a success) for a batch.
Option 1
Option 2
Success response from POST /v1/requests on a single-item POST. internalId is echoed only when supplied in the body. payerLookup is present on every created request when payer phone number lookup is enabled for the account (its matched* fields are null unless SuperDial dialed its own matched number).
requestId
string
required
Server-generated request ID. Stable across idempotent retries with the same internalId. Use it on GET /v1/requests/{requestId} to fetch the full result.
requestBatchId
string
required
Server-generated batch ID this request belongs to.
internalId
string | null
Optional. Echoed back from the request body if you supplied one.
dueDate
string<date-time> | null
Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that GET /v1/requests/{requestId} returns. Use it to avoid a read: that read returns 404 until the request is fully created.
payerLookup
object
Payer/phone lookup outcome, returned on POST /v1/requests success responses and on the GET /v1/requests read endpoints. Always present on a created request when payer phone number lookup is enabled for your account. phoneNumberToUse is the number that will be dialed and phoneNumberSource says where it came from. The matched* fields are populated only when SuperDial dials its own matched number (you omitted phoneNumber, or set useMatchedPayerPhone: true and a match was found); when your supplied number is dialed they are null and phoneNumberSource is input. See the Payer Phone Number Lookup guide.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SuperDial API","description":"Submit requests and retrieve results programmatically.","colors":{"primary":"#4a43cd","light":"#6544CC","dark":"#3b2675"},"logo":{"light":"https://mintcdn.com/superdial-9fcd9934/KzxamTIEifVDF1yv/logo/light.svg?fit=max\u0026auto=format\u0026n=KzxamTIEifVDF1yv\u0026q=85\u0026s=77c15b72582931c99c221ee72f68f1dc","dark":"https://mintcdn.com/superdial-9fcd9934/KzxamTIEifVDF1yv/logo/dark.svg?fit=max\u0026auto=format\u0026n=KzxamTIEifVDF1yv\u0026q=85\u0026s=0d69085283efe37ca944e43fde55fa59","href":"/"},"favicon":"https://mintcdn.com/superdial-9fcd9934/KzxamTIEifVDF1yv/favicon.svg?fit=max\u0026auto=format\u0026n=KzxamTIEifVDF1yv\u0026q=85\u0026s=5dd418d27df909620d22251ba70ab764","api":{"playground":{"display":"simple"}},"footer":{"socials":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"superdial-9fcd9934","hasAudioNarration":false,"actualSubdomain":"superdial-9fcd9934","customDomains":["docs.superdial.com"],"gitSource":{"type":"github","owner":"superbill-inc","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afe3bbc2251e2818dabd5ac","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Requests","count":7},{"language":"default","tag":"Schemas","count":5},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Payers","count":2},{"language":"default","tag":"Migration","count":1},{"language":"default","tag":"Authentication","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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/requests/create-a-request","slug":"/api-reference/requests/create-a-request","pageMetadata":{"title":"Create a Request","description":"Submit a single request or a batch of requests. For batch, wrap in `{\"requests\": [...]}`. If `internalId` is supplied on a single request, a duplicate POST with the same `internalId` returns the previously reserved `requestId` rather than creating a new one.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/requests","href":"/api-reference/requests/create-a-request","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Submit a single request or a batch of requests. For batch, wrap in \", _jsx(_components.code, {\n children: \"{\\\"requests\\\": [...]}\"\n }), \". If \", _jsx(_components.code, {\n children: \"internalId\"\n }), \" is supplied on a single request, a duplicate POST with the same \", _jsx(_components.code, {\n children: \"internalId\"\n }), \" returns the previously reserved \", _jsx(_components.code, {\n children: \"requestId\"\n }), \" rather than creating a new one.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a Request","description":"Submit a single request or a batch of requests. For batch, wrap in `{\"requests\": [...]}`. If `internalId` is supplied on a single request, a duplicate POST with the same `internalId` returns the previously reserved `requestId` rather than creating a new one.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/requests","href":"/api-reference/requests/create-a-request","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Requests"],"summary":"Create a Request","description":"Submit a single request or a batch of requests. For batch, wrap in `{\"requests\": [...]}`. If `internalId` is supplied on a single request, a duplicate POST with the same `internalId` returns the previously reserved `requestId` rather than creating a new one.","security":["ff4f2d0d-9b12-4701-960f-8a54746606c3"],"requestBody":"4b6bee5c-9a27-45d2-8645-8b143e549c83","responses":{"200":"81fddc18-a411-4c64-a757-c4b38814bd97","207":"15c2cfbe-515d-4b9f-a77a-897947a01e05","400":"c91ac402-3ff4-45f5-847e-33a999b1ac30","401":"ff2ce249-ce34-4c08-9b66-dec0bf6c8e21","404":"77e77a55-cdd0-47b6-80f9-3c5d8f4600fe","429":"ca0a0582-f1d7-40f4-990d-67c21f8a01b0","500":"1824d50e-1ac9-49a0-9d26-f3e663a2cb2f"},"method":"post","type":"path","servers":["d00ca350-20bb-4a66-854a-eee25d0c064e"],"path":"/v1/requests","baseUrlOptions":["https://robodialer-service-api-9nc4t1p9.uc.gateway.dev"],"title":"Create a Request","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["schemaId","inputs"],"example":{"schemaId":"fWxzG4nqtpHsJxS5Lm3q","inputs":{"payerName":"Sample Insurance Co","memberId":"TEST123456789","phoneNumber":"2125551234","providerNpi":"1234567890","dateOfService":"2026-03-15"},"internalId":"claim_internal_456","internalTag":"march-batch","aiOnly":true,"onshoreOnly":true},"properties":{"schemaId":{"type":"string","description":"Schema ID. Discover yours via `GET /v1/schemas`.","isRequired":true,"uniqueKey":"oneOf.0.schemaId","typeLabel":"string"},"inputs":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"oneOf.0.inputs.additionalProperties","typeLabel":"string"},"description":"Inputs as a flat `{ key: value }` object: every value must be a string or null. The required and optional keys are schema-specific; discover them with `GET /v1/schemas/{schemaId}/required-inputs`. Those two lists are the baseline, not an allow-list: additional keys outside both are accepted, stored with the request, echoed back on reads and webhooks, and given to the voice agent as context on any phone call the request makes. A non-string value (number, boolean, nested object, array) is rejected with `INVALID_INPUTS` and `details.invalidInputs` (`\u003cfield> must be a string (got list)`). A field that holds several values is therefore one comma-delimited string, not an array: send `\"cptCodes\": \"99213,99214\"`. The legacy `POST /v1/calls` accepts an array here and this endpoint does not, so check those fields when you migrate. Each supplied value is format-checked by type (phone, date, dollar amount, boolean, regex-constrained string) and against two universal rules (no scientific notation, no curly braces); some accounts also enforce `memberId` structure and per-payer required inputs. Missing or format-invalid inputs return `INVALID_INPUTS` (400) with `details.missingInputs` and/or `details.invalidInputs`. See the [Input Validation](/guides/input-validation) guide for the full rule list, [Creating a Request](/guides/creating-a-request) for examples, and [Payer Phone Number Lookup](/guides/payer-resolution) for how omitting `phoneNumber` affects the response.","isRequired":true,"uniqueKey":"oneOf.0.inputs","typeLabel":"object"},"requestType":{"type":"string","description":"**Optional and ignored.** Historical field; the request type is derived server-side from the schema. You'll see the canonical value on the `requestType` field of the `RequestResponse` returned by `GET /v1/requests/{requestId}`.","uniqueKey":"oneOf.0.requestType","typeLabel":"string"},"webhookUrl":{"oneOf":[{"type":"string","description":"**Optional.** Per-request webhook URL override. Wins over the account-level webhook URL for this single request. Must use `https` and have a publicly routable host; any other URL is rejected with `INVALID_REQUEST`.","uniqueKey":"oneOf.0.webhookUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Per-request webhook URL override. Wins over the account-level webhook URL for this single request. Must use `https` and have a publicly routable host; any other URL is rejected with `INVALID_REQUEST`.","uniqueKey":"oneOf.0.webhookUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.webhookUrl","typeLabel":"string | null"},"useMatchedPayerPhone":{"oneOf":[{"type":"boolean","default":false,"description":"**Optional.** When `true` and payer phone number lookup is enabled for your account, dial SuperDial's matched payer number even if you supplied `phoneNumber`, falling back to your supplied number when no match is found (no error). When omitted or `false`, a supplied `phoneNumber` is always dialed as-is. Ignored when lookup is off. See [Payer Phone Number Lookup](/guides/payer-resolution#choosing-which-number-to-dial).","uniqueKey":"oneOf.0.useMatchedPayerPhone.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"description":"**Optional.** When `true` and payer phone number lookup is enabled for your account, dial SuperDial's matched payer number even if you supplied `phoneNumber`, falling back to your supplied number when no match is found (no error). When omitted or `false`, a supplied `phoneNumber` is always dialed as-is. Ignored when lookup is off. See [Payer Phone Number Lookup](/guides/payer-resolution#choosing-which-number-to-dial).","uniqueKey":"oneOf.0.useMatchedPayerPhone.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.useMatchedPayerPhone","typeLabel":"boolean | null"},"internalId":{"oneOf":[{"type":"string","description":"**Optional** correlation ID that also serves as the request's idempotency key. A retry with the same `internalId` does not create a new request: it returns the original `requestId` and the original `payerLookup` (if any), even if our payer data has changed since. Because it is the idempotency key, a value you supply **must be unique per distinct request**; reusing one silently returns the original request instead of starting new work. If you omit it, SuperDial generates and maintains its own unique key server-side, so you only need to supply one when you want to correlate results to your own records. See the Correlation and idempotency section in the Creating a Request guide.","uniqueKey":"oneOf.0.internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional** correlation ID that also serves as the request's idempotency key. A retry with the same `internalId` does not create a new request: it returns the original `requestId` and the original `payerLookup` (if any), even if our payer data has changed since. Because it is the idempotency key, a value you supply **must be unique per distinct request**; reusing one silently returns the original request instead of starting new work. If you omit it, SuperDial generates and maintains its own unique key server-side, so you only need to supply one when you want to correlate results to your own records. See the Correlation and idempotency section in the Creating a Request guide.","uniqueKey":"oneOf.0.internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.internalId","typeLabel":"string | null"},"internalTag":{"oneOf":[{"type":"string","description":"**Optional.** Customer tag, echoed back on reads and webhooks. Useful for grouping requests without polluting your correlation IDs.","uniqueKey":"oneOf.0.internalTag.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Customer tag, echoed back on reads and webhooks. Useful for grouping requests without polluting your correlation IDs.","uniqueKey":"oneOf.0.internalTag.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.internalTag","typeLabel":"string | null"},"aiOnly":{"oneOf":[{"type":"boolean","description":"**Optional.** When `true`, any phone call this request makes is handled only by our automated (AI) voice agent, never a human agent. Leaving it `false` adds no restriction: it does not force human-agent handling. Defaults to `false`.","uniqueKey":"oneOf.0.aiOnly.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"**Optional.** When `true`, any phone call this request makes is handled only by our automated (AI) voice agent, never a human agent. Leaving it `false` adds no restriction: it does not force human-agent handling. Defaults to `false`.","uniqueKey":"oneOf.0.aiOnly.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.aiOnly","typeLabel":"boolean | null"},"onshoreOnly":{"oneOf":[{"type":"boolean","description":"**Optional.** When `true`, all phone handling for this request is restricted to US-based agents. Leaving it `false` adds no restriction. Defaults to `false`.","uniqueKey":"oneOf.0.onshoreOnly.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"**Optional.** When `true`, all phone handling for this request is restricted to US-based agents. Leaving it `false` adds no restriction. Defaults to `false`.","uniqueKey":"oneOf.0.onshoreOnly.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.onshoreOnly","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["requests"],"example":{"requests":[{"schemaId":"fWxzG4nqtpHsJxS5Lm3q","inputs":{"payerName":"Sample Insurance Co","memberId":"TEST123456789","phoneNumber":"2125551234"},"internalId":"claim_001"},{"schemaId":"fWxzG4nqtpHsJxS5Lm3q","inputs":{"payerName":"Sample Insurance Co","memberId":"TEST987654321","phoneNumber":"2125551234"},"internalId":"claim_002"}]},"properties":{"requests":{"type":"array","minItems":1,"description":"Non-empty array of request bodies. Empty arrays are rejected with HTTP 400.","items":{"type":"object","required":["schemaId","inputs"],"properties":{"schemaId":{"type":"string","description":"Schema ID. Discover yours via `GET /v1/schemas`.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].schemaId","typeLabel":"string"},"inputs":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].inputs.additionalProperties","typeLabel":"string"},"description":"Inputs as a flat `{ key: value }` object: every value must be a string or null. The required and optional keys are schema-specific; discover them with `GET /v1/schemas/{schemaId}/required-inputs`. Those two lists are the baseline, not an allow-list: additional keys outside both are accepted, stored with the request, echoed back on reads and webhooks, and given to the voice agent as context on any phone call the request makes. A non-string value (number, boolean, nested object, array) is rejected with `INVALID_INPUTS` and `details.invalidInputs` (`\u003cfield> must be a string (got list)`). A field that holds several values is therefore one comma-delimited string, not an array: send `\"cptCodes\": \"99213,99214\"`. The legacy `POST /v1/calls` accepts an array here and this endpoint does not, so check those fields when you migrate. Each supplied value is format-checked by type (phone, date, dollar amount, boolean, regex-constrained string) and against two universal rules (no scientific notation, no curly braces); some accounts also enforce `memberId` structure and per-payer required inputs. Missing or format-invalid inputs return `INVALID_INPUTS` (400) with `details.missingInputs` and/or `details.invalidInputs`. See the [Input Validation](/guides/input-validation) guide for the full rule list, [Creating a Request](/guides/creating-a-request) for examples, and [Payer Phone Number Lookup](/guides/payer-resolution) for how omitting `phoneNumber` affects the response.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].inputs","typeLabel":"object"},"requestType":{"type":"string","description":"**Optional and ignored.** Historical field; the request type is derived server-side from the schema. You'll see the canonical value on the `requestType` field of the `RequestResponse` returned by `GET /v1/requests/{requestId}`.","uniqueKey":"oneOf.1.requests.items.[INDEX].requestType","typeLabel":"string"},"webhookUrl":{"oneOf":[{"type":"string","description":"**Optional.** Per-request webhook URL override. Wins over the account-level webhook URL for this single request. Must use `https` and have a publicly routable host; any other URL is rejected with `INVALID_REQUEST`.","uniqueKey":"oneOf.1.requests.items.[INDEX].webhookUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Per-request webhook URL override. Wins over the account-level webhook URL for this single request. Must use `https` and have a publicly routable host; any other URL is rejected with `INVALID_REQUEST`.","uniqueKey":"oneOf.1.requests.items.[INDEX].webhookUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].webhookUrl","typeLabel":"string | null"},"useMatchedPayerPhone":{"oneOf":[{"type":"boolean","default":false,"description":"**Optional.** When `true` and payer phone number lookup is enabled for your account, dial SuperDial's matched payer number even if you supplied `phoneNumber`, falling back to your supplied number when no match is found (no error). When omitted or `false`, a supplied `phoneNumber` is always dialed as-is. Ignored when lookup is off. See [Payer Phone Number Lookup](/guides/payer-resolution#choosing-which-number-to-dial).","uniqueKey":"oneOf.1.requests.items.[INDEX].useMatchedPayerPhone.oneOf.0","typeLabel":"boolean"},{"type":"null","default":false,"description":"**Optional.** When `true` and payer phone number lookup is enabled for your account, dial SuperDial's matched payer number even if you supplied `phoneNumber`, falling back to your supplied number when no match is found (no error). When omitted or `false`, a supplied `phoneNumber` is always dialed as-is. Ignored when lookup is off. See [Payer Phone Number Lookup](/guides/payer-resolution#choosing-which-number-to-dial).","uniqueKey":"oneOf.1.requests.items.[INDEX].useMatchedPayerPhone.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].useMatchedPayerPhone","typeLabel":"boolean | null"},"internalId":{"oneOf":[{"type":"string","description":"**Optional** correlation ID that also serves as the request's idempotency key. A retry with the same `internalId` does not create a new request: it returns the original `requestId` and the original `payerLookup` (if any), even if our payer data has changed since. Because it is the idempotency key, a value you supply **must be unique per distinct request**; reusing one silently returns the original request instead of starting new work. If you omit it, SuperDial generates and maintains its own unique key server-side, so you only need to supply one when you want to correlate results to your own records. See the Correlation and idempotency section in the Creating a Request guide.","uniqueKey":"oneOf.1.requests.items.[INDEX].internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional** correlation ID that also serves as the request's idempotency key. A retry with the same `internalId` does not create a new request: it returns the original `requestId` and the original `payerLookup` (if any), even if our payer data has changed since. Because it is the idempotency key, a value you supply **must be unique per distinct request**; reusing one silently returns the original request instead of starting new work. If you omit it, SuperDial generates and maintains its own unique key server-side, so you only need to supply one when you want to correlate results to your own records. See the Correlation and idempotency section in the Creating a Request guide.","uniqueKey":"oneOf.1.requests.items.[INDEX].internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].internalId","typeLabel":"string | null"},"internalTag":{"oneOf":[{"type":"string","description":"**Optional.** Customer tag, echoed back on reads and webhooks. Useful for grouping requests without polluting your correlation IDs.","uniqueKey":"oneOf.1.requests.items.[INDEX].internalTag.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Customer tag, echoed back on reads and webhooks. Useful for grouping requests without polluting your correlation IDs.","uniqueKey":"oneOf.1.requests.items.[INDEX].internalTag.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].internalTag","typeLabel":"string | null"},"aiOnly":{"oneOf":[{"type":"boolean","description":"**Optional.** When `true`, any phone call this request makes is handled only by our automated (AI) voice agent, never a human agent. Leaving it `false` adds no restriction: it does not force human-agent handling. Defaults to `false`.","uniqueKey":"oneOf.1.requests.items.[INDEX].aiOnly.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"**Optional.** When `true`, any phone call this request makes is handled only by our automated (AI) voice agent, never a human agent. Leaving it `false` adds no restriction: it does not force human-agent handling. Defaults to `false`.","uniqueKey":"oneOf.1.requests.items.[INDEX].aiOnly.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].aiOnly","typeLabel":"boolean | null"},"onshoreOnly":{"oneOf":[{"type":"boolean","description":"**Optional.** When `true`, all phone handling for this request is restricted to US-based agents. Leaving it `false` adds no restriction. Defaults to `false`.","uniqueKey":"oneOf.1.requests.items.[INDEX].onshoreOnly.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"**Optional.** When `true`, all phone handling for this request is restricted to US-based agents. Leaving it `false` adds no restriction. Defaults to `false`.","uniqueKey":"oneOf.1.requests.items.[INDEX].onshoreOnly.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].onshoreOnly","typeLabel":"boolean | null"}},"example":{"schemaId":"fWxzG4nqtpHsJxS5Lm3q","inputs":{"payerName":"Sample Insurance Co","memberId":"TEST123456789","phoneNumber":"2125551234","providerNpi":"1234567890","dateOfService":"2026-03-15"},"internalId":"claim_internal_456","internalTag":"march-batch","aiOnly":true,"onshoreOnly":true},"uniqueKey":"oneOf.1.requests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.requests","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"single":{"title":"single","summary":"Single request","value":{"schemaId":"fWxzG4nqtpHsJxS5Lm3q","inputs":{"payerName":"Sample Insurance Co","memberId":"TEST123456789","phoneNumber":"2125551234","providerNpi":"1234567890","dateOfService":"2026-03-15"},"internalId":"claim_internal_456"}},"batch":{"title":"batch","summary":"Batch: multiple requests in one POST","value":{"requests":[{"schemaId":"fWxzG4nqtpHsJxS5Lm3q","inputs":{"payerName":"Sample Insurance Co","memberId":"TEST123456789","phoneNumber":"2125551234","providerNpi":"1234567890","dateOfService":"2026-03-15"},"internalId":"claim_001"},{"schemaId":"fWxzG4nqtpHsJxS5Lm3q","inputs":{"payerName":"Sample Insurance Co","memberId":"TEST987654321","phoneNumber":"2125551234","providerNpi":"1234567890","dateOfService":"2026-03-12"},"internalId":"claim_002"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"81fddc18-a411-4c64-a757-c4b38814bd97":{"description":"Request(s) created successfully. The body is `CreateRequestSuccess` for a single-item POST and `CreateRequestBatchResponse` (with every entry a success) for a batch.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Success response from `POST /v1/requests` on a single-item POST. `internalId` is echoed only when supplied in the body. `payerLookup` is present on every created request when payer phone number lookup is enabled for the account (its `matched*` fields are `null` unless SuperDial dialed its own matched number).","required":["requestId","requestBatchId"],"example":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456","dueDate":"2026-04-25T23:00:00+00:00"},"properties":{"requestId":{"type":"string","description":"Server-generated request ID. Stable across idempotent retries with the same `internalId`. Use it on `GET /v1/requests/{requestId}` to fetch the full result.","isRequired":true,"uniqueKey":"oneOf.0.requestId","typeLabel":"string"},"requestBatchId":{"type":"string","description":"Server-generated batch ID this request belongs to.","isRequired":true,"uniqueKey":"oneOf.0.requestBatchId","typeLabel":"string"},"internalId":{"oneOf":[{"type":"string","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.0.internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.0.internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.internalId","typeLabel":"string | null"},"dueDate":{"oneOf":[{"type":"string","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.0.dueDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.0.dueDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.dueDate","typeLabel":"string\u003cdate-time> | null"},"payerLookup":{"type":"object","description":"Payer/phone lookup outcome, returned on `POST /v1/requests` success responses and on the `GET /v1/requests` read endpoints. **Always present** on a created request when payer phone number lookup is enabled for your account. `phoneNumberToUse` is the number that will be dialed and `phoneNumberSource` says where it came from. The `matched*` fields are populated **only when SuperDial dials its own matched number** (you omitted `phoneNumber`, or set `useMatchedPayerPhone: true` and a match was found); when your supplied number is dialed they are `null` and `phoneNumberSource` is `input`. See the [Payer Phone Number Lookup guide](/guides/payer-resolution).","required":["inputPayerName","inputPhoneNumber","matchedPayerName","matchedPayerPhone","phoneNumberToUse","phoneNumberSource"],"properties":{"inputPayerName":{"oneOf":[{"type":"string","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.inputPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.inputPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.payerLookup.inputPayerName","typeLabel":"string | null"},"inputPhoneNumber":{"oneOf":[{"type":"string","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.inputPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.inputPhoneNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.payerLookup.inputPhoneNumber","typeLabel":"string | null"},"matchedPayerName":{"oneOf":[{"type":"string","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.matchedPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.matchedPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.payerLookup.matchedPayerName","typeLabel":"string | null"},"matchedPayerPhone":{"oneOf":[{"type":"string","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.matchedPayerPhone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.matchedPayerPhone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.payerLookup.matchedPayerPhone","typeLabel":"string | null"},"phoneNumberToUse":{"oneOf":[{"type":"string","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.phoneNumberToUse.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.phoneNumberToUse.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.payerLookup.phoneNumberToUse","typeLabel":"string | null"},"phoneNumberSource":{"oneOf":[{"type":"string","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.phoneNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.0.payerLookup.phoneNumberSource.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.payerLookup.phoneNumberSource","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.0.payerLookup","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Response from `POST /v1/requests` on a batch POST. Each entry in `requests` is positionally aligned with the input and is either a `CreateRequestSuccess` payload or an `ApiError` envelope. In the batch context, schema-not-found surfaces per-entry as `INVALID_REQUEST` (with `\"Schema not found\"` in `message`); the `SCHEMA_NOT_FOUND` error code only appears on single-item 404s.","required":["requests"],"example":{"requests":[{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_001"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]},"properties":{"requests":{"type":"array","items":{"oneOf":[{"type":"object","description":"Success response from `POST /v1/requests` on a single-item POST. `internalId` is echoed only when supplied in the body. `payerLookup` is present on every created request when payer phone number lookup is enabled for the account (its `matched*` fields are `null` unless SuperDial dialed its own matched number).","required":["requestId","requestBatchId"],"example":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456","dueDate":"2026-04-25T23:00:00+00:00"},"properties":{"requestId":{"type":"string","description":"Server-generated request ID. Stable across idempotent retries with the same `internalId`. Use it on `GET /v1/requests/{requestId}` to fetch the full result.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestId","typeLabel":"string"},"requestBatchId":{"type":"string","description":"Server-generated batch ID this request belongs to.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestBatchId","typeLabel":"string"},"internalId":{"oneOf":[{"type":"string","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId","typeLabel":"string | null"},"dueDate":{"oneOf":[{"type":"string","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate","typeLabel":"string\u003cdate-time> | null"},"payerLookup":{"type":"object","description":"Payer/phone lookup outcome, returned on `POST /v1/requests` success responses and on the `GET /v1/requests` read endpoints. **Always present** on a created request when payer phone number lookup is enabled for your account. `phoneNumberToUse` is the number that will be dialed and `phoneNumberSource` says where it came from. The `matched*` fields are populated **only when SuperDial dials its own matched number** (you omitted `phoneNumber`, or set `useMatchedPayerPhone: true` and a match was found); when your supplied number is dialed they are `null` and `phoneNumberSource` is `input`. See the [Payer Phone Number Lookup guide](/guides/payer-resolution).","required":["inputPayerName","inputPhoneNumber","matchedPayerName","matchedPayerPhone","phoneNumberToUse","phoneNumberSource"],"properties":{"inputPayerName":{"oneOf":[{"type":"string","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName","typeLabel":"string | null"},"inputPhoneNumber":{"oneOf":[{"type":"string","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber","typeLabel":"string | null"},"matchedPayerName":{"oneOf":[{"type":"string","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName","typeLabel":"string | null"},"matchedPayerPhone":{"oneOf":[{"type":"string","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone","typeLabel":"string | null"},"phoneNumberToUse":{"oneOf":[{"type":"string","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse","typeLabel":"string | null"},"phoneNumberSource":{"oneOf":[{"type":"string","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.requests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.requests","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"single":{"title":"single","summary":"Single: request created","value":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456"}},"singleWithPayerLookup":{"title":"singleWithPayerLookup","summary":"Single: request created, plus synchronous payer phone number lookup succeeded (payerName supplied without phoneNumber)","value":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456","payerLookup":{"inputPayerName":"Sample Insurance Co","inputPhoneNumber":null,"matchedPayerName":"Sample Insurance Company, Inc.","matchedPayerPhone":"8005551234","phoneNumberToUse":"8005551234","phoneNumberSource":"superdial"}}},"singleIdempotentReplay":{"title":"singleIdempotentReplay","summary":"Single: idempotent replay (same internalId returns the original requestId)","value":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456"}},"batch":{"title":"batch","summary":"Batch: every entry created successfully","value":{"requests":[{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_001"},{"requestId":"aC3hN5jD8eL1fM2gK6Yo","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_002"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"15c2cfbe-515d-4b9f-a77a-897947a01e05":{"description":"Partial success (batch only): at least one entry succeeded and at least one failed (validation, lookup, or server error). Each failed entry uses the `ApiError` envelope; succeeded entries use `CreateRequestSuccess`. The batch response itself does not carry a top-level error.","content":{"application/json":{"schema":{"type":"object","description":"Response from `POST /v1/requests` on a batch POST. Each entry in `requests` is positionally aligned with the input and is either a `CreateRequestSuccess` payload or an `ApiError` envelope. In the batch context, schema-not-found surfaces per-entry as `INVALID_REQUEST` (with `\"Schema not found\"` in `message`); the `SCHEMA_NOT_FOUND` error code only appears on single-item 404s.","required":["requests"],"properties":{"requests":{"type":"array","items":{"oneOf":[{"type":"object","description":"Success response from `POST /v1/requests` on a single-item POST. `internalId` is echoed only when supplied in the body. `payerLookup` is present on every created request when payer phone number lookup is enabled for the account (its `matched*` fields are `null` unless SuperDial dialed its own matched number).","required":["requestId","requestBatchId"],"example":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456","dueDate":"2026-04-25T23:00:00+00:00"},"properties":{"requestId":{"type":"string","description":"Server-generated request ID. Stable across idempotent retries with the same `internalId`. Use it on `GET /v1/requests/{requestId}` to fetch the full result.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.requestId","typeLabel":"string"},"requestBatchId":{"type":"string","description":"Server-generated batch ID this request belongs to.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.requestBatchId","typeLabel":"string"},"internalId":{"oneOf":[{"type":"string","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"requests.items.[INDEX].oneOf.0.internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"requests.items.[INDEX].oneOf.0.internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requests.items.[INDEX].oneOf.0.internalId","typeLabel":"string | null"},"dueDate":{"oneOf":[{"type":"string","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"requests.items.[INDEX].oneOf.0.dueDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"requests.items.[INDEX].oneOf.0.dueDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"requests.items.[INDEX].oneOf.0.dueDate","typeLabel":"string\u003cdate-time> | null"},"payerLookup":{"type":"object","description":"Payer/phone lookup outcome, returned on `POST /v1/requests` success responses and on the `GET /v1/requests` read endpoints. **Always present** on a created request when payer phone number lookup is enabled for your account. `phoneNumberToUse` is the number that will be dialed and `phoneNumberSource` says where it came from. The `matched*` fields are populated **only when SuperDial dials its own matched number** (you omitted `phoneNumber`, or set `useMatchedPayerPhone: true` and a match was found); when your supplied number is dialed they are `null` and `phoneNumberSource` is `input`. See the [Payer Phone Number Lookup guide](/guides/payer-resolution).","required":["inputPayerName","inputPhoneNumber","matchedPayerName","matchedPayerPhone","phoneNumberToUse","phoneNumberSource"],"properties":{"inputPayerName":{"oneOf":[{"type":"string","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName","typeLabel":"string | null"},"inputPhoneNumber":{"oneOf":[{"type":"string","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber","typeLabel":"string | null"},"matchedPayerName":{"oneOf":[{"type":"string","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName","typeLabel":"string | null"},"matchedPayerPhone":{"oneOf":[{"type":"string","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone","typeLabel":"string | null"},"phoneNumberToUse":{"oneOf":[{"type":"string","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse","typeLabel":"string | null"},"phoneNumberSource":{"oneOf":[{"type":"string","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"requests.items.[INDEX].oneOf.0.payerLookup","typeLabel":"object"}},"uniqueKey":"requests.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.1.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"requests.items.[INDEX].oneOf.1.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"requests.items.[INDEX].oneOf.1.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"requests.items.[INDEX].oneOf.1.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"requests.items.[INDEX].oneOf.1.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"requests.items.[INDEX].oneOf.1.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"requests.items.[INDEX].oneOf.1.details","typeLabel":"object"}},"uniqueKey":"requests.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"requests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"requests","typeLabel":"object[]"}},"example":{"requests":[{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_001"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]},"uniqueKey":"","typeLabel":"object"},"examples":{"batchMixed":{"title":"batchMixed","summary":"Batch: one entry created, one failed validation","value":{"requests":[{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_001"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"c91ac402-3ff4-45f5-847e-33a999b1ac30":{"description":"Validation error. The body is always an `ApiError` envelope, except when every entry of a batch failed validation. In that case the body is a `CreateRequestBatchResponse` and each entry is its own `ApiError`. Codes returned at this status: `INVALID_REQUEST` (payload-shape, missing required fields, scheduling-capacity errors) and `INVALID_INPUTS` (input validation, with `details.missingInputs` and/or `details.invalidInputs`). With per-payer required inputs enabled, `details.missingInputs` can also include inputs a payer requires beyond the schema fields.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"oneOf.0.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"oneOf.0.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.0.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"oneOf.0.details","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Response from `POST /v1/requests` on a batch POST. Each entry in `requests` is positionally aligned with the input and is either a `CreateRequestSuccess` payload or an `ApiError` envelope. In the batch context, schema-not-found surfaces per-entry as `INVALID_REQUEST` (with `\"Schema not found\"` in `message`); the `SCHEMA_NOT_FOUND` error code only appears on single-item 404s.","required":["requests"],"example":{"requests":[{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_001"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]},"properties":{"requests":{"type":"array","items":{"oneOf":[{"type":"object","description":"Success response from `POST /v1/requests` on a single-item POST. `internalId` is echoed only when supplied in the body. `payerLookup` is present on every created request when payer phone number lookup is enabled for the account (its `matched*` fields are `null` unless SuperDial dialed its own matched number).","required":["requestId","requestBatchId"],"example":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456","dueDate":"2026-04-25T23:00:00+00:00"},"properties":{"requestId":{"type":"string","description":"Server-generated request ID. Stable across idempotent retries with the same `internalId`. Use it on `GET /v1/requests/{requestId}` to fetch the full result.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestId","typeLabel":"string"},"requestBatchId":{"type":"string","description":"Server-generated batch ID this request belongs to.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestBatchId","typeLabel":"string"},"internalId":{"oneOf":[{"type":"string","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId","typeLabel":"string | null"},"dueDate":{"oneOf":[{"type":"string","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate","typeLabel":"string\u003cdate-time> | null"},"payerLookup":{"type":"object","description":"Payer/phone lookup outcome, returned on `POST /v1/requests` success responses and on the `GET /v1/requests` read endpoints. **Always present** on a created request when payer phone number lookup is enabled for your account. `phoneNumberToUse` is the number that will be dialed and `phoneNumberSource` says where it came from. The `matched*` fields are populated **only when SuperDial dials its own matched number** (you omitted `phoneNumber`, or set `useMatchedPayerPhone: true` and a match was found); when your supplied number is dialed they are `null` and `phoneNumberSource` is `input`. See the [Payer Phone Number Lookup guide](/guides/payer-resolution).","required":["inputPayerName","inputPhoneNumber","matchedPayerName","matchedPayerPhone","phoneNumberToUse","phoneNumberSource"],"properties":{"inputPayerName":{"oneOf":[{"type":"string","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName","typeLabel":"string | null"},"inputPhoneNumber":{"oneOf":[{"type":"string","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber","typeLabel":"string | null"},"matchedPayerName":{"oneOf":[{"type":"string","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName","typeLabel":"string | null"},"matchedPayerPhone":{"oneOf":[{"type":"string","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone","typeLabel":"string | null"},"phoneNumberToUse":{"oneOf":[{"type":"string","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse","typeLabel":"string | null"},"phoneNumberSource":{"oneOf":[{"type":"string","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.requests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.requests","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"bodyNotJsonObject":{"title":"bodyNotJsonObject","summary":"Body is missing, empty, or not a JSON object (e.g. a JSON array)","value":{"error":"INVALID_REQUEST","message":"The request body must be a JSON object."}},"schemaIdRequired":{"title":"schemaIdRequired","summary":"Single: schemaId missing","value":{"error":"INVALID_REQUEST","message":"schemaId is required"}},"inputsNotObject":{"title":"inputsNotObject","summary":"Single: inputs is not a JSON object","value":{"error":"INVALID_REQUEST","message":"inputs must be an object"}},"inputsMissing":{"title":"inputsMissing","summary":"Required schema inputs are missing (details lists every missing field)","value":{"error":"INVALID_INPUTS","message":"Required inputs are missing or invalid.","details":{"missingInputs":["beginningDateOfService","billingProviderName","billingProviderTaxId","claimChargeAmount","memberId","patientDateOfBirth","patientFirstName","patientLastName","phoneNumber","renderingProviderName","renderingProviderNpi"]}}},"inputsInvalid":{"title":"inputsInvalid","summary":"Required inputs missing AND format-invalid (details has both blocks)","value":{"error":"INVALID_INPUTS","message":"Required inputs are missing or invalid.","details":{"missingInputs":["beginningDateOfService","billingProviderName","billingProviderTaxId","claimChargeAmount","patientDateOfBirth","patientFirstName","patientLastName","renderingProviderName","renderingProviderNpi"],"invalidInputs":{"memberId":"memberId contains invalid characters (curly braces)","phoneNumber":"phoneNumber is not a valid U.S. phone number"}}}},"inputsFormatInvalid":{"title":"inputsFormatInvalid","summary":"Format rules applied to supplied values. See the Input Validation guide for every rule","value":{"error":"INVALID_INPUTS","message":"Required inputs are missing or invalid.","details":{"invalidInputs":{"claimChargeAmount":"claimChargeAmount is scientific notation","dateOfService":"dateOfService is invalid","phoneNumber":"phoneNumber is not a valid U.S. phone number"}}}},"inputValueNotString":{"title":"inputValueNotString","summary":"A value is not a string. The type gate runs before any format rule, and covers keys outside the schema too","value":{"error":"INVALID_INPUTS","message":"Required inputs are missing or invalid.","details":{"invalidInputs":{"priorDenialReason":"priorDenialReason must be a string (got dict)"}}}},"memberIdRejected":{"title":"memberIdRejected","summary":"Member-ID validation (only when enabled for your account): here a BCBS payer with a too-short memberId","value":{"error":"INVALID_INPUTS","message":"Required inputs are missing or invalid.","details":{"invalidInputs":{"memberId":"memberId 'ABC' is too short to be a BCBS member ID (got 3 characters, minimum is 9). BCBS Federal IDs are 9 chars (R + 8 digits); commercial IDs are typically 11+."}}}},"dailyLimitZero":{"title":"dailyLimitZero","summary":"Daily call limit on the account is configured at 0","value":{"error":"INVALID_REQUEST","message":"Daily calls limit is set to 0: cannot schedule batches"}},"capacityExceeded":{"title":"capacityExceeded","summary":"Account is fully booked beyond the 365-day scheduling horizon","value":{"error":"INVALID_REQUEST","message":"Could not schedule all rows within 365 days: 5 of 100 rows could not be placed"}},"batchEmpty":{"title":"batchEmpty","summary":"Batch: requests array missing or empty","value":{"error":"INVALID_REQUEST","message":"The 'requests' array must contain at least one entry."}},"payerNotFound":{"title":"payerNotFound","summary":"Payer phone number lookup: `payerName` did not match any known payer (only fires when `phoneNumber` was omitted).","value":{"error":"PAYER_NOT_FOUND","message":"Could not match the supplied payerName to any known payer."}},"batchAllFailed":{"title":"batchAllFailed","summary":"Batch: every entry failed validation (per-entry envelopes; HTTP 400 because no entry succeeded and no entry hit a server error). Note: schema-not-found surfaces here as `INVALID_REQUEST` with the validator's `Schema not found` message because batch entries don't carry status codes. Read `message` to distinguish 4xx causes.","value":{"requests":[{"error":"INVALID_REQUEST","message":"Schema not found"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"ff2ce249-ce34-4c08-9b66-dec0bf6c8e21":{"description":"Unauthorized: enforced by the API gateway. Returned when the `Authorization: Bearer \u003ctoken>` header is missing, malformed, or the token is invalid/expired. The gateway uses its own envelope (`{code, message}`), distinct from the service's `ApiError`.","headers":{"WWW-Authenticate":{"description":"Bearer realm and (when applicable) error code per RFC 6750.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","description":"Error envelope returned by the API Gateway for auth failures and routing errors. Distinct from the service's own `ApiError` envelope: gateway responses use `{code, message}` because they're produced before the request reaches the service.","properties":{"code":{"type":"integer","description":"HTTP status code, repeated in the body.","example":401,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"message":{"type":"string","description":"Human-readable error message from the gateway.","example":"Jwt is missing","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"missingAuth":{"title":"missingAuth","summary":"No Authorization header","value":{"code":401,"message":"Jwt is missing"}},"malformedJwt":{"title":"malformedJwt","summary":"Authorization header value isn't a valid JWT","value":{"code":401,"message":"Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections"}}},"exampleType":"examples"}},"exampleType":"examples"},"77e77a55-cdd0-47b6-80f9-3c5d8f4600fe":{"description":"Resource not found: schema or account.","content":{"application/json":{"schema":{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"details.invalidInputs","typeLabel":"object"}},"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"schemaNotFound":{"title":"schemaNotFound","summary":"schemaId does not exist for this account, or has been retired","value":{"error":"SCHEMA_NOT_FOUND","message":"No schema with that ID exists for your account."}},"accountNotFound":{"title":"accountNotFound","summary":"The API key resolves to an account that no longer exists. Rare: wrong-API-key cases hit `INVALID_API_KEY` at `/v1/auth` first.","value":{"error":"ACCOUNT_NOT_FOUND","message":"No account is associated with this API key. Contact support if you believe this is an error."}}},"exampleType":"examples"}},"exampleType":"examples"},"ca0a0582-f1d7-40f4-990d-67c21f8a01b0":{"description":"The request could not be queued. `error` is `TEMPORARILY_UNAVAILABLE`. Nothing was created. Send it again later. A batch returns 429 only when no entry succeeded and at least one entry could not be queued; otherwise those entries carry the same `ApiError` inside a 207 or 400.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"oneOf.0.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"oneOf.0.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.0.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"oneOf.0.details","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Response from `POST /v1/requests` on a batch POST. Each entry in `requests` is positionally aligned with the input and is either a `CreateRequestSuccess` payload or an `ApiError` envelope. In the batch context, schema-not-found surfaces per-entry as `INVALID_REQUEST` (with `\"Schema not found\"` in `message`); the `SCHEMA_NOT_FOUND` error code only appears on single-item 404s.","required":["requests"],"example":{"requests":[{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_001"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]},"properties":{"requests":{"type":"array","items":{"oneOf":[{"type":"object","description":"Success response from `POST /v1/requests` on a single-item POST. `internalId` is echoed only when supplied in the body. `payerLookup` is present on every created request when payer phone number lookup is enabled for the account (its `matched*` fields are `null` unless SuperDial dialed its own matched number).","required":["requestId","requestBatchId"],"example":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456","dueDate":"2026-04-25T23:00:00+00:00"},"properties":{"requestId":{"type":"string","description":"Server-generated request ID. Stable across idempotent retries with the same `internalId`. Use it on `GET /v1/requests/{requestId}` to fetch the full result.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestId","typeLabel":"string"},"requestBatchId":{"type":"string","description":"Server-generated batch ID this request belongs to.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestBatchId","typeLabel":"string"},"internalId":{"oneOf":[{"type":"string","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId","typeLabel":"string | null"},"dueDate":{"oneOf":[{"type":"string","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate","typeLabel":"string\u003cdate-time> | null"},"payerLookup":{"type":"object","description":"Payer/phone lookup outcome, returned on `POST /v1/requests` success responses and on the `GET /v1/requests` read endpoints. **Always present** on a created request when payer phone number lookup is enabled for your account. `phoneNumberToUse` is the number that will be dialed and `phoneNumberSource` says where it came from. The `matched*` fields are populated **only when SuperDial dials its own matched number** (you omitted `phoneNumber`, or set `useMatchedPayerPhone: true` and a match was found); when your supplied number is dialed they are `null` and `phoneNumberSource` is `input`. See the [Payer Phone Number Lookup guide](/guides/payer-resolution).","required":["inputPayerName","inputPhoneNumber","matchedPayerName","matchedPayerPhone","phoneNumberToUse","phoneNumberSource"],"properties":{"inputPayerName":{"oneOf":[{"type":"string","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName","typeLabel":"string | null"},"inputPhoneNumber":{"oneOf":[{"type":"string","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber","typeLabel":"string | null"},"matchedPayerName":{"oneOf":[{"type":"string","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName","typeLabel":"string | null"},"matchedPayerPhone":{"oneOf":[{"type":"string","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone","typeLabel":"string | null"},"phoneNumberToUse":{"oneOf":[{"type":"string","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse","typeLabel":"string | null"},"phoneNumberSource":{"oneOf":[{"type":"string","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.requests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.requests","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"INVALID_REQUEST","message":"\u003cstring>","details":{"missingInputs":["\u003cstring>"],"invalidInputs":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"1824d50e-1ac9-49a0-9d26-f3e663a2cb2f":{"description":"Internal server error. **Single-item POST:** body is the top-level `INTERNAL_ERROR` envelope. **Batch POST:** body can take **either** of two shapes: top-level `INTERNAL_ERROR` envelope (the common case), or `{\"requests\": [...]}` with per-entry envelopes (rarer: every entry failed and at least one was a server error). Check for the `requests` key to tell the two shapes apart.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"oneOf.0.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"oneOf.0.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.0.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"oneOf.0.details","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Response from `POST /v1/requests` on a batch POST. Each entry in `requests` is positionally aligned with the input and is either a `CreateRequestSuccess` payload or an `ApiError` envelope. In the batch context, schema-not-found surfaces per-entry as `INVALID_REQUEST` (with `\"Schema not found\"` in `message`); the `SCHEMA_NOT_FOUND` error code only appears on single-item 404s.","required":["requests"],"example":{"requests":[{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_001"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]},"properties":{"requests":{"type":"array","items":{"oneOf":[{"type":"object","description":"Success response from `POST /v1/requests` on a single-item POST. `internalId` is echoed only when supplied in the body. `payerLookup` is present on every created request when payer phone number lookup is enabled for the account (its `matched*` fields are `null` unless SuperDial dialed its own matched number).","required":["requestId","requestBatchId"],"example":{"requestId":"8bF7xK2mP9qR4sT6uV0w","requestBatchId":"pH9kJ2lM4nB6vC8xZ7Qr","internalId":"claim_internal_456","dueDate":"2026-04-25T23:00:00+00:00"},"properties":{"requestId":{"type":"string","description":"Server-generated request ID. Stable across idempotent retries with the same `internalId`. Use it on `GET /v1/requests/{requestId}` to fetch the full result.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestId","typeLabel":"string"},"requestBatchId":{"type":"string","description":"Server-generated batch ID this request belongs to.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.requestBatchId","typeLabel":"string"},"internalId":{"oneOf":[{"type":"string","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"**Optional.** Echoed back from the request body if you supplied one.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.internalId","typeLabel":"string | null"},"dueDate":{"oneOf":[{"type":"string","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date for this request, as a UTC ISO-8601 timestamp. It is the same value that `GET /v1/requests/{requestId}` returns. Use it to avoid a read: that read returns `404` until the request is fully created.","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.dueDate","typeLabel":"string\u003cdate-time> | null"},"payerLookup":{"type":"object","description":"Payer/phone lookup outcome, returned on `POST /v1/requests` success responses and on the `GET /v1/requests` read endpoints. **Always present** on a created request when payer phone number lookup is enabled for your account. `phoneNumberToUse` is the number that will be dialed and `phoneNumberSource` says where it came from. The `matched*` fields are populated **only when SuperDial dials its own matched number** (you omitted `phoneNumber`, or set `useMatchedPayerPhone: true` and a match was found); when your supplied number is dialed they are `null` and `phoneNumberSource` is `input`. See the [Payer Phone Number Lookup guide](/guides/payer-resolution).","required":["inputPayerName","inputPhoneNumber","matchedPayerName","matchedPayerPhone","phoneNumberToUse","phoneNumberSource"],"properties":{"inputPayerName":{"oneOf":[{"type":"string","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Echoes `inputs.payerName` from the request, verbatim. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPayerName","typeLabel":"string | null"},"inputPhoneNumber":{"oneOf":[{"type":"string","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `phoneNumber` you supplied in `inputs`, before any lookup. `null` when none was supplied.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.inputPhoneNumber","typeLabel":"string | null"},"matchedPayerName":{"oneOf":[{"type":"string","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Canonical payer name SuperDial matched. `null` unless the matched payer's number was dialed. Compare against `inputPayerName` to confirm the match.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerName","typeLabel":"string | null"},"matchedPayerPhone":{"oneOf":[{"type":"string","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the matched payer. `null` unless it was the number dialed.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.matchedPayerPhone","typeLabel":"string | null"},"phoneNumberToUse":{"oneOf":[{"type":"string","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.0","typeLabel":"string"},{"type":"null","description":"The number that will actually be dialed. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberToUse","typeLabel":"string | null"},"phoneNumberSource":{"oneOf":[{"type":"string","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["superdial","phoneBook","input"],"description":"Origin of `phoneNumberToUse`: `superdial` is SuperDial's payer directory, `phoneBook` is a per-client override configured for your account, `input` is the number you supplied. `null` when nothing is dialable.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup.phoneNumberSource","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0.payerLookup","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Uniform error envelope returned by every non-2xx response from `/v1/requests` and `/v1/schemas`. The `error` field is a stable machine-readable code; the `message` field is a human-readable description safe to surface to end users; `details` (optional) carries the structured `missingInputs` / `invalidInputs` block on the `INVALID_INPUTS` path. Unmatched paths and unsupported HTTP methods fall back to the framework's default response (typically HTML); use a documented endpoint and method to receive this envelope.","required":["error","message"],"properties":{"error":{"type":"string","enum":["INVALID_REQUEST","INVALID_INPUTS","PAYER_NOT_FOUND","ACCOUNT_NOT_FOUND","SCHEMA_NOT_FOUND","REQUEST_NOT_FOUND","INTERNAL_ERROR","PAYER_LOOKUP_FAILURE","PAYER_REQUIRED_INPUTS_DISABLED","PAYER_NOT_SUPPORTED","TEMPORARILY_UNAVAILABLE"],"description":"Machine-readable error code for the HTTP envelope. See [Creating a Request → Error handling](/guides/creating-a-request#error-handling) for what each code means, when it fires, and how to handle it.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error description. Never contains stack traces or internal identifiers.","isRequired":true,"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.message","typeLabel":"string"},"details":{"type":"object","description":"**Optional.** Currently set only for `INVALID_INPUTS`, where it contains `missingInputs` (array of field names) and/or `invalidInputs` (object mapping field name to reason). See the [Input Validation](/guides/input-validation) guide for the full set of rules behind these reasons.","properties":{"missingInputs":{"type":"array","description":"Field names that were required but absent, null, or empty/whitespace-only.","items":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.missingInputs","typeLabel":"string[]"},"invalidInputs":{"type":"object","description":"Maps each rejected field name to a human-readable reason (e.g. `phoneNumber is not a valid U.S. phone number`, `claimChargeAmount is scientific notation`, `memberId contains invalid characters (curly braces)`, or a member-ID structure message).","additionalProperties":{"type":"string","uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs.additionalProperties","typeLabel":"string"},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details.invalidInputs","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1.details","typeLabel":"object"}},"uniqueKey":"oneOf.1.requests.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.1.requests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.requests","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"singleInternalError":{"title":"singleInternalError","summary":"Single: unexpected server failure","value":{"error":"INTERNAL_ERROR","message":"An internal error occurred. Please try again or contact support if the problem persists."}},"payerLookupFailure":{"title":"payerLookupFailure","summary":"Payer phone number lookup: matched a payer but no phone on file, or transient infra failure. Retry with backoff.","value":{"error":"PAYER_LOOKUP_FAILURE","message":"Could not retrieve a phone number for the resolved payer. Please retry, or supply phoneNumber explicitly."}},"batchInternalError":{"title":"batchInternalError","summary":"Batch: exception raised mid-processing (most common). Top-level `ApiError` envelope, no `requests` key.","value":{"error":"INTERNAL_ERROR","message":"An internal error occurred. Please try again or contact support if the problem persists."}},"batchAllServerErrors":{"title":"batchAllServerErrors","summary":"Batch: every entry failed and at least one was a server error (rarer; per-entry shape). Server-error entries surface as `INVALID_REQUEST` with the underlying message (the per-entry translator does not propagate `INTERNAL_ERROR`).","value":{"requests":[{"error":"INVALID_REQUEST","message":"Failed to enqueue request"},{"error":"INVALID_REQUEST","message":"schemaId is required"}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ff4f2d0d-9b12-4701-960f-8a54746606c3":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token obtained from the /v1/auth endpoint","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"d00ca350-20bb-4a66-854a-eee25d0c064e":{"url":"https://robodialer-service-api-9nc4t1p9.uc.gateway.dev","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token obtained from the /v1/auth endpoint","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token obtained from the /v1/auth endpoint","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"superdial-9fcd9934","siteName":"SuperDial API","title":"Create a Request - SuperDial API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T23:58:55.945Z","originalFileLocation":"api-reference/requests/create-a-request.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=\"Submit a single request or a batch of requests. For batch, wrap in {\u0026quot;requests\u0026quot;: [...]}. If internalId is supplied on a single request, a duplicate POST with the same internalId returns the previously reserved requestId rather than creating a new one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SuperDial 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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/superdial-9fcd9934/6yMBfZH-oph9iQDr/_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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Request - SuperDial API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit a single request or a batch of requests. For batch, wrap in {\u0026quot;requests\u0026quot;: [...]}. If internalId is supplied on a single request, a duplicate POST with the same internalId returns the previously reserved requestId rather than creating a new one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SuperDial API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.superdial.com/api-reference/requests/create-a-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://superdial-9fcd9934.mintlify.site/_mintlify/api/og/v2?division=Requests\u0026amp;title=Create+a+Request\u0026amp;description=Submit+a+single+request+or+a+batch+of+requests.+For+batch%2C+wrap+in+%60%7B%22requests%22%3A+%5B...%5D%7D%60.+If+%60internalId%60+is+supplied+on+a+single+request%2C+a+duplicate+POST+with\u0026amp;theme=094bce63b769f69383e83187\u0026amp;signature=f458cd5a4686d5587bd5f2ec70d21c0a52414e583997daaa4e01042f8c7ccb30\">\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 a Request - SuperDial API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit a single request or a batch of requests. For batch, wrap in {\u0026quot;requests\u0026quot;: [...]}. If internalId is supplied on a single request, a duplicate POST with the same internalId returns the previously reserved requestId rather than creating a new one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://superdial-9fcd9934.mintlify.site/_mintlify/api/og/v2?division=Requests\u0026amp;title=Create+a+Request\u0026amp;description=Submit+a+single+request+or+a+batch+of+requests.+For+batch%2C+wrap+in+%60%7B%22requests%22%3A+%5B...%5D%7D%60.+If+%60internalId%60+is+supplied+on+a+single+request%2C+a+duplicate+POST+with\u0026amp;theme=094bce63b769f69383e83187\u0026amp;signature=f458cd5a4686d5587bd5f2ec70d21c0a52414e583997daaa4e01042f8c7ccb30\">\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/superdial-9fcd9934/6yMBfZH-oph9iQDr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SuperDial API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4a43cd\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.superdial.com/api-reference/requests/create-a-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/requests/create-a-request.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.superdial.com/#organization\",\"name\":\"SuperDial API\",\"url\":\"https://docs.superdial.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/superdial-9fcd9934/KzxamTIEifVDF1yv/logo/light.svg?fit=max\u0026auto=format\u0026n=KzxamTIEifVDF1yv\u0026q=85\u0026s=77c15b72582931c99c221ee72f68f1dc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.superdial.com#website\",\"name\":\"SuperDial API\",\"url\":\"https://docs.superdial.com\",\"publisher\":{\"@id\":\"https://docs.superdial.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.superdial.com/api-reference/requests/create-a-request#webpage\",\"url\":\"https://docs.superdial.com/api-reference/requests/create-a-request\",\"name\":\"Create a Request\",\"description\":\"Submit a single request or a batch of requests. For batch, wrap in {\\\"requests\\\": [...]}. If internalId is supplied on a single request, a duplicate POST with the same internalId returns the previously reserved requestId rather than creating a new one.\",\"dateModified\":\"2026-11-18T23:58:55.945Z\",\"isPartOf\":{\"@id\":\"https://docs.superdial.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.superdial.com/api-reference/requests/create-a-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.superdial.com/api-reference/requests/create-a-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Requests\",\"item\":\"https://docs.superdial.com/api-reference/requests/list-requests\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Request\",\"item\":\"https://docs.superdial.com/api-reference/requests/create-a-request\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.superdial.com/api-reference/requests/create-a-request#apireference\",\"headline\":\"Create a Request\",\"name\":\"Create a Request\",\"description\":\"Submit a single request or a batch of requests. For batch, wrap in {\\\"requests\\\": [...]}. If internalId is supplied on a single request, a duplicate POST with the same internalId returns the previously reserved requestId rather than creating a new one.\",\"url\":\"https://docs.superdial.com/api-reference/requests/create-a-request\",\"mainEntityOfPage\":{\"@id\":\"https://docs.superdial.com/api-reference/requests/create-a-request#webpage\"},\"dateModified\":\"2026-11-18T23:58:55.945Z\",\"publisher\":{\"@id\":\"https://docs.superdial.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.superdial.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SuperDial API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SuperDial API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/requests/create-a-request.md","siteName":"SuperDial API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Authentication","pages":[{"title":"Authenticate and get token","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/auth","href":"/api-reference/authentication/authenticate-and-get-token"}]},{"group":"Schemas","pages":[{"title":"List schemas","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/schemas","href":"/api-reference/schemas/list-schemas"},{"title":"Retrieve a schema","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/schemas/{schemaId}","href":"/api-reference/schemas/retrieve-a-schema"},{"title":"Required inputs for a schema","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/schemas/{schemaId}/required-inputs","href":"/api-reference/schemas/required-inputs-for-a-schema"},{"title":"Resolve payer names against a schema's required inputs","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/schemas/{schemaId}/required-payer-inputs","href":"/api-reference/schemas/resolve-payer-names-against-a-schemas-required-inputs"}]},{"group":"Requests","pages":[{"title":"List Requests","description":"Retrieve requests filtered by date range or batch ID.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/requests","href":"/api-reference/requests/list-requests"},{"title":"Create a Request","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/requests","href":"/api-reference/requests/create-a-request"},{"title":"Retrieve a Request","description":"Fetch details for a request by ID.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/requests/{requestId}","href":"/api-reference/requests/retrieve-a-request"}]}]}]},"basePath":"","title":"Create a Request - SuperDial API","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}