Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero.
Async: Returns the call_id immediately. Poll GET /v1/calls/{call_id} and wait for the status to become staged before triggering the SIP call.
Sync: Blocks until the call is ready (status staged) or a timeout occurs (HTTP 408).
Once staged, trigger the inbound SIP call with the header:
X-Rounded-Call-Id: {call_id}
This ensures the call is routed to the staged agent.
If no SIP call arrives within the staging timeout (60s), the call is marked no_answer and cleaned up.
Tip: If your agent uses Call context: Variables initialization to load data when processing a call, prefer using this endpoint to prepare it beforehand.
If true, block until the call is ready (status 'staged') or timeout.
Body
application/json
Request body for staging an inbound SIP call.
This endpoint is only supported for inbound calls. Staging pre-initializes
the call (agent configuration, variables, and resources) before the actual
inbound SIP call arrives, reducing cold-start latency to near zero.
Once staged, the inbound SIP call must include the header
X-Rounded-Call-Id: <call_id> so it is routed to the staged call.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rounded","colors":{"primary":"#F25511","light":"#FF8540","dark":"#C6440D"},"logo":{"light":"https://mintcdn.com/roundedtechnologies/1iLXBGRZCkyJQMgO/logo/rounded-light.svg?fit=max\u0026auto=format\u0026n=1iLXBGRZCkyJQMgO\u0026q=85\u0026s=323ca9bc0245c84827659b3348d1978f","dark":"https://mintcdn.com/roundedtechnologies/1iLXBGRZCkyJQMgO/logo/rounded-dark.svg?fit=max\u0026auto=format\u0026n=1iLXBGRZCkyJQMgO\u0026q=85\u0026s=2287fc0b2217e6ed5bf9179239e845eb"},"favicon":"/logo/rounded-light.svg","navbar":{"links":[{"href":"mailto:team@callrounded.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.callrounded.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"roundedtechnologies","hasAudioNarration":false,"actualSubdomain":"roundedtechnologies","customDomains":["docs.callrounded.com"],"gitSource":{"type":"github","owner":"callrounded","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e67cbd0a90f91cb44b77","collectionId":"c7a8c908-01d8-494a-aeea-d944fc722cf1","schemaVersion":"v2"},"entitlements":{},"buildId":"6ae92431abb6d0c12b81b90a:success","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"v1","count":23},{"language":"default","tag":"Docs","count":19},{"language":"default","tag":"calls","count":7},{"language":"default","tag":"Build","count":6},{"language":"default","tag":"agents","count":6},{"language":"default","tag":"Telephony","count":5},{"language":"default","tag":"post-call-questions","count":5},{"language":"default","tag":"Resources","count":4},{"language":"default","tag":"SIP Providers","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/calls/stage-an-inbound-sip-call","slug":"/api-reference/calls/stage-an-inbound-sip-call","pageMetadata":{"title":"Stage an inbound SIP call","description":"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero.\n\n**Async:** Returns the `call_id` immediately. Poll `GET /v1/calls/{call_id}` and wait for the status to become `staged` before triggering the SIP call.\n\n**Sync:** Blocks until the call is ready (status `staged`) or a timeout occurs (HTTP 408).\n\nOnce staged, trigger the inbound SIP call with the header:\n```\nX-Rounded-Call-Id: {call_id}\n```\nThis ensures the call is routed to the staged agent.\n\n**Call status flow:** `initiated` → `staged` → `ringing` → `in_progress` → `completed`\n\nIf no SIP call arrives within the staging timeout (60s), the call is marked `no_answer` and cleaned up.\n\n**Tip:** If your agent uses *Call context: Variables initialization* to load data when processing a call, prefer using this endpoint to prepare it beforehand.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/stage","href":"/api-reference/calls/stage-an-inbound-sip-call","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n em: \"em\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Async:\"\n }), \" Returns the \", _jsx(_components.code, {\n children: \"call_id\"\n }), \" immediately. Poll \", _jsx(_components.code, {\n children: \"GET /v1/calls/{call_id}\"\n }), \" and wait for the status to become \", _jsx(_components.code, {\n children: \"staged\"\n }), \" before triggering the SIP call.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Sync:\"\n }), \" Blocks until the call is ready (status \", _jsx(_components.code, {\n children: \"staged\"\n }), \") or a timeout occurs (HTTP 408).\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Once staged, trigger the inbound SIP call with the header:\"\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"2\",\n language: \"text\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"text\",\n children: _jsxs(_components.code, {\n language: \"text\",\n numberOfLines: \"2\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n children: \"X-Rounded-Call-Id: {call_id}\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {})\n })]\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"This ensures the call is routed to the staged agent.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Call status flow:\"\n }), \" \", _jsx(_components.code, {\n children: \"initiated\"\n }), \" → \", _jsx(_components.code, {\n children: \"staged\"\n }), \" → \", _jsx(_components.code, {\n children: \"ringing\"\n }), \" → \", _jsx(_components.code, {\n children: \"in_progress\"\n }), \" → \", _jsx(_components.code, {\n children: \"completed\"\n })]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"If no SIP call arrives within the staging timeout (60s), the call is marked \", _jsx(_components.code, {\n children: \"no_answer\"\n }), \" and cleaned up.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Tip:\"\n }), \" If your agent uses \", _jsx(_components.em, {\n children: \"Call context: Variables initialization\"\n }), \" to load data when processing a call, prefer using this endpoint to prepare it beforehand.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\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":"Stage an inbound SIP call","description":"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero.\n\n**Async:** Returns the `call_id` immediately. Poll `GET /v1/calls/{call_id}` and wait for the status to become `staged` before triggering the SIP call.\n\n**Sync:** Blocks until the call is ready (status `staged`) or a timeout occurs (HTTP 408).\n\nOnce staged, trigger the inbound SIP call with the header:\n```\nX-Rounded-Call-Id: {call_id}\n```\nThis ensures the call is routed to the staged agent.\n\n**Call status flow:** `initiated` → `staged` → `ringing` → `in_progress` → `completed`\n\nIf no SIP call arrives within the staging timeout (60s), the call is marked `no_answer` and cleaned up.\n\n**Tip:** If your agent uses *Call context: Variables initialization* to load data when processing a call, prefer using this endpoint to prepare it beforehand.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/stage","href":"/api-reference/calls/stage-an-inbound-sip-call","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["calls"],"summary":"Stage an inbound SIP call","description":"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero.\n\n**Async:** Returns the `call_id` immediately. Poll `GET /v1/calls/{call_id}` and wait for the status to become `staged` before triggering the SIP call.\n\n**Sync:** Blocks until the call is ready (status `staged`) or a timeout occurs (HTTP 408).\n\nOnce staged, trigger the inbound SIP call with the header:\n```\nX-Rounded-Call-Id: {call_id}\n```\nThis ensures the call is routed to the staged agent.\n\n**Call status flow:** `initiated` → `staged` → `ringing` → `in_progress` → `completed`\n\nIf no SIP call arrives within the staging timeout (60s), the call is marked `no_answer` and cleaned up.\n\n**Tip:** If your agent uses *Call context: Variables initialization* to load data when processing a call, prefer using this endpoint to prepare it beforehand.","operationId":"stage_sip_call_v1_calls_stage_post","parameters":["2f43f71e-26b5-426e-b0fa-9ab6a78e7c44"],"requestBody":"77cdd021-810c-43c0-8fa5-1e3d76fea1cb","responses":{"201":"c002165d-a46a-4de7-a4ee-adfe2a1f6aa4","400":"1ceed10e-60a9-4332-8d79-ede097688c20","401":"d87186bb-a7ca-4971-afe8-f3e6bd57c44c","403":"071ac869-f160-4f1a-b39d-548ccb66191b","404":"aa5b91c0-d3c8-4abe-a776-8d52891f8dcf","408":"03267626-2f74-440e-91c7-ba48d2df36c8","422":"13664a13-cee9-4240-a257-19ac3a13b287","429":"ad68304d-3219-4493-9a22-5edbe6157d70","500":"21698fae-c4ba-460e-a7aa-3e2dba658739"},"method":"post","type":"path","servers":["eb3a60a0-1b68-430f-85e4-6def7d75da0e"],"security":["6975066e-0821-4fef-84cf-12e2c24ab028"],"path":"/v1/calls/stage","baseUrlOptions":["https://api.callrounded.com"],"title":"Stage an inbound SIP call","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2f43f71e-26b5-426e-b0fa-9ab6a78e7c44":{"name":"sync","in":"query","required":false,"schema":{"type":"boolean","description":"If true, block until the call is ready (status 'staged') or timeout.","default":false,"title":"Sync","isRequired":false,"uniqueKey":"","typeLabel":"boolean"},"description":"If true, block until the call is ready (status 'staged') or timeout."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"from_number":{"type":"string","title":"From Number","description":"The caller's phone number in E.164 format.","examples":["+33912345678"],"isRequired":true,"uniqueKey":"from_number","typeLabel":"string"},"to_number":{"type":"string","title":"To Number","description":"The destination phone number in E.164 format.","examples":["+33612345678"],"isRequired":true,"uniqueKey":"to_number","typeLabel":"string"},"agent_id":{"type":"string","format":"uuid","title":"Agent Id","description":"The ID of the agent that will handle the call.","examples":["411b82c8-462a-4e1b-89bc-10ab3ce1ed29"],"isRequired":true,"uniqueKey":"agent_id","typeLabel":"string\u003cuuid>"},"dynamic_variables_values":{"oneOf":[{"type":"object","title":"Dynamic Variables Values","description":"Initial variable values to inject into the agent conversation before it starts.","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"dynamic_variables_values.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"dynamic_variables_values.oneOf.0.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"dynamic_variables_values.oneOf.0.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"dynamic_variables_values.oneOf.0.additionalProperties.oneOf.3","typeLabel":"boolean"},{"type":"string","format":"date-time","uniqueKey":"dynamic_variables_values.oneOf.0.additionalProperties.oneOf.4","typeLabel":"string\u003cdate-time>"},{"type":"object","uniqueKey":"dynamic_variables_values.oneOf.0.additionalProperties.oneOf.5","typeLabel":"object"}],"uniqueKey":"dynamic_variables_values.oneOf.0.additionalProperties","typeLabel":"string | integer | number | boolean | string\u003cdate-time> | object"},"uniqueKey":"dynamic_variables_values.oneOf.0","typeLabel":"Dynamic Variables Values · object"},{"type":"null","title":"Dynamic Variables Values","description":"Initial variable values to inject into the agent conversation before it starts.","uniqueKey":"dynamic_variables_values.oneOf.1","typeLabel":"null"}],"uniqueKey":"dynamic_variables_values","typeLabel":"Dynamic Variables Values · object | null"}},"type":"object","required":["from_number","to_number","agent_id"],"title":"StageSipCallApiRequest","description":"Request body for staging an inbound SIP call.\n\nThis endpoint is only supported for **inbound** calls. Staging pre-initializes\nthe call (agent configuration, variables, and resources) before the actual\ninbound SIP call arrives, reducing cold-start latency to near zero.\n\nOnce staged, the inbound SIP call must include the header\n``X-Rounded-Call-Id: \u003ccall_id>`` so it is routed to the staged call.","uniqueKey":"","typeLabel":"StageSipCallApiRequest · object"},"examples":{"Example":{"title":"Example","value":{"from_number":"+33912345678","to_number":"+33612345678","agent_id":"411b82c8-462a-4e1b-89bc-10ab3ce1ed29","dynamic_variables_values":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c002165d-a46a-4de7-a4ee-adfe2a1f6aa4":{"description":"Call staging initiated (async) or call staged and ready (sync)","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"properties":{"call_id":{"type":"string","title":"Call Id","description":"The unique identifier for the staged call. Use this value as the `X-Rounded-Call-Id` SIP header when triggering the inbound call.","isRequired":true,"uniqueKey":"data.call_id","typeLabel":"string"}},"type":"object","required":["call_id"],"title":"StageSipCallApiResponseData","isRequired":true,"uniqueKey":"data","typeLabel":"StageSipCallApiResponseData · object"},"error":{"oneOf":[{"type":"object","title":"ApiResponseError","required":["message","type","status"],"example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"error.oneOf.0.type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"error.oneOf.0.status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"error.oneOf.0.details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"error.oneOf.0.details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"error.oneOf.0.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"uniqueKey":"error.oneOf.0","typeLabel":"ApiResponseError · object"},{"type":"null","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"ApiResponseError · object | null"},"status":{"type":"integer","title":"Status","default":201,"uniqueKey":"status","typeLabel":"integer"}},"type":"object","required":["message","data"],"title":"Response Stage Sip Call V1 Calls Stage Post","description":"Response from staging a SIP call.\n\nThe ``call_id`` is used to:\n\n- Poll ``GET /v1/calls/{call_id}`` to check when the status becomes ``staged`` (call ready).\n- Pass as the ``X-Rounded-Call-Id`` SIP header value when triggering the inbound call.","uniqueKey":"","typeLabel":"Response Stage Sip Call V1 Calls Stage Post · object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","data":{"call_id":"\u003cstring>"},"error":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"status":201}}},"exampleType":"generated"}},"headers":{"ratelimit-limit":{"description":"The number of requests allowed in the current rate limit period","schema":{"type":"integer"}},"ratelimit-remaining":{"description":"The number of requests remaining in the current rate limit period","schema":{"type":"integer"}},"x-ratelimit-limit-minute":{"description":"The number of requests allowed in the current minute window, if rate limit is set to minutes.","schema":{"type":"integer"}},"x-ratelimit-remaining-minute":{"description":"The number of requests remaining in the current minute window, if rate limit is set to minutes.","schema":{"type":"integer"}},"x-ratelimit-limit-hour":{"description":"The number of requests allowed in the current hour window, if rate limit is set to hourly.","schema":{"type":"integer"}},"x-ratelimit-remaining-hour":{"description":"The number of requests remaining in the current hour window, if rate limit is set to hourly.","schema":{"type":"integer"}},"x-ratelimit-limit-\u003cseconds>":{"description":"The number of requests allowed in the current \u003cseconds> window, where \u003cseconds> is the number of seconds, if rate limit is set to seconds.","schema":{"type":"integer"}},"x-ratelimit-remaining-\u003cseconds>":{"description":"The number of requests remaining in the current \u003cseconds> window, where \u003cseconds> is the number of seconds, if rate limit is set to seconds.","schema":{"type":"integer"}}},"exampleType":"generated"},"1ceed10e-60a9-4332-8d79-ede097688c20":{"description":"Bad Request","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"Bad request","type":"api_error","status":400}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Bad request","type":"api_error","status":400}}}},"exampleType":"examples"}},"exampleType":"examples"},"d87186bb-a7ca-4971-afe8-f3e6bd57c44c":{"description":"Unauthorized","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"examples":{"auth_error":{"title":"auth_error","value":{"message":"Unauthorized","type":"auth_error","status":401}},"gateway_error":{"title":"gateway_error","value":{"message":"Unauthorized","type":"gateway_auth_error","status":401}}},"exampleType":"examples"}},"exampleType":"examples"},"071ac869-f160-4f1a-b39d-548ccb66191b":{"description":"Forbidden","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"Access forbidden","type":"api_error","status":403}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Access forbidden","type":"api_error","status":403}}}},"exampleType":"examples"}},"exampleType":"examples"},"aa5b91c0-d3c8-4abe-a776-8d52891f8dcf":{"description":"Not Found","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"The request endpoint does not exist","type":"http_error","status":404}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"The request endpoint does not exist","type":"http_error","status":404}}}},"exampleType":"examples"}},"exampleType":"examples"},"03267626-2f74-440e-91c7-ba48d2df36c8":{"description":"Sync mode timeout — call did not reach 'staged' status in time","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"13664a13-cee9-4240-a257-19ac3a13b287":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"Invalid request body","type":"validation_error","status":422,"details":[{"field":"email","message":"Invalid email format"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Invalid request body","type":"validation_error","status":422,"details":[{"field":"email","message":"Invalid email format"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"ad68304d-3219-4493-9a22-5edbe6157d70":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"API rate limit exceeded","type":"gateway_rate_limit_error","status":429}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"API rate limit exceeded","type":"gateway_rate_limit_error","status":429}}}},"exampleType":"examples"}},"exampleType":"examples"},"21698fae-c4ba-460e-a7aa-3e2dba658739":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"type":{"type":"string","title":"Type","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","title":"Status","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"details":{"oneOf":[{"type":"array","items":{"properties":{"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"string","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.0","typeLabel":"string"},{"type":"null","title":"Field","uniqueKey":"details.oneOf.0.items.[INDEX].field.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.items.[INDEX].field","typeLabel":"string | null"}},"type":"object","required":["message"],"title":"ApiResponseErrorDetail","uniqueKey":"details.oneOf.0.items.[INDEX]","typeLabel":"ApiResponseErrorDetail · object"},"title":"Details","uniqueKey":"details.oneOf.0","typeLabel":"ApiResponseErrorDetail · object[]"},{"type":"null","title":"Details","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"ApiResponseErrorDetail · object[] | null"}},"type":"object","required":["message","type","status"],"title":"ApiResponseError","example":{"details":[{"field":"email","message":"Invalid email format"}],"message":"An error occurred while processing your request","status":400,"type":"generic_error"},"uniqueKey":"","typeLabel":"ApiResponseError · object"},"example":{"error":{"message":"An unexpected error occurred","type":"generic_error","status":500}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"An unexpected error occurred","type":"generic_error","status":500}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"6975066e-0821-4fef-84cf-12e2c24ab028":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"The API Key created in [Rounded Studio](https://app.callrounded.com).\n- You can create it by going to the \"API Keys\" settings of your profile.\n- Need help? You can email us at [team@callrounded.com](mailto:team@callrounded.com) or join our [Discord community](https://discord.gg/en537j5z75).","scopes":[]}}},"servers":{"eb3a60a0-1b68-430f-85e4-6def7d75da0e":{"url":"https://api.callrounded.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"The API Key created in [Rounded Studio](https://app.callrounded.com).\n- You can create it by going to the \"API Keys\" settings of your profile.\n- Need help? You can email us at [team@callrounded.com](mailto:team@callrounded.com) or join our [Discord community](https://discord.gg/en537j5z75).","scopes":[]},"schema":{"title":"X-Api-Key","type":"string","description":"The API Key created in [Rounded Studio](https://app.callrounded.com).\n- You can create it by going to the \"API Keys\" settings of your profile.\n- Need help? You can email us at [team@callrounded.com](mailto:team@callrounded.com) or join our [Discord community](https://discord.gg/en537j5z75).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"X-Api-Key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"api-reference-v1/openapi.json"},"subdomain":"roundedtechnologies","siteName":"Rounded","title":"Stage an inbound SIP call - Rounded","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-24T12:29:17.734Z","originalFileLocation":"api-reference/calls/stage-an-inbound-sip-call.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=\"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero. Async: Returns the call_id immediately. Poll GET /v1/calls/{call_id} and wait for the status to become staged before triggering the SIP call. Sync: Blocks until the call is ready (status staged) or a timeout occurs (HTTP 408). Once staged, trigger the inbound SIP call with the header: X-Rounded-Call-Id: {call_id} This ensures the call is routed to the staged agent. Call status flow: initiated → staged → ringing → in_progress → completed If no SIP call arrives within the staging timeout (60s), the call is marked no_answer and cleaned up. Tip: If your agent uses Call context: Variables initialization to load data when processing a call, prefer using this endpoint to prepare it beforehand.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rounded\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_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/roundedtechnologies/SZk3qknKQkZZaCtg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Stage an inbound SIP call - Rounded\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero. Async: Returns the call_id immediately. Poll GET /v1/calls/{call_id} and wait for the status to become staged before triggering the SIP call. Sync: Blocks until the call is ready (status staged) or a timeout occurs (HTTP 408). Once staged, trigger the inbound SIP call with the header: X-Rounded-Call-Id: {call_id} This ensures the call is routed to the staged agent. Call status flow: initiated → staged → ringing → in_progress → completed If no SIP call arrives within the staging timeout (60s), the call is marked no_answer and cleaned up. Tip: If your agent uses Call context: Variables initialization to load data when processing a call, prefer using this endpoint to prepare it beforehand.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rounded\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://roundedtechnologies.mintlify.app/_mintlify/api/og/v2?division=calls\u0026amp;title=Stage+an+inbound+SIP+call\u0026amp;description=Pre-initialize+a+call+%28agent+configuration%2C+variables+initialization%2C+and+resources%29+before+an+inbound+SIP+call+arrives%2C+reducing+cold-start+latency+to+near+zer\u0026amp;theme=f7daf91feb7d0bfbe59fb388\u0026amp;signature=223d2d96bb3ea229cc2b83d95ecaa879381ae09c5003df3282585ecfd501e8da\">\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=\"Stage an inbound SIP call - Rounded\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero. Async: Returns the call_id immediately. Poll GET /v1/calls/{call_id} and wait for the status to become staged before triggering the SIP call. Sync: Blocks until the call is ready (status staged) or a timeout occurs (HTTP 408). Once staged, trigger the inbound SIP call with the header: X-Rounded-Call-Id: {call_id} This ensures the call is routed to the staged agent. Call status flow: initiated → staged → ringing → in_progress → completed If no SIP call arrives within the staging timeout (60s), the call is marked no_answer and cleaned up. Tip: If your agent uses Call context: Variables initialization to load data when processing a call, prefer using this endpoint to prepare it beforehand.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://roundedtechnologies.mintlify.app/_mintlify/api/og/v2?division=calls\u0026amp;title=Stage+an+inbound+SIP+call\u0026amp;description=Pre-initialize+a+call+%28agent+configuration%2C+variables+initialization%2C+and+resources%29+before+an+inbound+SIP+call+arrives%2C+reducing+cold-start+latency+to+near+zer\u0026amp;theme=f7daf91feb7d0bfbe59fb388\u0026amp;signature=223d2d96bb3ea229cc2b83d95ecaa879381ae09c5003df3282585ecfd501e8da\">\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/roundedtechnologies/SZk3qknKQkZZaCtg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rounded\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F25511\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/calls/stage-an-inbound-sip-call.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.callrounded.com/#organization\",\"name\":\"Rounded\",\"url\":\"https://docs.callrounded.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/roundedtechnologies/1iLXBGRZCkyJQMgO/logo/rounded-light.svg?fit=max\u0026auto=format\u0026n=1iLXBGRZCkyJQMgO\u0026q=85\u0026s=323ca9bc0245c84827659b3348d1978f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.callrounded.com#website\",\"name\":\"Rounded\",\"url\":\"https://docs.callrounded.com\",\"publisher\":{\"@id\":\"https://docs.callrounded.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call#webpage\",\"url\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call\",\"name\":\"Stage an inbound SIP call\",\"description\":\"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero. Async: Returns the call_id immediately. Poll GET /v1/calls/{call_id} and wait for the status to become staged before triggering the SIP call. Sync: Blocks until the call is ready (status staged) or a timeout occurs (HTTP 408). Once staged, trigger the inbound SIP call with the header: X-Rounded-Call-Id: {call_id} This ensures the call is routed to the staged agent. Call status flow: initiated → staged → ringing → in_progress → completed If no SIP call arrives within the staging timeout (60s), the call is marked no_answer and cleaned up. Tip: If your agent uses Call context: Variables initialization to load data when processing a call, prefer using this endpoint to prepare it beforehand.\",\"dateModified\":\"2026-03-24T12:29:17.734Z\",\"isPartOf\":{\"@id\":\"https://docs.callrounded.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"calls\",\"item\":\"https://docs.callrounded.com/api-reference/calls/start-a-new-phone-call\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stage an inbound SIP call\",\"item\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call#apireference\",\"headline\":\"Stage an inbound SIP call\",\"name\":\"Stage an inbound SIP call\",\"description\":\"Pre-initialize a call (agent configuration, variables initialization, and resources) before an inbound SIP call arrives, reducing cold-start latency to near zero. Async: Returns the call_id immediately. Poll GET /v1/calls/{call_id} and wait for the status to become staged before triggering the SIP call. Sync: Blocks until the call is ready (status staged) or a timeout occurs (HTTP 408). Once staged, trigger the inbound SIP call with the header: X-Rounded-Call-Id: {call_id} This ensures the call is routed to the staged agent. Call status flow: initiated → staged → ringing → in_progress → completed If no SIP call arrives within the staging timeout (60s), the call is marked no_answer and cleaned up. Tip: If your agent uses Call context: Variables initialization to load data when processing a call, prefer using this endpoint to prepare it beforehand.\",\"url\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call\",\"mainEntityOfPage\":{\"@id\":\"https://docs.callrounded.com/api-reference/calls/stage-an-inbound-sip-call#webpage\"},\"dateModified\":\"2026-03-24T12:29:17.734Z\",\"publisher\":{\"@id\":\"https://docs.callrounded.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.callrounded.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rounded\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rounded","nav":{"global":null,"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/documentation/getting_started/what_are_voice_agents"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"v1","groups":[{"group":"calls","pages":[{"title":"Start a new phone call","description":"Start a new phone call with the specified parameters. The response includes headers about rate limiting.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/phone","href":"/api-reference/calls/start-a-new-phone-call"},{"title":"Stage an inbound SIP call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/stage","href":"/api-reference/calls/stage-an-inbound-sip-call"},{"title":"Get call details","description":"Get detailed information about a specific call, including its transcript and variable values. The call can be either a phone call or a web call. The transcript can contain user/agent messages, tool invocations, or tool responses.","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/calls/{call_id}","href":"/api-reference/calls/get-call-details"},{"title":"Delete call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/calls/{call_id}","href":"/api-reference/calls/delete-call"},{"title":"Update call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/calls/{call_id}","href":"/api-reference/calls/update-call"},{"title":"List calls","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/calls","href":"/api-reference/calls/list-calls"},{"title":"Terminate call","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/calls/{call_id}/terminate","href":"/api-reference/calls/terminate-call"}]},{"group":"knowledge bases","pages":[{"title":"Get knowledge base details","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/knowledge-bases/{knowledge_base_id}","href":"/api-reference/knowledge-bases/get-knowledge-base-details"},{"title":"Add sources to a knowledge base","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/knowledge-bases/{knowledge_base_id}/sources","href":"/api-reference/knowledge-bases/add-sources-to-a-knowledge-base"},{"title":"Delete sources from a knowledge base","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/knowledge-bases/{knowledge_base_id}/sources","href":"/api-reference/knowledge-bases/delete-sources-from-a-knowledge-base"}]},{"group":"agents","pages":[{"title":"Create agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/agents","href":"/api-reference/agents/create-agent"},{"title":"Get agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}","href":"/api-reference/agents/get-agent"},{"title":"Delete agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/agents/{agent_id}","href":"/api-reference/agents/delete-agent"},{"title":"Update agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/agents/{agent_id}","href":"/api-reference/agents/update-agent"},{"title":"Get agent versions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}/versions","href":"/api-reference/agents/get-agent-versions"},{"title":"Deploy agent","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/agents/{agent_id}/deploy","href":"/api-reference/agents/deploy-agent"}]},{"group":"phone-numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/phone-numbers","href":"/api-reference/phone-numbers/list-phone-numbers"},{"title":"Update phone number","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/phone-numbers/{phone_number_id}","href":"/api-reference/phone-numbers/update-phone-number"}]},{"group":"post-call-questions","pages":[{"title":"List post-call questions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}/post-call-questions","href":"/api-reference/post-call-questions/list-post-call-questions"},{"title":"Create post-call questions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json post /v1/agents/{agent_id}/post-call-questions","href":"/api-reference/post-call-questions/create-post-call-questions"},{"title":"Update post-call questions","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json patch /v1/agents/{agent_id}/post-call-questions","href":"/api-reference/post-call-questions/update-post-call-questions"},{"title":"Get post-call question","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json get /v1/agents/{agent_id}/post-call-questions/{question_id}","href":"/api-reference/post-call-questions/get-post-call-question"},{"title":"Delete post-call question","deprecated":null,"version":null,"openapi":"/api-reference-v1/openapi.json delete /v1/agents/{agent_id}/post-call-questions/{question_id}","href":"/api-reference/post-call-questions/delete-post-call-question"}]}]},{"dropdown":"v0","pages":[{"title":"Start Phone Call","openapi":"POST /v0/calls/phone","href":"/api-reference/calls/start-phone-call"}]}]},{"tab":"Webhook Events Reference","pages":[{"title":"Webhook Events Reference","href":"/api-reference/webhooks/webhook-events-reference"}]}]},"basePath":"","title":"Stage an inbound SIP call - Rounded","buildId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","deploymentId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B5zPa4Vr.js","utils-CVjrr8Yd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DTgURWzl.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DxTHtkdZ.js","snippetPresets-Cx47o5Vx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-4Fr6y9N_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dq2ElbEk.js","shallow-BfYl9r69.js","getApiPlaygroundDisplay-Ch3xc7i1.js","CodeSnippet-BsBxuJ1v.js","CodeSnippets-CetzeDL8.js","Page-CYZot51e.js","getPastedJson-BxPKFSJx.js","icon-o0J1Ochb.js","MethodPill-Du3usO5m.js","DuplicateIcon-DJypyMzl.js","createIcon-YMA6N8KJ.js","DynamicMarkdown-CWvhfcZc.js","SectionHeading-BdLVaXCd.js","axios-vUo_bRtp.js","Markdown-C4Ez6OeV.js","clsx-DptzKFCt.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Dt1IougW.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CZ6Wt2Vb.js"]}