Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller’s browser starts the call itself once the steps are done.
Use this when an agent’s mint answers protocol: "call_request". An agent the mint answers offer for does not need it - POST /calls with type: "web" mints a session token and the browser sends one offer, exactly as before.
The start_capability is returned once and stored only as a hash. It authorises this one request’s read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.
Requires calls:create. Creates a browser call on a workflow agent (with or without steps before
it answers or follow-ups after the call), and
hands back the one capability the browser needs to follow it and start it.Nothing is dialled here. No call record is created, no line is held and no
minutes are charged: the caller’s browser starts the call itself, once the steps
are done. That is the whole reason this endpoint exists — a browser call used to
be one request that took a line and created a peer in the same breath, which
left before-call steps nowhere to run.
Ask the mint. POST /calls with type: "web" answers with protocol:
protocol
What the browser does
offer
Sends one SDP offer with the session token. Unchanged, and what most agents use.
call_request
Creates the call here, polls it, and starts it when it is ready.
@goyappr/client does this for you — pass session.protocol through to
startSession. An older client that sends a one-shot offer to an agent the
mint answered call_request for is refused with
409 workflow_preparation_required, and the refusal
costs nothing: the token is not spent and no line is taken, so the same token
can create the request instead.
The capability
start_capability is returned once and stored only as a hash. It authorises
this one request’s read, cancel and start, and nothing else — not another
request, not a phone request, not anything about the workspace — so it is safe
to hand to a browser. Send it as x-yappr-call-request-key. It dies with the
request at expires_at.That is why the three URLs are browser routes on the API host
(/web-call/call-requests/…) that take the capability instead of your key: your
secret key never has to reach a browser.
Asking again with the same key
Send an Idempotency-Key and a retry is safe: the same key with the same body
does not create a second request. It answers 200 with the request as it
is now — a request whose steps already failed reads failed with its
error_code, not preparing — with replayed: true, the three URLs, and nostart_capability. The capability that works was returned once, by the first
create, and is stored only as a hash, so keep it from that answer. The same key
with a different body is 409 WORKFLOW_IDEMPOTENCY_CONFLICT.A browser that presents a Web SDK session token again gets the same answer: the
token is the create’s key. That holds until the token runs out — even in its last
five minutes, when a token that has not created a request yet is refused with
409 SESSION_TOKEN_EXPIRES_TOO_SOON.
Following it
Poll status_url until status is ready, then start it. The read carries
preparation_steps — one entry per authored before-call step, in document
order, each with the author’s own label — so a waiting caller can be shown
what is running rather than a silent spinner, and your server’s
GET /call-requests/{id} carries the same
array, with the failed step’s error_code and http_status. Step results
are never included: a before-call result is data the agent is given, not
something a browser may read.
{ "status": "preparing", "preparation_status": "running", "preparation_steps": [ { "id": "lookup_caller", "label": "Look up the caller", "status": "running" } ]}
cancel_url stops a request that has not been started. A browser call holds no
line while it prepares, but the steps are work this workspace paid for, so
cancelling when the caller changes their mind is worth doing rather than letting
it expire.
Statuses
The same states a phone request has, and they mean the same things. See
Get Call Request. The one difference is what
dispatching means here: a browser request reaches it when the caller claims
their start and the peer is being negotiated, rather than when a number is being
dialled. It reads dispatched as soon as the voice server has answered the
browser, and stays dispatched after the call ends; how the call went is on
GET /calls/{id} under call_id. The call’s end
reaches its workflow like a phone call’s, so follow-ups on any_end or
call.ended run on a browser call too.
Refusals
HTTP
Code
When
404
AGENT_NOT_FOUND
This workspace has no agent with that id.
409
WORKFLOW_AGENT_INACTIVE
The agent exists but is switched off. PATCH /agents/{id} with {"is_active": true}, then ask again. A copy made with POST /agents/{id}/duplicate starts switched off, so this is the usual answer on a freshly duplicated agent.
409
WORKFLOW_NOT_ENABLED
The agent does not run a workflow. Mint the session with POST /calls{"type": "web"} instead.
409
WORKFLOW_UNPUBLISHED
The agent has no published version yet. Publish it first.
400
BAD_REQUEST
type is not "web" — a phone call is created with POST /calls — or agent_id is missing.
Being switched off is reported before being unpublished, because switching it on
is the step you are missing: publishing an agent nobody can call would not make
the call happen.
Authorizations
Authorization
string
header
required
Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).
Headers
Idempotency-Key
string
Visible ASCII, space excluded. The same key with the same body answers 200 with the request as it is now and no start_capability (see the 200 response); with a different body it is a conflict.
Maximum string length: 200
Body
application/json
type
enum<string>
required
A phone call is created with POST /calls.
Available options:
web
agent_id
string<uuid>
required
variables
object
Values the workflow's request schema declares. Rendered into the prompt and readable by before-call steps.
metadata
object
Stored on the call record and echoed to tools. Reserved platform key names are refused.
workflow_revision_id
string<uuid>
Pin a published version of this agent's workflow instead of following the current one.
Response
This Idempotency-Key already created a request (with the same body). The request as it is now - the CallRequest fields, request_id, type, agent_id, accepted_at, the three URLs and replayed: true - and no start_capability: the one that works was returned once, by the first create, and is stored only as a hash. A request that already failed reads failed with its error_code here, not preparing.
Lifecycle record for one accepted call on a workflow agent. An outbound phone call returns its identity as request_id from POST /calls; a browser call is created directly with POST /call-requests. Either way this object is what you poll and what you cancel, and the two follow the same states.
id
string<uuid>
required
run_id
string<uuid>
required
Shared lifecycle identity. It does not grant access to call history.
channel
enum<string>
required
phone is dialled by the platform once it is ready. web is started by the caller's own browser with POST /call-requests/{id}/start, because the microphone is there and not here.
Available options:
phone,
web
status
enum<string>
required
scheduled waits for the workspace's next calling window; preparing and ready cover pre-call work; dispatching and dispatched mean the call is being placed or has been placed; dispatch_unknown means placement is still being confirmed and must not be retried blindly; failed, expired and cancelled are final.
Available options:
preparing,
scheduled,
ready,
dispatching,
dispatched,
failed,
expired,
cancelled,
dispatch_unknown
preparation_status
enum<string>
required
Progress of the pre-call step only. A preparation that fails or runs out of time does not always fail the request - an agent configured to continue with whatever is available still calls, with whatever the preparation produced. declined is a decision rather than a failure - a before-call step refused the call, so nothing is dialled, no call record is created, and the failure policy does not apply.
Available options:
pending,
running,
ready,
failed,
expired,
cancelled,
declined
expires_at
string<date-time>
required
After this moment a request that has not finished is abandoned and no call is placed. A request that already failed keeps status failed and its error_code.
request_id
string<uuid>
required
replayed
enum<boolean>
required
Available options:
true
status_url
string<uri>
required
cancel_url
string<uri>
required
start_url
string<uri>
required
agent_id
string<uuid>
The agent the request was made for. On GET /call-requests/{id}, the browser's poll and a replayed create.
preparation_steps
object[]
On GET /call-requests/{id} (either channel) and the browser's poll. One entry per before-call step the workflow declares, in document order, whatever ran - so a waiting caller can be shown what is running, and a server can see which step failed and what its tool answered. Empty only between accepting the request and freezing the workflow version it runs. Step results are never included.
Show child attributes
workflow_revision_id
string<uuid> | null
The published version of the agent frozen for this request.
call_id
string<uuid> | null
Set once a call record exists. Pass it to the call-by-id endpoint.
error_code
string | null
Present only when status is failed or expired. An expired request is always request_expired. On a failed one the preparation's own code wins wherever it recorded one - step_failed when a before-call step failed and its failure setting stops the call (preparation_steps names the step and what its tool answered), before_declined for a refusal, preparation_interrupted when the platform could not finish running the steps (a fault on its side, never a tool's answer; no step is sent twice - create a new request), preparation_unavailable when the steps could not be run at all, promotion_stalled when the agent's latest settings were still not ready 30 s after the request was due (retry shortly) - and where it recorded nothing the value is before_declined for a refusal and request_failed for anything else.
execution
object
Execution history — how the platform carried the call out, beside the
conversation itself. Returned on GET /calls/{id} and GET /call-requests/{id}
when execution history is enabled for the workspace; absent otherwise. Ask for a
page of it with the execution_limit and execution_cursor query parameters.
This is an investigation view, not an authority: it is read-only, it is retained
for a limited window, and it never carries the platform's own plumbing.
The members below are the whole of this block. They are written down
because the API projects onto exactly this list before the response is written:
anything else the platform knows about a call — delivery row ids, internal job
and journal counts, storage-retention flags, internal hostnames, its own
diagnostic notes — is dropped rather than published, and every URL here is
rewritten onto the public API base whatever the platform recorded. A field you
do not see below will not appear, and a field you do see will not change shape.
Show child attributes
type
enum<string>
Available options:
web
accepted_at
string<date-time> | null
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Yappr","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"favicon":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/favicon.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a8c28fe51e78b8e4701c773698ba2378","logo":{"light":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f","dark":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/dark.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=613f48501928d9122f97fb91bfcf9b87"},"api":{"openapi":"openapi.yaml"},"footer":{"socials":{"website":"https://goyappr.com"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yappr","hasAudioNarration":false,"actualSubdomain":"yappr","customDomains":["docs.goyappr.com"],"gitSource":{"type":"github","owner":"simon-isf","repo":"hebrew-voice-ai","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b097bda241cbb20e7401d81","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":210},{"language":"default","tag":"Tools \u0026 integrations","count":35},{"language":"default","tag":"Agent Eval","count":24},{"language":"default","tag":"Agents","count":20},{"language":"default","tag":"Tools","count":19},{"language":"default","tag":"Connected accounts","count":16},{"language":"default","tag":"Campaigns","count":15},{"language":"default","tag":"Carrier accounts","count":14},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Billing","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"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/calls/request-create","slug":"/api-reference/calls/request-create","pageMetadata":{"title":"Create Web Call Request","openapi":"POST /call-requests","description":"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller's browser starts the call itself once the steps are done.\n\nUse this when an agent's mint answers `protocol: \"call_request\"`. An agent the mint answers `offer` for does not need it - POST /calls with `type: \"web\"` mints a session token and the browser sends one offer, exactly as before.\n\nThe `start_capability` is returned once and stored only as a hash. It authorises this one request's read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\n","href":"/api-reference/calls/request-create"},"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 p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller’s browser starts the call itself once the steps are done.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Use this when an agent’s mint answers \", _jsx(_components.code, {\n children: \"protocol: \\\"call_request\\\"\"\n }), \". An agent the mint answers \", _jsx(_components.code, {\n children: \"offer\"\n }), \" for does not need it - POST /calls with \", _jsx(_components.code, {\n children: \"type: \\\"web\\\"\"\n }), \" mints a session token and the browser sends one offer, exactly as before.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The \", _jsx(_components.code, {\n children: \"start_capability\"\n }), \" is returned once and stored only as a hash. It authorises this one request’s read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Requires `,_jsx(_components.code,{children:`calls:create`}),`. Creates a `,_jsx(_components.strong,{children:`browser`}),` call on a workflow agent (with or without steps before\nit answers or follow-ups after the call), and\nhands back the one capability the browser needs to follow it and start it.`]}),`\n`,_jsx(_components.p,{children:`Nothing is dialled here. No call record is created, no line is held and no\nminutes are charged: the caller’s browser starts the call itself, once the steps\nare done. That is the whole reason this endpoint exists — a browser call used to\nbe one request that took a line and created a peer in the same breath, which\nleft before-call steps nowhere to run.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.goyappr.com/call-requests`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-company-id: COMPANY_ID\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"web\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"AGENT_ID\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"variables\": { \"LeadName\": \"David\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9f1c…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"run_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4ab2…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"web\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"preparing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preparation_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"call_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-16T00:15:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start_capability\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.goyappr.com/web-call/call-requests/9f1c…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cancel_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.goyappr.com/web-call/call-requests/9f1c…/cancel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.goyappr.com/web-call/call-requests/9f1c…/start\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`which-agents-need-this`,children:`Which agents need this`}),`\n`,_jsxs(_components.p,{children:[`Ask the mint. `,_jsx(_components.code,{children:`POST /calls`}),` with `,_jsx(_components.code,{children:`type: \"web\"`}),` answers with `,_jsx(_components.code,{children:`protocol`}),`:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`protocol`})}),_jsx(_components.th,{children:`What the browser does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offer`})}),_jsx(_components.td,{children:`Sends one SDP offer with the session token. Unchanged, and what most agents use.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_request`})}),_jsx(_components.td,{children:`Creates the call here, polls it, and starts it when it is ready.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`@goyappr/client`}),` does this for you — pass `,_jsx(_components.code,{children:`session.protocol`}),` through to\n`,_jsx(_components.code,{children:`startSession`}),`. An older client that sends a one-shot offer to an agent the\nmint answered `,_jsx(_components.code,{children:`call_request`}),` for is refused with\n`,_jsx(_components.code,{children:`409 workflow_preparation_required`}),`, and the refusal\ncosts nothing: the token is not spent and no line is taken, so the same token\ncan create the request instead.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-capability`,children:`The capability`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`start_capability`}),` is returned `,_jsx(_components.strong,{children:`once`}),` and stored only as a hash. It authorises\nthis one request’s read, cancel and start, and nothing else — not another\nrequest, not a phone request, not anything about the workspace — so it is safe\nto hand to a browser. Send it as `,_jsx(_components.code,{children:`x-yappr-call-request-key`}),`. It dies with the\nrequest at `,_jsx(_components.code,{children:`expires_at`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`That is why the three URLs are browser routes on the API host\n(`,_jsx(_components.code,{children:`/web-call/call-requests/…`}),`) that take the capability instead of your key: your\nsecret key never has to reach a browser.`]}),`\n`,_jsx(Heading,{level:`2`,id:`asking-again-with-the-same-key`,children:`Asking again with the same key`}),`\n`,_jsxs(_components.p,{children:[`Send an `,_jsx(_components.code,{children:`Idempotency-Key`}),` and a retry is safe: the same key with the same body\ndoes not create a second request. It answers `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`200`})}),` with the request `,_jsx(_components.strong,{children:`as it\nis now`}),` — a request whose steps already failed reads `,_jsx(_components.code,{children:`failed`}),` with its\n`,_jsx(_components.code,{children:`error_code`}),`, not `,_jsx(_components.code,{children:`preparing`}),` — with `,_jsx(_components.code,{children:`replayed: true`}),`, the three URLs, and `,_jsx(_components.strong,{children:`no`}),`\n`,_jsx(_components.code,{children:`start_capability`}),`. The capability that works was returned once, by the first\ncreate, and is stored only as a hash, so keep it from that answer. The same key\nwith a different body is `,_jsx(_components.code,{children:`409 WORKFLOW_IDEMPOTENCY_CONFLICT`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A browser that presents a Web SDK session token again gets the same answer: the\ntoken is the create’s key. That holds until the token runs out — even in its last\nfive minutes, when a token that has not created a request yet is refused with\n`,_jsx(_components.code,{children:`409 SESSION_TOKEN_EXPIRES_TOO_SOON`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`following-it`,children:`Following it`}),`\n`,_jsxs(_components.p,{children:[`Poll `,_jsx(_components.code,{children:`status_url`}),` until `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`ready`}),`, then start it. The read carries\n`,_jsx(_components.code,{children:`preparation_steps`}),` — one entry per authored before-call step, in document\norder, each with the author’s own `,_jsx(_components.code,{children:`label`}),` — so a waiting caller can be shown\nwhat is running rather than a silent spinner, and your server’s\n`,_jsx(_components.a,{href:`/api-reference/calls/request-get`,children:_jsx(_components.code,{children:`GET /call-requests/{id}`})}),` carries the same\narray, with the failed step’s `,_jsx(_components.code,{children:`error_code`}),` and `,_jsx(_components.code,{children:`http_status`}),`. Step `,_jsx(_components.strong,{children:`results`}),`\nare never included: a before-call result is data the agent is given, not\nsomething a browser may read.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"preparing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preparation_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"running\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preparation_steps\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lookup_caller\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Look up the caller\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"running\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`cancel_url`}),` stops a request that has not been started. A browser call holds no\nline while it prepares, but the steps are work this workspace paid for, so\ncancelling when the caller changes their mind is worth doing rather than letting\nit expire.`]}),`\n`,_jsx(Heading,{level:`2`,id:`statuses`,children:`Statuses`}),`\n`,_jsxs(_components.p,{children:[`The same states a phone request has, and they mean the same things. See\n`,_jsx(_components.a,{href:`/api-reference/calls/request-get`,children:`Get Call Request`}),`. The one difference is what\n`,_jsx(_components.code,{children:`dispatching`}),` means here: a browser request reaches it when the caller claims\ntheir start and the peer is being negotiated, rather than when a number is being\ndialled. It reads `,_jsx(_components.code,{children:`dispatched`}),` as soon as the voice server has answered the\nbrowser, and stays `,_jsx(_components.code,{children:`dispatched`}),` after the call ends; how the call went is on\n`,_jsx(_components.a,{href:`/api-reference/calls/get`,children:_jsx(_components.code,{children:`GET /calls/{id}`})}),` under `,_jsx(_components.code,{children:`call_id`}),`. The call’s end\nreaches its workflow like a phone call’s, so follow-ups on `,_jsx(_components.code,{children:`any_end`}),` or\n`,_jsx(_components.code,{children:`call.ended`}),` run on a browser call too.`]}),`\n`,_jsx(Heading,{level:`2`,id:`refusals`,children:`Refusals`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`AGENT_NOT_FOUND`})}),_jsx(_components.td,{children:`This workspace has no agent with that id.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WORKFLOW_AGENT_INACTIVE`})}),_jsxs(_components.td,{children:[`The agent exists but is switched off. `,_jsx(_components.code,{children:`PATCH /agents/{id}`}),` with `,_jsx(_components.code,{children:`{\"is_active\": true}`}),`, then ask again. A copy made with `,_jsx(_components.a,{href:`/api-reference/agents/duplicate`,children:_jsx(_components.code,{children:`POST /agents/{id}/duplicate`})}),` starts switched off, so this is the usual answer on a freshly duplicated agent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WORKFLOW_NOT_ENABLED`})}),_jsxs(_components.td,{children:[`The agent does not run a workflow. Mint the session with `,_jsx(_components.a,{href:`/api-reference/calls/create`,children:_jsx(_components.code,{children:`POST /calls`})}),` `,_jsx(_components.code,{children:`{\"type\": \"web\"}`}),` instead.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`WORKFLOW_UNPUBLISHED`})}),_jsxs(_components.td,{children:[`The agent has no published version yet. `,_jsx(_components.a,{href:`/api-reference/workflows/publish`,children:`Publish`}),` it first.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`BAD_REQUEST`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`type`}),` is not `,_jsx(_components.code,{children:`\"web\"`}),` — a phone call is created with `,_jsx(_components.a,{href:`/api-reference/calls/create`,children:_jsx(_components.code,{children:`POST /calls`})}),` — or `,_jsx(_components.code,{children:`agent_id`}),` is missing.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`Being switched off is reported before being unpublished, because switching it on\nis the step you are missing: publishing an agent nobody can call would not make\nthe call happen.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Web Call Request","openapi":"POST /call-requests","description":"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller's browser starts the call itself once the steps are done.\n\nUse this when an agent's mint answers `protocol: \"call_request\"`. An agent the mint answers `offer` for does not need it - POST /calls with `type: \"web\"` mints a session token and the browser sends one offer, exactly as before.\n\nThe `start_capability` is returned once and stored only as a hash. It authorises this one request's read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\n","href":"/api-reference/calls/request-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Which agents need this","slug":"which-agents-need-this","depth":2,"children":[]},{"title":"The capability","slug":"the-capability","depth":2,"children":[]},{"title":"Asking again with the same key","slug":"asking-again-with-the-same-key","depth":2,"children":[]},{"title":"Following it","slug":"following-it","depth":2,"children":[]},{"title":"Statuses","slug":"statuses","depth":2,"children":[]},{"title":"Refusals","slug":"refusals","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create web call request","operationId":"createWebCallRequest","tags":["Calls"],"description":"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller's browser starts the call itself once the steps are done.\n\nUse this when an agent's mint answers `protocol: \"call_request\"`. An agent the mint answers `offer` for does not need it - POST /calls with `type: \"web\"` mints a session token and the browser sends one offer, exactly as before.\n\nThe `start_capability` is returned once and stored only as a hash. It authorises this one request's read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\n","requestBody":"905cce84-61f2-4f03-bec0-3d8e3bd09b21","parameters":["fd044156-6c0a-43a0-812d-cb80b1937063"],"responses":{"200":"e6dc499c-3640-411f-9068-e90fc6a3ddf8","202":"41499b7e-91b0-47c8-97e3-19d56cdea408","400":"6702f11b-8011-4735-922e-9fc5650467e1","401":"d39af18b-6f45-46ec-9f1f-c9b34d8b9171","404":"359da7bf-5673-4861-b165-45be731403f0","409":"810bca56-8837-42a0-b242-84f8ae7ae09c","422":"2bebb44b-f37e-40e4-8c25-c7a0f71e2aa5","503":"ee9cb7fe-cbd8-4f8b-9fcc-10e5d64847e8"},"method":"post","type":"path","servers":["dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d"],"security":["2767439e-f0c6-4cd4-a450-ba11a6ab8311"],"path":"/call-requests","baseUrlOptions":["https://api.goyappr.com"],"title":"Create web call request","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fd044156-6c0a-43a0-812d-cb80b1937063":{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","maxLength":200,"isRequired":false,"description":"Visible ASCII, space excluded. The same key with the same body answers 200 with the request as it is now and no start_capability (see the 200 response); with a different body it is a conflict.\n","uniqueKey":"","typeLabel":"string"},"description":"Visible ASCII, space excluded. The same key with the same body answers 200 with the request as it is now and no start_capability (see the 200 response); with a different body it is a conflict.\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["type","agent_id"],"additionalProperties":false,"properties":{"type":{"type":"string","enum":["web"],"description":"A phone call is created with POST /calls.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"agent_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string\u003cuuid>"},"variables":{"type":"object","description":"Values the workflow's request schema declares. Rendered into the prompt and readable by before-call steps.","uniqueKey":"variables","typeLabel":"object"},"metadata":{"type":"object","description":"Stored on the call record and echoed to tools. Reserved platform key names are refused.","uniqueKey":"metadata","typeLabel":"object"},"workflow_revision_id":{"type":"string","format":"uuid","description":"Pin a published version of this agent's workflow instead of following the current one.","uniqueKey":"workflow_revision_id","typeLabel":"string\u003cuuid>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"web","agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","variables":{},"metadata":{},"workflow_revision_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e6dc499c-3640-411f-9068-e90fc6a3ddf8":{"description":"This Idempotency-Key already created a request (with the same body). The request as it is now - the CallRequest fields, `request_id`, `type`, `agent_id`, `accepted_at`, the three URLs and `replayed: true` - and no `start_capability`: the one that works was returned once, by the first create, and is stored only as a hash. A request that already failed reads `failed` with its `error_code` here, not `preparing`.\n","content":{"application/json":{"schema":{"type":"object","description":"Lifecycle record for one accepted call on a workflow agent. An outbound phone call returns its identity as `request_id` from POST /calls; a browser call is created directly with POST /call-requests. Either way this object is what you poll and what you cancel, and the two follow the same states.\n","required":["request_id","replayed","status_url","cancel_url","start_url","id","run_id","channel","status","preparation_status","expires_at"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"run_id":{"type":"string","format":"uuid","description":"Shared lifecycle identity. It does not grant access to call history.","isRequired":true,"uniqueKey":"run_id","typeLabel":"string\u003cuuid>"},"channel":{"type":"string","enum":["phone","web"],"description":"`phone` is dialled by the platform once it is ready. `web` is started by the caller's own browser with POST /call-requests/{id}/start, because the microphone is there and not here.\n","isRequired":true,"uniqueKey":"channel","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["preparing","scheduled","ready","dispatching","dispatched","failed","expired","cancelled","dispatch_unknown"],"description":"`scheduled` waits for the workspace's next calling window; `preparing` and `ready` cover pre-call work; `dispatching` and `dispatched` mean the call is being placed or has been placed; `dispatch_unknown` means placement is still being confirmed and must not be retried blindly; `failed`, `expired` and `cancelled` are final.\n","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"preparation_status":{"type":"string","enum":["pending","running","ready","failed","expired","cancelled","declined"],"description":"Progress of the pre-call step only. A preparation that fails or runs out of time does not always fail the request - an agent configured to continue with whatever is available still calls, with whatever the preparation produced. `declined` is a decision rather than a failure - a before-call step refused the call, so nothing is dialled, no call record is created, and the failure policy does not apply.\n","isRequired":true,"uniqueKey":"preparation_status","typeLabel":"enum\u003cstring>"},"expires_at":{"type":"string","format":"date-time","description":"After this moment a request that has not finished is abandoned and no call is placed. A request that already failed keeps status failed and its error_code.","isRequired":true,"uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"replayed":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"replayed","typeLabel":"enum\u003cboolean>"},"status_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"status_url","typeLabel":"string\u003curi>"},"cancel_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"cancel_url","typeLabel":"string\u003curi>"},"start_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"start_url","typeLabel":"string\u003curi>"},"agent_id":{"type":"string","description":"The agent the request was made for. On GET /call-requests/{id}, the browser's poll and a replayed create.","format":"uuid","uniqueKey":"agent_id","typeLabel":"string\u003cuuid>"},"preparation_steps":{"type":"array","description":"On GET /call-requests/{id} (either channel) and the browser's poll. One entry per before-call step the workflow declares, in document order, whatever ran - so a waiting caller can be shown what is running, and a server can see which step failed and what its tool answered. Empty only between accepting the request and freezing the workflow version it runs. Step results are never included.\n","items":{"type":"object","required":["id","label","status"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"preparation_steps.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","description":"The author's own name for the step.","isRequired":true,"uniqueKey":"preparation_steps.items.[INDEX].label","typeLabel":"string"},"status":{"type":"string","enum":["waiting","inactive","running","pending","unknown","succeeded","failed","blocked","skipped","not_run","cancelled"],"description":"waiting (not started yet); inactive (it runs only if an earlier step's route chooses it, and none has yet); running (sent, waiting for the answer); pending (its address accepted the request without a final answer, such as an HTTP 202 - settled as failed in a moment); unknown (the request may or may not have reached its address - a timeout or a dropped connection - settled as failed in a moment, never sent twice); succeeded; failed; blocked (not sent, or its answer was not usable); skipped (its condition said no, no route chose it, a step it depends on was skipped, or an earlier step stopped the preparation); or not_run - the preparation ended (failed, cancelled or ran out of time) before this step ran; or cancelled - the request was cancelled while this step was running, and whatever it answered is not used. waiting, inactive, running, pending and unknown are seen while the request is preparing. A finished preparation reads succeeded, failed, blocked, skipped, not_run and cancelled (an inactive step it never reached reads not_run; a step a cancel overtook reads cancelled, never running), except one that ended preparation_interrupted: the step it was running keeps the status it had.\n","isRequired":true,"uniqueKey":"preparation_steps.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"error_code":{"type":"string","description":"Only on a step that did not succeed: what its tool answered, in the platform's own codes - `downstream_http_error` (the address answered an HTTP error; see `http_status`), `http_timeout`, `http_network_error`, `url_resolves_private`, `output_schema_invalid` and the like. Never the response itself.\n","uniqueKey":"preparation_steps.items.[INDEX].error_code","typeLabel":"string"},"http_status":{"type":"integer","description":"Only on a step whose address answered: its HTTP status. A 4xx other than 408 and 429 answers the same way on every retry until the tool changes.\n","uniqueKey":"preparation_steps.items.[INDEX].http_status","typeLabel":"integer"},"refused_call":{"type":"boolean","description":"true only on the step whose route refused the call (the request reads failed with error_code before_declined). A step refused on a failure keeps its error_code and http_status; one refused on its answer reads succeeded. Absent on every other step.\n","uniqueKey":"preparation_steps.items.[INDEX].refused_call","typeLabel":"boolean"}},"uniqueKey":"preparation_steps.items.[INDEX]","typeLabel":"object"},"uniqueKey":"preparation_steps","typeLabel":"object[]"},"workflow_revision_id":{"oneOf":[{"type":"string","format":"uuid","description":"The published version of the agent frozen for this request.","uniqueKey":"workflow_revision_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The published version of the agent frozen for this request.","uniqueKey":"workflow_revision_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"workflow_revision_id","typeLabel":"string\u003cuuid> | null"},"call_id":{"oneOf":[{"type":"string","format":"uuid","description":"Set once a call record exists. Pass it to the call-by-id endpoint.","uniqueKey":"call_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Set once a call record exists. Pass it to the call-by-id endpoint.","uniqueKey":"call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"call_id","typeLabel":"string\u003cuuid> | null"},"error_code":{"oneOf":[{"type":"string","description":"Present only when status is failed or expired. An expired request is always `request_expired`. On a failed one the preparation's own code wins wherever it recorded one - `step_failed` when a before-call step failed and its failure setting stops the call (`preparation_steps` names the step and what its tool answered), `before_declined` for a refusal, `preparation_interrupted` when the platform could not finish running the steps (a fault on its side, never a tool's answer; no step is sent twice - create a new request), `preparation_unavailable` when the steps could not be run at all, `promotion_stalled` when the agent's latest settings were still not ready 30 s after the request was due (retry shortly) - and where it recorded nothing the value is `before_declined` for a refusal and `request_failed` for anything else.\n","uniqueKey":"error_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Present only when status is failed or expired. An expired request is always `request_expired`. On a failed one the preparation's own code wins wherever it recorded one - `step_failed` when a before-call step failed and its failure setting stops the call (`preparation_steps` names the step and what its tool answered), `before_declined` for a refusal, `preparation_interrupted` when the platform could not finish running the steps (a fault on its side, never a tool's answer; no step is sent twice - create a new request), `preparation_unavailable` when the steps could not be run at all, `promotion_stalled` when the agent's latest settings were still not ready 30 s after the request was due (retry shortly) - and where it recorded nothing the value is `before_declined` for a refusal and `request_failed` for anything else.\n","uniqueKey":"error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_code","typeLabel":"string | null"},"execution":{"type":"object","additionalProperties":false,"description":"**Execution history — how the platform carried the call out**, beside the\nconversation itself. Returned on `GET /calls/{id}` and `GET /call-requests/{id}`\nwhen execution history is enabled for the workspace; absent otherwise. Ask for a\npage of it with the `execution_limit` and `execution_cursor` query parameters.\n\nThis is an investigation view, not an authority: it is read-only, it is retained\nfor a limited window, and it never carries the platform's own plumbing.\n\n**The members below are the whole of this block.** They are written down\nbecause the API projects onto exactly this list before the response is written:\nanything else the platform knows about a call — delivery row ids, internal job\nand journal counts, storage-retention flags, internal hostnames, its own\ndiagnostic notes — is dropped rather than published, and every URL here is\nrewritten onto the public API base whatever the platform recorded. A field you\ndo not see below will not appear, and a field you do see will not change shape.\n","properties":{"version":{"type":"string","const":"execution-visibility-v1","uniqueKey":"execution.version","typeLabel":"string"},"audience":{"type":"string","const":"company","description":"Whose view this is. A company-authorized read is the only one this API returns.","uniqueKey":"execution.audience","typeLabel":"string"},"subject":{"type":"string","enum":["call","tool_test"],"uniqueKey":"execution.subject","typeLabel":"enum\u003cstring>"},"run_id":{"oneOf":[{"type":"string","format":"uuid","description":"Shared lifecycle identity of the request and the call it became.","uniqueKey":"execution.run_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Shared lifecycle identity of the request and the call it became.","uniqueKey":"execution.run_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.run_id","typeLabel":"string\u003cuuid> | null"},"request_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.request_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.request_id","typeLabel":"string\u003cuuid> | null"},"call_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.call_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.call_id","typeLabel":"string\u003cuuid> | null"},"tool_id":{"oneOf":[{"type":"string","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.tool_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.tool_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.tool_id","typeLabel":"string\u003cuuid> | null"},"test_id":{"oneOf":[{"type":"string","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.test_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Tool tests only.","uniqueKey":"execution.test_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.test_id","typeLabel":"string\u003cuuid> | null"},"workflow_revision_id":{"oneOf":[{"type":"string","format":"uuid","description":"The published version of the agent this run was frozen on.","uniqueKey":"execution.workflow_revision_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The published version of the agent this run was frozen on.","uniqueKey":"execution.workflow_revision_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.workflow_revision_id","typeLabel":"string\u003cuuid> | null"},"strict":{"oneOf":[{"type":"boolean","description":"Whether the run was admitted under the agent's strict setting.","uniqueKey":"execution.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the run was admitted under the agent's strict setting.","uniqueKey":"execution.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.strict","typeLabel":"boolean | null"},"owner":{"type":"string","enum":["workflow","legacy"],"description":"Which authoring model owns the run - `workflow` for a workflow agent; `legacy` for a call of an agent that runs no workflow (a prompt agent, and every call from before workflows), whose history is what the call itself recorded (history.coverage legacy_best_effort). Such a call reads execution_status included, not none.","uniqueKey":"execution.owner","typeLabel":"enum\u003cstring>"},"channel":{"oneOf":[{"type":"string","enum":["phone","web",null],"uniqueKey":"execution.channel.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["phone","web",null],"uniqueKey":"execution.channel.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.channel","typeLabel":"enum\u003cstring> | null"},"direction":{"oneOf":[{"type":"string","enum":["inbound","outbound","web",null],"uniqueKey":"execution.direction.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["inbound","outbound","web",null],"uniqueKey":"execution.direction.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.direction","typeLabel":"enum\u003cstring> | null"},"refresh_after_ms":{"oneOf":[{"type":"integer","description":"How long to wait before asking again while work is still running. On GET /calls/{id}, null once the call has settled (summary.is_settled true): nothing on it will change.","uniqueKey":"execution.refresh_after_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"How long to wait before asking again while work is still running. On GET /calls/{id}, null once the call has settled (summary.is_settled true): nothing on it will change.","uniqueKey":"execution.refresh_after_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.refresh_after_ms","typeLabel":"integer | null"},"supplementary":{"type":"string","enum":["complete","partial","not_loaded"],"description":"Whether the conversation-side records beside this block were loaded for this response.","uniqueKey":"execution.supplementary","typeLabel":"enum\u003cstring>"},"supplementary_errors":{"type":"array","description":"Reason codes for anything the read beside this block could not load. Empty when `supplementary` is `complete`.","items":{"type":"string","uniqueKey":"execution.supplementary_errors.items.[INDEX]","typeLabel":"string"},"uniqueKey":"execution.supplementary_errors","typeLabel":"string[]"},"links":{"type":"object","additionalProperties":false,"description":"Public API URLs for the related records, and the only three link members there are. Each one is rewritten onto this API's own base before it is published.\n","properties":{"request":{"type":"string","format":"uri","uniqueKey":"execution.links.request","typeLabel":"string\u003curi>"},"call_detail":{"type":"string","format":"uri","uniqueKey":"execution.links.call_detail","typeLabel":"string\u003curi>"},"tool_test":{"type":"string","format":"uri","uniqueKey":"execution.links.tool_test","typeLabel":"string\u003curi>"}},"uniqueKey":"execution.links","typeLabel":"object"},"summary":{"type":"object","additionalProperties":false,"description":"Where the call got to, rolled up.","properties":{"revision":{"type":"string","description":"Monotonic revision of this snapshot, as a string so a large value survives JavaScript.","uniqueKey":"execution.summary.revision","typeLabel":"string"},"as_of":{"type":"string","format":"date-time","uniqueKey":"execution.summary.as_of","typeLabel":"string\u003cdate-time>"},"run_status":{"oneOf":[{"type":"string","enum":["accepted","materialized","cancelled","failed","completed",null],"description":"Where the call's run is. `materialized` while its window is open - a call's follow-ups can still start until the window closes, which is hours after the call is accepted - and `completed` once the window has closed and every phase of the run, its post-call jobs and its call attempts have ended. A follow-up that failed does not make the run `failed`: read that on the follow-up's own row. `failed` and `cancelled` mean the call was refused, abandoned or cancelled before it ran.\n","uniqueKey":"execution.summary.run_status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["accepted","materialized","cancelled","failed","completed",null],"description":"Where the call's run is. `materialized` while its window is open - a call's follow-ups can still start until the window closes, which is hours after the call is accepted - and `completed` once the window has closed and every phase of the run, its post-call jobs and its call attempts have ended. A follow-up that failed does not make the run `failed`: read that on the follow-up's own row. `failed` and `cancelled` mean the call was refused, abandoned or cancelled before it ran.\n","uniqueKey":"execution.summary.run_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.run_status","typeLabel":"enum\u003cstring> | null"},"call_state":{"type":"string","uniqueKey":"execution.summary.call_state","typeLabel":"string"},"physical_end_observed":{"oneOf":[{"type":"boolean","description":"Whether the carrier confirmed the line was down, rather than the platform inferring it.","uniqueKey":"execution.summary.physical_end_observed.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the carrier confirmed the line was down, rather than the platform inferring it.","uniqueKey":"execution.summary.physical_end_observed.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.physical_end_observed","typeLabel":"boolean | null"},"follow_up_state":{"type":"string","enum":["not_started","running","succeeded","failed","unknown","cancelled","unavailable"],"description":"On GET /calls/{id}, one word for the call's follow_ups member and its trigger timeline rows together: failed, running, not_started (follow_ups waiting), cancelled (follow_ups skipped), unknown, succeeded - the first that fits. unavailable when nothing ran and nothing is explained, and on a call request (read the call).","uniqueKey":"execution.summary.follow_up_state","typeLabel":"enum\u003cstring>"},"settlement":{"type":"string","enum":["unsettled","settled","unavailable"],"uniqueKey":"execution.summary.settlement","typeLabel":"enum\u003cstring>"},"is_settled":{"oneOf":[{"type":"boolean","description":"On GET /calls/{id}, true (with settlement `settled`) once the call has ended, its analysis and cost are final, and nothing of its own is still running, waiting or due; a browser session that ended before anyone connected reads the same. Stop polling then. Null while that cannot be said yet.\n","uniqueKey":"execution.summary.is_settled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"On GET /calls/{id}, true (with settlement `settled`) once the call has ended, its analysis and cost are final, and nothing of its own is still running, waiting or due; a browser session that ended before anyone connected reads the same. Stop polling then. Null while that cannot be said yet.\n","uniqueKey":"execution.summary.is_settled.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.is_settled","typeLabel":"boolean | null"},"settlement_reasons":{"type":"array","description":"Reason codes for an unsettled call.","items":{"type":"string","uniqueKey":"execution.summary.settlement_reasons.items.[INDEX]","typeLabel":"string"},"uniqueKey":"execution.summary.settlement_reasons","typeLabel":"string[]"},"counts":{"type":"object","additionalProperties":false,"description":"Counts by phase and then by status, for the customer's own work only - `invocations` (steps the agent ran) and `attempts` (tries those took). Internal platform job and journal counts are not included. Phase and status keys are lowercase identifiers and the values are whole numbers; a bucket holding no counts is omitted rather than sent empty.\n","properties":{"invocations":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"integer","uniqueKey":"execution.summary.counts.invocations.additionalProperties.additionalProperties","typeLabel":"integer"},"uniqueKey":"execution.summary.counts.invocations.additionalProperties","typeLabel":"object"},"uniqueKey":"execution.summary.counts.invocations","typeLabel":"object"},"attempts":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"object","propertyNames":{"pattern":"^[a-z][a-z_]{0,39}$"},"additionalProperties":{"type":"integer","uniqueKey":"execution.summary.counts.attempts.additionalProperties.additionalProperties","typeLabel":"integer"},"uniqueKey":"execution.summary.counts.attempts.additionalProperties","typeLabel":"object"},"uniqueKey":"execution.summary.counts.attempts","typeLabel":"object"}},"uniqueKey":"execution.summary.counts","typeLabel":"object"},"active_work":{"type":"array","description":"Work still running or waiting at the moment of this snapshot.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"uuid","uniqueKey":"execution.summary.active_work.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"phase":{"type":"string","enum":["before","during","after","platform"],"uniqueKey":"execution.summary.active_work.items.[INDEX].phase","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"execution.summary.active_work.items.[INDEX].kind","typeLabel":"string"},"status":{"type":"string","uniqueKey":"execution.summary.active_work.items.[INDEX].status","typeLabel":"string"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.summary.active_work.items.[INDEX].reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.summary.active_work.items.[INDEX].reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.active_work.items.[INDEX].reason_code","typeLabel":"string | null"},"deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.summary.active_work.items.[INDEX].deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.summary.active_work.items.[INDEX].deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.active_work.items.[INDEX].deadline_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"execution.summary.active_work.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.summary.active_work","typeLabel":"object[]"},"active_work_truncated":{"type":"boolean","description":"True when more work was running than this list shows.","uniqueKey":"execution.summary.active_work_truncated","typeLabel":"boolean"},"latest_problem":{"oneOf":[{"type":"object","additionalProperties":false,"description":"The most recent piece of work that failed or was blocked, in the same shape as active_work.","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"execution.summary.latest_problem.oneOf.0.id","typeLabel":"string\u003cuuid>"},"phase":{"type":"string","enum":["before","during","after","platform"],"uniqueKey":"execution.summary.latest_problem.oneOf.0.phase","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"execution.summary.latest_problem.oneOf.0.kind","typeLabel":"string"},"status":{"type":"string","uniqueKey":"execution.summary.latest_problem.oneOf.0.status","typeLabel":"string"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.summary.latest_problem.oneOf.0.reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.summary.latest_problem.oneOf.0.reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.latest_problem.oneOf.0.reason_code","typeLabel":"string | null"},"deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.summary.latest_problem.oneOf.0.deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.summary.latest_problem.oneOf.0.deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.latest_problem.oneOf.0.deadline_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"execution.summary.latest_problem.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"description":"The most recent piece of work that failed or was blocked, in the same shape as active_work.","properties":{"id":{"type":"string","format":"uuid"},"phase":{"type":"string","enum":["before","during","after","platform"]},"kind":{"type":"string"},"status":{"type":"string"},"reason_code":{"oneOf":[{"type":"string"},{"type":"null"}]},"deadline_at":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"uniqueKey":"execution.summary.latest_problem.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.latest_problem","typeLabel":"object | null"},"next_deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.summary.next_deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.summary.next_deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.next_deadline_at","typeLabel":"string\u003cdate-time> | null"},"artifacts":{"type":"array","description":"Readiness of each thing the call produces - recording, transcript, analysis, lead, billing.","items":{"type":"object","additionalProperties":false,"properties":{"artifact":{"type":"string","enum":["recording","transcript","analysis","lead","billing"],"uniqueKey":"execution.summary.artifacts.items.[INDEX].artifact","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","running","succeeded","empty","skipped","failed","not_expected","unavailable"],"uniqueKey":"execution.summary.artifacts.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"version":{"type":"integer","uniqueKey":"execution.summary.artifacts.items.[INDEX].version","typeLabel":"integer"},"output_revision":{"type":"integer","uniqueKey":"execution.summary.artifacts.items.[INDEX].output_revision","typeLabel":"integer"},"attempts":{"type":"integer","uniqueKey":"execution.summary.artifacts.items.[INDEX].attempts","typeLabel":"integer"},"deadline_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.summary.artifacts.items.[INDEX].deadline_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.summary.artifacts.items.[INDEX].deadline_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.artifacts.items.[INDEX].deadline_at","typeLabel":"string\u003cdate-time> | null"},"reason_code":{"oneOf":[{"type":"string","description":"Why the artifact is not `succeeded`. On `GET /calls/{id}` the `analysis` entry agrees with the call's `analysis` member: a pass that left no summary reads `failed` / `no_summary` here too. A `lead` entry that reads `skipped` names why: `web_call_no_phone` (a browser rehearsal has no caller's number), `transcript_too_short` (fewer than two turns) or `no_phone_number`.\n","uniqueKey":"execution.summary.artifacts.items.[INDEX].reason_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the artifact is not `succeeded`. On `GET /calls/{id}` the `analysis` entry agrees with the call's `analysis` member: a pass that left no summary reads `failed` / `no_summary` here too. A `lead` entry that reads `skipped` names why: `web_call_no_phone` (a browser rehearsal has no caller's number), `transcript_too_short` (fewer than two turns) or `no_phone_number`.\n","uniqueKey":"execution.summary.artifacts.items.[INDEX].reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.summary.artifacts.items.[INDEX].reason_code","typeLabel":"string | null"}},"uniqueKey":"execution.summary.artifacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.summary.artifacts","typeLabel":"object[]"}},"uniqueKey":"execution.summary","typeLabel":"object"},"history":{"type":"object","additionalProperties":false,"description":"The page of history you were given, and how to get the next one.","properties":{"high_water_mark":{"type":"string","description":"Furthest journal position this snapshot covers, as a string.","uniqueKey":"execution.history.high_water_mark","typeLabel":"string"},"retained_from_sequence":{"type":"string","description":"Earliest position still retained, as a string.","uniqueKey":"execution.history.retained_from_sequence","typeLabel":"string"},"coverage":{"type":"string","enum":["canonical","legacy_best_effort"],"uniqueKey":"execution.history.coverage","typeLabel":"enum\u003cstring>"},"coverage_started_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.history.coverage_started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.history.coverage_started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.history.coverage_started_at","typeLabel":"string\u003cdate-time> | null"},"complete":{"type":"boolean","description":"True when this page is the whole history: on GET /calls/{id}, a settled call with no next_url and nothing expired.","uniqueKey":"execution.history.complete","typeLabel":"boolean"},"gaps":{"type":"array","description":"Why this page may not be the whole history. Empty when complete is true.","items":{"type":"string","uniqueKey":"execution.history.gaps.items.[INDEX]","typeLabel":"string"},"uniqueKey":"execution.history.gaps","typeLabel":"string[]"},"retained_until":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.history.retained_until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.history.retained_until.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.history.retained_until","typeLabel":"string\u003cdate-time> | null"},"filters":{"type":"object","additionalProperties":false,"description":"The filters this page was read under, echoed back.","properties":{"phase":{"oneOf":[{"type":"string","enum":["before","during","after","platform",null],"uniqueKey":"execution.history.filters.phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["before","during","after","platform",null],"uniqueKey":"execution.history.filters.phase.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.history.filters.phase","typeLabel":"enum\u003cstring> | null"},"kind":{"oneOf":[{"type":"string","uniqueKey":"execution.history.filters.kind.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.history.filters.kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.history.filters.kind","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"execution.history.filters.status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.history.filters.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.history.filters.status","typeLabel":"string | null"}},"uniqueKey":"execution.history.filters","typeLabel":"object"},"limit":{"type":"integer","uniqueKey":"execution.history.limit","typeLabel":"integer"},"next_url":{"oneOf":[{"type":"string","format":"uri","description":"Next page, on the public API base. Null on the last page.","uniqueKey":"execution.history.next_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Next page, on the public API base. Null on the last page.","uniqueKey":"execution.history.next_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.history.next_url","typeLabel":"string\u003curi> | null"},"refresh_url":{"type":"string","format":"uri","description":"This same page again, on the public API base.","uniqueKey":"execution.history.refresh_url","typeLabel":"string\u003curi>"}},"uniqueKey":"execution.history","typeLabel":"object"},"items":{"type":"array","description":"The time-ordered rows themselves - one per step, attempt, phase boundary or platform event the call produced. `sequence` is a string so a large journal position survives JavaScript. `input` and `output` are bounded, redacted previews of the customer's own evidence, never raw credentials.\n","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"sequence":{"type":"string","description":"Journal position, as a string so a large value survives JavaScript.","uniqueKey":"execution.\\items.items.[INDEX].sequence","typeLabel":"string"},"phase":{"type":"string","enum":["before","during","after","platform"],"uniqueKey":"execution.\\items.items.[INDEX].phase","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].kind","typeLabel":"string"},"event":{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].event","typeLabel":"string"},"status":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].status","typeLabel":"string | null"},"call_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].call_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].call_id","typeLabel":"string\u003cuuid> | null"},"request_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].request_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].request_id","typeLabel":"string\u003cuuid> | null"},"phase_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].phase_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].phase_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].phase_id","typeLabel":"string\u003cuuid> | null"},"invocation_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].invocation_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].invocation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].invocation_id","typeLabel":"string\u003cuuid> | null"},"attempt_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].attempt_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].attempt_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].attempt_id","typeLabel":"string\u003cuuid> | null"},"receipt_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].receipt_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].receipt_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].receipt_id","typeLabel":"string\u003cuuid> | null"},"attempt_number":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].attempt_number.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].attempt_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].attempt_number","typeLabel":"integer | null"},"outer_run":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].outer_run.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].outer_run.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].outer_run","typeLabel":"integer | null"},"inner_attempt":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].inner_attempt.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].inner_attempt.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].inner_attempt","typeLabel":"integer | null"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].reason_code","typeLabel":"string | null"},"late":{"type":"boolean","description":"True when the row arrived after the page it belongs to was already read.","uniqueKey":"execution.\\items.items.[INDEX].late","typeLabel":"boolean"},"selected":{"oneOf":[{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].selected","typeLabel":"boolean | null"},"should_execute":{"oneOf":[{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].should_execute.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].should_execute.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].should_execute","typeLabel":"boolean | null"},"edges_truncated":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].edges_truncated","typeLabel":"boolean"},"action":{"oneOf":[{"type":"object","additionalProperties":false,"description":"The step this row is about, where it is one.","properties":{"name":{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","enum":["http","app","sequence","end_call","transfer","platform"],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.type","typeLabel":"enum\u003cstring>"},"binding_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.binding_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.binding_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.binding_id","typeLabel":"string\u003cuuid> | null"},"activation":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.activation.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.activation.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.activation","typeLabel":"string | null"},"tool_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.tool_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.tool_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.tool_id","typeLabel":"string\u003cuuid> | null"},"tool_revision_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.tool_revision_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.tool_revision_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.tool_revision_id","typeLabel":"string\u003cuuid> | null"},"schema_version":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.schema_version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.schema_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.schema_version","typeLabel":"string | null"},"adapter_version":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.adapter_version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.adapter_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.adapter_version","typeLabel":"string | null"},"compatibility_version":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.compatibility_version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.compatibility_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.compatibility_version","typeLabel":"string | null"},"connection_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_id","typeLabel":"string\u003cuuid> | null"},"connection_label":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_label.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_label.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_label","typeLabel":"string | null"},"connection_generation":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_generation.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_generation.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0.connection_generation","typeLabel":"integer | null"}},"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"description":"The step this row is about, where it is one.","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["http","app","sequence","end_call","transfer","platform"]},"binding_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"activation":{"oneOf":[{"type":"string"},{"type":"null"}]},"tool_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"tool_revision_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"schema_version":{"oneOf":[{"type":"string"},{"type":"null"}]},"adapter_version":{"oneOf":[{"type":"string"},{"type":"null"}]},"compatibility_version":{"oneOf":[{"type":"string"},{"type":"null"}]},"connection_id":{"oneOf":[{"type":"string","format":"uuid"},{"type":"null","format":"uuid"}]},"connection_label":{"oneOf":[{"type":"string"},{"type":"null"}]},"connection_generation":{"oneOf":[{"type":"integer"},{"type":"null"}]}},"uniqueKey":"execution.\\items.items.[INDEX].action.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].action","typeLabel":"object | null"},"field_errors":{"type":"array","description":"Validation failures, by path into the step's own input.","items":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].field_errors.items.[INDEX].path","typeLabel":"string"},"code":{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].field_errors.items.[INDEX].code","typeLabel":"string"}},"uniqueKey":"execution.\\items.items.[INDEX].field_errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.\\items.items.[INDEX].field_errors","typeLabel":"object[]"},"edges":{"type":"array","description":"Links to other rows of this same block. Only edges pointing at something you can read here are included - an invocation, a phase, or an artifact.\n","items":{"type":"object","additionalProperties":false,"properties":{"relation":{"type":"string","enum":["parent","depends_on","triggered_by","replay_of","receipt_for"],"uniqueKey":"execution.\\items.items.[INDEX].edges.items.[INDEX].relation","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","enum":["invocation","phase","artifact"],"uniqueKey":"execution.\\items.items.[INDEX].edges.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","format":"uuid","uniqueKey":"execution.\\items.items.[INDEX].edges.items.[INDEX].id","typeLabel":"string\u003cuuid>"}},"uniqueKey":"execution.\\items.items.[INDEX].edges.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.\\items.items.[INDEX].edges","typeLabel":"object[]"},"timing":{"type":"object","additionalProperties":false,"properties":{"occurred_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.occurred_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.occurred_at","typeLabel":"string\u003cdate-time> | null"},"recorded_at":{"type":"string","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.recorded_at","typeLabel":"string\u003cdate-time>"},"queued_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.queued_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.queued_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.queued_at","typeLabel":"string\u003cdate-time> | null"},"claimed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.claimed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.claimed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.claimed_at","typeLabel":"string\u003cdate-time> | null"},"dispatched_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the request actually left, never a claim timestamp.","uniqueKey":"execution.\\items.items.[INDEX].timing.dispatched_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the request actually left, never a claim timestamp.","uniqueKey":"execution.\\items.items.[INDEX].timing.dispatched_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.dispatched_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].timing.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.completed_at","typeLabel":"string\u003cdate-time> | null"},"queue_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].timing.queue_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].timing.queue_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.queue_ms","typeLabel":"integer | null"},"validation_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].timing.validation_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].timing.validation_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.validation_ms","typeLabel":"integer | null"},"network_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].timing.network_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].timing.network_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.network_ms","typeLabel":"integer | null"},"total_ms":{"oneOf":[{"type":"integer","uniqueKey":"execution.\\items.items.[INDEX].timing.total_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].timing.total_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.total_ms","typeLabel":"integer | null"},"audio_offset_ms":{"oneOf":[{"type":"integer","description":"Where in the recording this happened, where that is known.","uniqueKey":"execution.\\items.items.[INDEX].timing.audio_offset_ms.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Where in the recording this happened, where that is known.","uniqueKey":"execution.\\items.items.[INDEX].timing.audio_offset_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.audio_offset_ms","typeLabel":"integer | null"},"audio_clock_id":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].timing.audio_clock_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].timing.audio_clock_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].timing.audio_clock_id","typeLabel":"string | null"}},"uniqueKey":"execution.\\items.items.[INDEX].timing","typeLabel":"object"},"retry":{"type":"object","additionalProperties":false,"properties":{"eligibility":{"type":"string","enum":["not_eligible","automatic","manual","unknown"],"uniqueKey":"execution.\\items.items.[INDEX].retry.eligibility","typeLabel":"enum\u003cstring>"},"reason_code":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].retry.reason_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].retry.reason_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].retry.reason_code","typeLabel":"string | null"},"next_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].retry.next_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"execution.\\items.items.[INDEX].retry.next_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].retry.next_at","typeLabel":"string\u003cdate-time> | null"},"automatic_recovery_stopped":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].retry.automatic_recovery_stopped","typeLabel":"boolean"}},"uniqueKey":"execution.\\items.items.[INDEX].retry","typeLabel":"object"},"input":{"type":"object","additionalProperties":false,"description":"Bounded, redacted preview of what went into the step.","properties":{"value":{"description":"The preview itself - any JSON, exactly as the platform recorded it, or null when there is none.","uniqueKey":"execution.\\items.items.[INDEX].input.value","typeLabel":"any"},"availability":{"type":"string","enum":["available","not_applicable","unavailable"],"uniqueKey":"execution.\\items.items.[INDEX].input.availability","typeLabel":"enum\u003cstring>"},"unavailable_reason":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].input.unavailable_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].input.unavailable_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].input.unavailable_reason","typeLabel":"string | null"},"redacted":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].input.redacted","typeLabel":"boolean"},"truncated":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].input.truncated","typeLabel":"boolean"},"omitted":{"type":"array","description":"What was left out of the preview, and why.","items":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].input.omitted.items.[INDEX].path","typeLabel":"string"},"reason":{"type":"string","enum":["configured_sensitive","credential","private_reference","diagnostic","secret_value","url","depth_limit","byte_limit","node_limit","item_limit","string_limit","unavailable"],"uniqueKey":"execution.\\items.items.[INDEX].input.omitted.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"execution.\\items.items.[INDEX].input.omitted.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.\\items.items.[INDEX].input.omitted","typeLabel":"object[]"},"omitted_metadata_truncated":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].input.omitted_metadata_truncated","typeLabel":"boolean"},"expanded":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].input.expanded","typeLabel":"boolean"}},"uniqueKey":"execution.\\items.items.[INDEX].input","typeLabel":"object"},"output":{"type":"object","additionalProperties":false,"description":"Bounded, redacted preview of what the step returned.","properties":{"value":{"description":"The preview itself - any JSON, exactly as the platform recorded it, or null when there is none.","uniqueKey":"execution.\\items.items.[INDEX].output.value","typeLabel":"any"},"availability":{"type":"string","enum":["available","not_applicable","unavailable"],"uniqueKey":"execution.\\items.items.[INDEX].output.availability","typeLabel":"enum\u003cstring>"},"unavailable_reason":{"oneOf":[{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].output.unavailable_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"execution.\\items.items.[INDEX].output.unavailable_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].output.unavailable_reason","typeLabel":"string | null"},"redacted":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].output.redacted","typeLabel":"boolean"},"truncated":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].output.truncated","typeLabel":"boolean"},"omitted":{"type":"array","description":"What was left out of the preview, and why.","items":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string","uniqueKey":"execution.\\items.items.[INDEX].output.omitted.items.[INDEX].path","typeLabel":"string"},"reason":{"type":"string","enum":["configured_sensitive","credential","private_reference","diagnostic","secret_value","url","depth_limit","byte_limit","node_limit","item_limit","string_limit","unavailable"],"uniqueKey":"execution.\\items.items.[INDEX].output.omitted.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"execution.\\items.items.[INDEX].output.omitted.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.\\items.items.[INDEX].output.omitted","typeLabel":"object[]"},"omitted_metadata_truncated":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].output.omitted_metadata_truncated","typeLabel":"boolean"},"expanded":{"type":"boolean","uniqueKey":"execution.\\items.items.[INDEX].output.expanded","typeLabel":"boolean"}},"uniqueKey":"execution.\\items.items.[INDEX].output","typeLabel":"object"},"expansion_url":{"oneOf":[{"type":"string","format":"uri","description":"This row on its own, with fuller previews. On the public API base.","uniqueKey":"execution.\\items.items.[INDEX].expansion_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"This row on its own, with fuller previews. On the public API base.","uniqueKey":"execution.\\items.items.[INDEX].expansion_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"execution.\\items.items.[INDEX].expansion_url","typeLabel":"string\u003curi> | null"}},"uniqueKey":"execution.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"execution.\\items","typeLabel":"object[]"}},"uniqueKey":"execution","typeLabel":"object"},"type":{"type":"string","enum":["web"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"accepted_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"accepted_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"accepted_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"accepted_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","run_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","channel":"phone","status":"preparing","preparation_status":"pending","expires_at":"2023-11-07T05:31:56Z","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","replayed":true,"status_url":"\u003cstring>","cancel_url":"\u003cstring>","start_url":"\u003cstring>","agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","preparation_steps":[{"id":"\u003cstring>","label":"\u003cstring>","status":"waiting","error_code":"\u003cstring>","http_status":123,"refused_call":true}],"workflow_revision_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","call_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","error_code":"\u003cstring>","execution":{"version":"execution-visibility-v1","audience":"company","subject":"call","run_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","call_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","tool_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","test_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workflow_revision_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","strict":true,"owner":"workflow","channel":"phone","direction":"inbound","refresh_after_ms":123,"supplementary":"complete","supplementary_errors":["\u003cstring>"],"links":{"request":"\u003cstring>","call_detail":"\u003cstring>","tool_test":"\u003cstring>"},"summary":{"revision":"\u003cstring>","as_of":"2023-11-07T05:31:56Z","run_status":"accepted","call_state":"\u003cstring>","physical_end_observed":true,"follow_up_state":"not_started","settlement":"unsettled","is_settled":true,"settlement_reasons":["\u003cstring>"],"counts":{"invocations":{},"attempts":{}},"active_work":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","phase":"before","kind":"\u003cstring>","status":"\u003cstring>","reason_code":"\u003cstring>","deadline_at":"2023-11-07T05:31:56Z"}],"active_work_truncated":true,"latest_problem":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","phase":"before","kind":"\u003cstring>","status":"\u003cstring>","reason_code":"\u003cstring>","deadline_at":"2023-11-07T05:31:56Z"},"next_deadline_at":"2023-11-07T05:31:56Z","artifacts":[{"artifact":"recording","status":"pending","version":123,"output_revision":123,"attempts":123,"deadline_at":"2023-11-07T05:31:56Z","reason_code":"\u003cstring>"}]},"history":{"high_water_mark":"\u003cstring>","retained_from_sequence":"\u003cstring>","coverage":"canonical","coverage_started_at":"2023-11-07T05:31:56Z","complete":true,"gaps":["\u003cstring>"],"retained_until":"2023-11-07T05:31:56Z","filters":{"phase":"before","kind":"\u003cstring>","status":"\u003cstring>"},"limit":123,"next_url":"\u003cstring>","refresh_url":"\u003cstring>"},"items":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","sequence":"\u003cstring>","phase":"before","kind":"\u003cstring>","event":"\u003cstring>","status":"\u003cstring>","call_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","phase_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","invocation_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","attempt_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","receipt_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","attempt_number":123,"outer_run":123,"inner_attempt":123,"reason_code":"\u003cstring>","late":true,"selected":true,"should_execute":true,"edges_truncated":true,"action":{"name":"\u003cstring>","type":"http","binding_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","activation":"\u003cstring>","tool_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","tool_revision_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","schema_version":"\u003cstring>","adapter_version":"\u003cstring>","compatibility_version":"\u003cstring>","connection_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","connection_label":"\u003cstring>","connection_generation":123},"field_errors":[{"path":"\u003cstring>","code":"\u003cstring>"}],"edges":[{"relation":"parent","kind":"invocation","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}],"timing":{"occurred_at":"2023-11-07T05:31:56Z","recorded_at":"2023-11-07T05:31:56Z","queued_at":"2023-11-07T05:31:56Z","claimed_at":"2023-11-07T05:31:56Z","dispatched_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","queue_ms":123,"validation_ms":123,"network_ms":123,"total_ms":123,"audio_offset_ms":123,"audio_clock_id":"\u003cstring>"},"retry":{"eligibility":"not_eligible","reason_code":"\u003cstring>","next_at":"2023-11-07T05:31:56Z","automatic_recovery_stopped":true},"input":{"value":"\u003cunknown>","availability":"available","unavailable_reason":"\u003cstring>","redacted":true,"truncated":true,"omitted":[{"path":"\u003cstring>","reason":"configured_sensitive"}],"omitted_metadata_truncated":true,"expanded":true},"output":{"value":"\u003cunknown>","availability":"available","unavailable_reason":"\u003cstring>","redacted":true,"truncated":true,"omitted":[{"path":"\u003cstring>","reason":"configured_sensitive"}],"omitted_metadata_truncated":true,"expanded":true},"expansion_url":"\u003cstring>"}]},"type":"web","accepted_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"41499b7e-91b0-47c8-97e3-19d56cdea408":{"description":"Accepted. The steps have not run yet.","content":{"application/json":{"schema":{"type":"object","required":["request_id","run_id","channel","status","preparation_status","expires_at","start_capability","status_url","cancel_url","start_url"],"properties":{"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"run_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"run_id","typeLabel":"string\u003cuuid>"},"channel":{"type":"string","enum":["web"],"isRequired":true,"uniqueKey":"channel","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["preparing","scheduled"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"preparation_status":{"type":"string","enum":["pending"],"isRequired":true,"uniqueKey":"preparation_status","typeLabel":"enum\u003cstring>"},"expires_at":{"type":"string","format":"date-time","description":"After this the request is abandoned and the capability stops working.","isRequired":true,"uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"start_capability":{"type":"string","description":"Returned once. Send it as the x-yappr-call-request-key header on read, cancel and start.","isRequired":true,"uniqueKey":"start_capability","typeLabel":"string"},"status_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"status_url","typeLabel":"string\u003curi>"},"cancel_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"cancel_url","typeLabel":"string\u003curi>"},"start_url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"start_url","typeLabel":"string\u003curi>"},"id":{"type":"string","format":"uuid","description":"Same value as request_id on this channel.","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"call_id":{"oneOf":[{"type":"string","description":"Always null here. A browser call has no call record until it is started.","uniqueKey":"call_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Always null here. A browser call has no call record until it is started.","uniqueKey":"call_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"call_id","typeLabel":"string | null"},"type":{"type":"string","enum":["web"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"agent_id":{"type":"string","format":"uuid","uniqueKey":"agent_id","typeLabel":"string\u003cuuid>"},"accepted_at":{"type":"string","format":"date-time","uniqueKey":"accepted_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","run_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","channel":"web","status":"preparing","preparation_status":"pending","expires_at":"2023-11-07T05:31:56Z","start_capability":"\u003cstring>","status_url":"\u003cstring>","cancel_url":"\u003cstring>","start_url":"\u003cstring>","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","call_id":"\u003cstring>","type":"web","agent_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","accepted_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"6702f11b-8011-4735-922e-9fc5650467e1":{"description":"INVALID_AGENT_ID, or a variables/metadata value that is not an object, or a body whose type is not \"web\".","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"d39af18b-6f45-46ec-9f1f-c9b34d8b9171":{"description":"MISSING_KEY, INVALID_KEY or EXPIRED_KEY - the key was not accepted. A valid key without the scope this operation needs is 403 INSUFFICIENT_SCOPE, naming the scope.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"359da7bf-5673-4861-b165-45be731403f0":{"description":"AGENT_NOT_FOUND - this workspace has no agent with that id.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"810bca56-8837-42a0-b242-84f8ae7ae09c":{"description":"WORKFLOW_AGENT_INACTIVE - the agent exists but is switched off; PATCH it with is_active true and ask again. A copy made with POST /agents/{id}/duplicate starts switched off, so this is the usual answer on a freshly duplicated agent. WORKFLOW_UNPUBLISHED - this agent's workflow has never been published. WORKFLOW_NOT_ENABLED - this agent does not run a workflow, so it has nothing to prepare; mint a browser session with POST /calls {\"type\":\"web\"} instead. WORKFLOW_IDEMPOTENCY_CONFLICT - this key was used with a different body.\n","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"2bebb44b-f37e-40e4-8c25-c7a0f71e2aa5":{"description":"WORKFLOW_REQUEST_INVALID or WORKFLOW_PIN_INVALID — the body or the pinned revision is not usable.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"ee9cb7fe-cbd8-4f8b-9fcc-10e5d64847e8":{"description":"WORKFLOW_ADMISSION_UNAVAILABLE — temporary; retry the same request.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2767439e-f0c6-4cd4-a450-ba11a6ab8311":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"}}},"servers":{"dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d":{"url":"https://api.goyappr.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"yappr","siteName":"Yappr","title":"Create Web Call Request - Yappr","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T15:44:23.101Z","originalFileLocation":"api-reference/calls/request-create.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=\"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller\u0026#x27;s browser starts the call itself once the steps are done. Use this when an agent\u0026#x27;s mint answers protocol: \u0026quot;call_request\u0026quot;. An agent the mint answers offer for does not need it - POST /calls with type: \u0026quot;web\u0026quot; mints a session token and the browser sends one offer, exactly as before. The start_capability is returned once and stored only as a hash. It authorises this one request\u0026#x27;s read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yappr\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_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/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Web Call Request - Yappr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller\u0026#x27;s browser starts the call itself once the steps are done. Use this when an agent\u0026#x27;s mint answers protocol: \u0026quot;call_request\u0026quot;. An agent the mint answers offer for does not need it - POST /calls with type: \u0026quot;web\u0026quot; mints a session token and the browser sends one offer, exactly as before. The start_capability is returned once and stored only as a hash. It authorises this one request\u0026#x27;s read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yappr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.goyappr.com/api-reference/calls/request-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Create+Web+Call+Request\u0026amp;description=Requires+calls%3Acreate.+Creates+a+browser+call+on+a+workflow+agent+%28with+or+without+steps+before+it+answers+or+follow-ups+after+the+call%29%2C+and+returns+the+capabi\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=cde93d15519c09c7b52b3dd2dbb1c104ab5edc907e72fc3789cdcf50cc924264\">\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 Web Call Request - Yappr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller\u0026#x27;s browser starts the call itself once the steps are done. Use this when an agent\u0026#x27;s mint answers protocol: \u0026quot;call_request\u0026quot;. An agent the mint answers offer for does not need it - POST /calls with type: \u0026quot;web\u0026quot; mints a session token and the browser sends one offer, exactly as before. The start_capability is returned once and stored only as a hash. It authorises this one request\u0026#x27;s read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Calls\u0026amp;title=Create+Web+Call+Request\u0026amp;description=Requires+calls%3Acreate.+Creates+a+browser+call+on+a+workflow+agent+%28with+or+without+steps+before+it+answers+or+follow-ups+after+the+call%29%2C+and+returns+the+capabi\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=cde93d15519c09c7b52b3dd2dbb1c104ab5edc907e72fc3789cdcf50cc924264\">\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/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yappr\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.goyappr.com/api-reference/calls/request-create\">\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/request-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.goyappr.com/#organization\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.goyappr.com#website\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.goyappr.com/api-reference/calls/request-create#webpage\",\"url\":\"https://docs.goyappr.com/api-reference/calls/request-create\",\"name\":\"Create Web Call Request\",\"description\":\"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller's browser starts the call itself once the steps are done. Use this when an agent's mint answers protocol: \\\"call_request\\\". An agent the mint answers offer for does not need it - POST /calls with type: \\\"web\\\" mints a session token and the browser sends one offer, exactly as before. The start_capability is returned once and stored only as a hash. It authorises this one request's read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\",\"dateModified\":\"2026-11-12T15:44:23.101Z\",\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goyappr.com/api-reference/calls/request-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goyappr.com/api-reference/calls/request-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Calls\",\"item\":\"https://docs.goyappr.com/api-reference/calls/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Web Call Request\",\"item\":\"https://docs.goyappr.com/api-reference/calls/request-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.goyappr.com/api-reference/calls/request-create#apireference\",\"headline\":\"Create Web Call Request\",\"name\":\"Create Web Call Request\",\"description\":\"Requires calls:create. Creates a browser call on a workflow agent (with or without steps before it answers or follow-ups after the call), and returns the capability the browser needs to follow and start it. Nothing is dialled, no call record is created and no line is held: the caller's browser starts the call itself once the steps are done. Use this when an agent's mint answers protocol: \\\"call_request\\\". An agent the mint answers offer for does not need it - POST /calls with type: \\\"web\\\" mints a session token and the browser sends one offer, exactly as before. The start_capability is returned once and stored only as a hash. It authorises this one request's read, cancel and start and nothing else, it dies with the request, and it is safe to hand to a browser: it cannot read another request, a phone request, or anything about the workspace.\",\"url\":\"https://docs.goyappr.com/api-reference/calls/request-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goyappr.com/api-reference/calls/request-create#webpage\"},\"dateModified\":\"2026-11-12T15:44:23.101Z\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yappr\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Yappr\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/calls/request-create.md","siteName":"Yappr","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Connect through MCP","href":"/api-reference/mcp/connect"},{"title":"Error Codes","href":"/api-reference/errors"},{"title":"Report an issue","openapi":"POST /report-issue","href":"/api-reference/report-issue"}]},{"group":"Billing","pages":[{"title":"Get Billing Status","openapi":"GET /billing","href":"/api-reference/billing/get-status"},{"title":"Get Billing Rates","openapi":"GET /billing/rates","href":"/api-reference/billing/rates"},{"title":"Set Spending Limit","openapi":"PATCH /billing","href":"/api-reference/billing/spending-limit"},{"title":"Setup Payment Method","openapi":"POST /billing/setup","href":"/api-reference/billing/setup-payment"},{"title":"Top Up Credits","openapi":"POST /billing/topup","href":"/api-reference/billing/topup"},{"title":"Billing Consumption","openapi":"GET /billing/consumption","href":"/api-reference/billing/consumption"},{"title":"Billing Transactions","openapi":"GET /billing/transactions","href":"/api-reference/billing/transactions"},{"title":"Get Billing Transaction","openapi":"GET /billing/transactions/{id}","href":"/api-reference/billing/transaction"},{"title":"Get Billing Details","openapi":"GET /billing/details","href":"/api-reference/billing/details"},{"title":"Update Billing Details","openapi":"PATCH /billing/details","href":"/api-reference/billing/update-details"},{"title":"List Invoices","openapi":"GET /billing/invoices","href":"/api-reference/billing/invoices"}]},{"group":"Agents","pages":[{"title":"List Agents","openapi":"GET /agents","href":"/api-reference/agents/list"},{"title":"Create Agent","openapi":"POST /agents","href":"/api-reference/agents/create"},{"title":"Duplicate Agent","openapi":"POST /agents/{id}/duplicate","href":"/api-reference/agents/duplicate"},{"title":"Test an Agent by Phone","openapi":"POST /agents/{id}/test-call","href":"/api-reference/agents/test-call"},{"title":"Which Line Rings a Test Call","openapi":"GET /agents/{id}/test-call","href":"/api-reference/agents/test-call-caller"},{"title":"Get Agent","openapi":"GET /agents/{id}","href":"/api-reference/agents/get"},{"title":"Update Agent","openapi":"PATCH /agents/{id}","href":"/api-reference/agents/update"},{"title":"Read workflow agent settings","openapi":"GET /agents/{id}/settings","href":"/api-reference/agents/settings"},{"title":"Idle reminders","href":"/api-reference/agents/idle-reminders"},{"title":"List an agent's tools \u0026 integrations","openapi":"GET /agents/{id}/tools-and-integrations","href":"/api-reference/agents/tools-and-integrations"},{"title":"List an agent's integrations","openapi":"GET /agents/{id}/integrations","href":"/api-reference/agents/integrations-list"},{"title":"Give an agent a connected app","openapi":"POST /agents/{id}/integrations","href":"/api-reference/agents/integrations-add"},{"title":"Change an integration's actions","openapi":"PATCH /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-update"},{"title":"Stop an agent using an app","openapi":"DELETE /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-remove"},{"title":"Dry-run Extraction","openapi":"POST /agents/{id}/extraction/dry-run","href":"/api-reference/agents/extraction-dry-run"},{"title":"Remove Agent","openapi":"DELETE /agents/{id}","href":"/api-reference/agents/delete"},{"title":"Models","href":"/api-reference/agents/models"},{"title":"Languages","href":"/api-reference/agents/languages"},{"title":"Voices","href":"/api-reference/agents/voices"},{"title":"Flow Config Schema","href":"/api-reference/agents/flow-config-schema"}]},{"group":"Flow Agents","pages":[{"title":"List Flow Versions","openapi":"GET /agents/{id}/flow/versions","href":"/api-reference/flows/list-versions"},{"title":"Restore Flow Version","openapi":"POST /agents/{id}/flow/restore","href":"/api-reference/flows/restore-version"},{"title":"Test a Flow","openapi":"POST /agents/{id}/flow/test","href":"/api-reference/flows/test"}]},{"group":"Workflows","pages":[{"title":"Read workflow","openapi":"GET /agents/{id}/workflow","href":"/api-reference/workflows/get"},{"title":"Save workflow draft","openapi":"PUT /agents/{id}/workflow","href":"/api-reference/workflows/save"},{"title":"Point bindings at other tools","openapi":"POST /agents/{id}/workflow/rebind","href":"/api-reference/workflows/rebind"},{"title":"Check workflow","openapi":"POST /agents/{id}/workflow/validate","href":"/api-reference/workflows/validate"},{"title":"Publish workflow","openapi":"POST /agents/{id}/workflow/publish","href":"/api-reference/workflows/publish"},{"title":"List workflow versions","openapi":"GET /agents/{id}/workflow/versions","href":"/api-reference/workflows/versions"},{"title":"Get workflow version","openapi":"GET /agents/{id}/workflow/versions/{version_id}","href":"/api-reference/workflows/version"},{"title":"Restore workflow version","openapi":"POST /agents/{id}/workflow/restore","href":"/api-reference/workflows/restore"},{"title":"Teach an agent from a test call","openapi":"POST /agents/{id}/workflow/train","href":"/api-reference/workflows/train"},{"title":"Read workflow tool catalog","openapi":"GET /tools/workflow-catalog","href":"/api-reference/workflows/catalog"},{"title":"Trigger events","href":"/api-reference/workflows/events"},{"title":"Opening line from a Before step","href":"/api-reference/workflows/greeting-from-before"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"List Deliveries","openapi":"GET /deliveries","href":"/api-reference/deliveries/list"},{"title":"Get Delivery","openapi":"GET /deliveries/{id}","href":"/api-reference/deliveries/get"},{"title":"Retry Delivery","openapi":"POST /deliveries/{id}/retry","href":"/api-reference/deliveries/retry"}]},{"group":"Tools \u0026 integrations","pages":[{"group":"Connected accounts","pages":[{"title":"List account connection options","openapi":"GET /tool-apps/connection-options","href":"/api-reference/tool-connections/apps"},{"title":"List connected accounts","openapi":"GET /tool-connections","href":"/api-reference/tool-connections/list"},{"title":"Get connection readiness","openapi":"GET /tool-connections/{id}","href":"/api-reference/tool-connections/get"},{"title":"Connect a workspace account","openapi":"POST /tool-connections","href":"/api-reference/tool-connections/connect"},{"title":"Read authorization status","openapi":"GET /tool-connection-auth-attempts/{id}","href":"/api-reference/tool-connections/auth-attempt"},{"title":"Cancel an authorization attempt","openapi":"POST /tool-connections/attempts/{id}/cancel","href":"/api-reference/tool-connections/cancel-attempt"},{"title":"Connect a replacement account","openapi":"POST /tool-connections/{id}/reconnect","href":"/api-reference/tool-connections/reconnect"},{"title":"Disconnect an account","openapi":"DELETE /tool-connections/{id}","href":"/api-reference/tool-connections/disconnect"},{"title":"Rename an account","openapi":"PATCH /tool-connections/{id}","href":"/api-reference/tool-connections/rename"},{"title":"What a connected app can do","openapi":"GET /tool-connections/{id}/actions","href":"/api-reference/tool-connections/actions"},{"title":"Make an app's actions ready","openapi":"POST /tool-connections/{id}/actions/prepare","href":"/api-reference/tool-connections/prepare-actions"},{"title":"List an account's choices for an input","openapi":"GET /tool-connections/{id}/options/{resource}","href":"/api-reference/tool-connections/options"},{"title":"Check that an account works","openapi":"POST /tool-connections/{id}/check","href":"/api-reference/tool-connections/check"},{"title":"The agents using an app","openapi":"GET /tool-connections/{id}/agents","href":"/api-reference/tool-connections/agents"},{"title":"Take an account off the list","openapi":"POST /tool-connections/{id}/remove","href":"/api-reference/tool-connections/remove"},{"title":"Clear the attempts nobody finished","openapi":"POST /tool-connections/cleanup","href":"/api-reference/tool-connections/cleanup"}]},{"group":"Tools","pages":[{"title":"List Tools","openapi":"GET /tools","href":"/api-reference/tools/list"},{"title":"Create Tool","openapi":"POST /tools","href":"/api-reference/tools/create"},{"title":"Discover Apps","openapi":"GET /tool-apps","href":"/api-reference/tools/apps"},{"title":"Get App Versions","openapi":"GET /tool-apps/{slug}","href":"/api-reference/tools/app"},{"title":"Discover Versioned Actions","openapi":"GET /tool-apps/{slug}/actions","href":"/api-reference/tools/actions"},{"title":"Get Full Action Schemas","openapi":"GET /tool-apps/{slug}/actions/{action}","href":"/api-reference/tools/action"},{"title":"Get Tool","openapi":"GET /tools/{id}","href":"/api-reference/tools/get"},{"title":"Get Current Tool Schemas","openapi":"GET /tools/{id}/schema","href":"/api-reference/tools/schema"},{"title":"List Tool Bindings","openapi":"GET /tools/{id}/bindings","href":"/api-reference/tools/bindings"},{"title":"List Tool Contract Revisions","openapi":"GET /tools/{id}/workflow-revisions","href":"/api-reference/tools/revisions"},{"title":"Add a Tool Contract Revision","openapi":"POST /tools/{id}/workflow-revisions","href":"/api-reference/tools/create-revision"},{"title":"Update Tool","openapi":"PATCH /tools/{id}","href":"/api-reference/tools/update"},{"title":"Archive Tool","openapi":"DELETE /tools/{id}","href":"/api-reference/tools/delete"},{"title":"Restore Tool","openapi":"POST /tools/{id}/restore","href":"/api-reference/tools/restore"},{"title":"Attach Tool to Agent","openapi":"POST /tools/attach","href":"/api-reference/tools/attach"},{"title":"Detach Tool from Agent","openapi":"POST /tools/detach","href":"/api-reference/tools/detach"},{"title":"Test Saved Tool","openapi":"POST /tools/{id}/test","href":"/api-reference/tools/test"},{"title":"Get Saved Tool Test","openapi":"GET /tools/{id}/tests/{test_id}","href":"/api-reference/tools/test-get"},{"title":"Cancel Tool Test","openapi":"POST /tools/{id}/tests/{test_id}/cancel","href":"/api-reference/tools/test-cancel"}]}]},{"group":"Phone Numbers","pages":[{"title":"List Owned Numbers","openapi":"GET /phone-numbers","href":"/api-reference/phone-numbers/list"},{"title":"Search Available Numbers","openapi":"POST /phone-numbers/search","href":"/api-reference/phone-numbers/search"},{"title":"Purchase Number","openapi":"POST /phone-numbers/purchase","href":"/api-reference/phone-numbers/purchase"},{"title":"Update Number","openapi":"PATCH /phone-numbers/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Configure Number","openapi":"POST /phone-numbers/configure","href":"/api-reference/phone-numbers/configure"},{"title":"Release Number","openapi":"POST /phone-numbers/{id}/release","href":"/api-reference/phone-numbers/release"},{"title":"Keep Number","openapi":"POST /phone-numbers/{id}/keep","href":"/api-reference/phone-numbers/keep"}]},{"group":"SIP Endpoints","pages":[{"title":"SIP Endpoints Status","openapi":"GET /sip-endpoints/status","href":"/api-reference/sip-endpoints/status"},{"title":"List SIP Endpoints","openapi":"GET /sip-endpoints","href":"/api-reference/sip-endpoints/list"},{"title":"Create SIP Endpoint","openapi":"POST /sip-endpoints","href":"/api-reference/sip-endpoints/create"},{"title":"Get SIP Endpoint","openapi":"GET /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/get"},{"title":"Update SIP Endpoint","openapi":"PATCH /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/update"},{"title":"Delete SIP Endpoint","openapi":"DELETE /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/delete"},{"title":"Rotate SIP Endpoint Password","openapi":"POST /sip-endpoints/{id}/rotate-password","href":"/api-reference/sip-endpoints/rotate-password"}]},{"group":"Carrier accounts","pages":[{"title":"Carrier Accounts Status","openapi":"GET /carrier-accounts/status","href":"/api-reference/carrier-accounts/status"},{"title":"List Carrier Accounts","openapi":"GET /carrier-accounts","href":"/api-reference/carrier-accounts/list"},{"title":"Connect a Telnyx Account","openapi":"POST /carrier-accounts","href":"/api-reference/carrier-accounts/create"},{"title":"Get Carrier Account","openapi":"GET /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/get"},{"title":"Update Carrier Account","openapi":"PATCH /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/update"},{"title":"Disconnect Carrier Account","openapi":"DELETE /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/delete"},{"title":"Choose the Call Control App","openapi":"POST /carrier-accounts/{id}/connection","href":"/api-reference/carrier-accounts/connection"},{"title":"Test Carrier Account","openapi":"POST /carrier-accounts/{id}/test","href":"/api-reference/carrier-accounts/test"},{"title":"Turn a Paused Account Back On","openapi":"POST /carrier-accounts/{id}/reactivate","href":"/api-reference/carrier-accounts/reactivate"},{"title":"Sync Numbers","openapi":"POST /carrier-accounts/{id}/sync","href":"/api-reference/carrier-accounts/sync"},{"title":"Add Number to Carrier Account","openapi":"POST /carrier-accounts/{id}/numbers","href":"/api-reference/carrier-accounts/add-number"},{"title":"Answer a Number's Calls in Yappr","openapi":"POST /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/configure-number"},{"title":"Stop Answering a Number's Calls in Yappr","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/restore-number"},{"title":"Remove Number from This Workspace","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}","href":"/api-reference/carrier-accounts/remove-number"}]},{"group":"Calls","pages":[{"title":"Create Outbound Call","openapi":"POST /calls","href":"/api-reference/calls/create"},{"title":"List Calls","openapi":"GET /calls","href":"/api-reference/calls/list"},{"title":"Export Calls","openapi":"GET /calls/export","href":"/api-reference/calls/export"},{"title":"Get Call","openapi":"GET /calls/{id}","href":"/api-reference/calls/get"},{"title":"End an Unopened Browser Session","openapi":"POST /calls/{id}/end","href":"/api-reference/calls/end"},{"title":"Get Call Recording","openapi":"GET /calls/{id}/recording","href":"/api-reference/calls/recording"},{"title":"Revoke Recording Links","openapi":"POST /calls/{id}/recording/revoke","description":"Requires calls:create. Takes back every recording link issued for this call so far, including links from before links started expiring, which have no exp: from then on they answer 403 RECORDING_LINK_REVOKED. Answers with a new working link, and later reads of the call return new links too. The recording itself is not deleted. It takes no body and no query parameters; anything sent is refused by name with 400 RECORDING_REVOKE_INVALID. The call's updated_at moves to revoked_at, so a sync on updated_since (even updated_since=revoked_at) reads the new link.\n","href":"/api-reference/calls/recording-revoke"},{"title":"Create Web Call Request","openapi":"POST /call-requests","href":"/api-reference/calls/request-create"},{"title":"Get Call Request","openapi":"GET /call-requests/{id}","description":"Requires calls:read. Reads one accepted call request for a workflow agent: an outbound one (the `request_id` POST /calls returned) or a browser one (`channel: \"web\"`, the `request_id` POST /call-requests or the browser's own POST /web-call/call-requests returned). A `call_request` Web SDK session is read back this way: the page hands your server the `request_id` its call request answered with. The request is the record of everything that happens before a call exists; once `call_id` is set, the call itself is read with GET /calls/{id}.\n","href":"/api-reference/calls/request-get"},{"title":"Start Web Call Request","openapi":"POST /call-requests/{id}/start","href":"/api-reference/calls/request-start"},{"title":"Cancel Call Request","openapi":"POST /call-requests/{id}/cancel","href":"/api-reference/calls/request-cancel"}]},{"group":"Browser calls","pages":[{"title":"TURN Credentials","openapi":"POST /turn-credentials","href":"/api-reference/web-call/turn-credentials"},{"title":"Connect a Browser Call","openapi":"POST /web-call","href":"/api-reference/web-call/offer"},{"title":"Cancel a Browser Session","openapi":"POST /web-call/cancel","href":"/api-reference/web-call/cancel"},{"title":"Create Browser Call Request","openapi":"POST /web-call/call-requests","href":"/api-reference/web-call/request-create"},{"title":"Poll Browser Call Request","openapi":"GET /web-call/call-requests/{id}","href":"/api-reference/web-call/request-get"},{"title":"Start Browser Call Request","openapi":"POST /web-call/call-requests/{id}/start","href":"/api-reference/web-call/request-start"},{"title":"Cancel Browser Call Request","openapi":"POST /web-call/call-requests/{id}/cancel","href":"/api-reference/web-call/request-cancel"}]},{"group":"Do Not Call","pages":[{"title":"List DNC entries","openapi":"GET /do-not-call","href":"/api-reference/do-not-call/list"},{"title":"Add to DNC list","openapi":"POST /do-not-call","href":"/api-reference/do-not-call/add"},{"title":"Get DNC entry","openapi":"GET /do-not-call/{id}","href":"/api-reference/do-not-call/get"},{"title":"Update DNC entry","openapi":"PATCH /do-not-call/{id}","href":"/api-reference/do-not-call/update"},{"title":"Remove from DNC list","openapi":"DELETE /do-not-call/{id}","href":"/api-reference/do-not-call/delete"}]},{"group":"API Keys","pages":[{"title":"List API keys","openapi":"GET /api-keys","href":"/api-reference/api-keys/list"},{"title":"Issue an API key","openapi":"POST /api-keys","href":"/api-reference/api-keys/create"},{"title":"Get an API key","openapi":"GET /api-keys/{id}","href":"/api-reference/api-keys/get"},{"title":"Revoke an API key","openapi":"DELETE /api-keys/{id}","href":"/api-reference/api-keys/delete"}]},{"group":"Call Windows","pages":[{"title":"Get call time windows","openapi":"GET /call-windows","href":"/api-reference/call-windows/get"},{"title":"Update call time windows","openapi":"PUT /call-windows","href":"/api-reference/call-windows/update"}]},{"group":"Dispositions","pages":[{"title":"List Dispositions","openapi":"GET /dispositions","href":"/api-reference/dispositions/list"},{"title":"Create Disposition","openapi":"POST /dispositions","href":"/api-reference/dispositions/create"},{"title":"Get Disposition","openapi":"GET /dispositions/{id}","href":"/api-reference/dispositions/get"},{"title":"Update Disposition","openapi":"PATCH /dispositions/{id}","href":"/api-reference/dispositions/update"},{"title":"Delete Disposition","openapi":"DELETE /dispositions/{id}","href":"/api-reference/dispositions/delete"}]},{"group":"Leads","pages":[{"title":"List Leads","openapi":"GET /leads","href":"/api-reference/leads/list"},{"title":"Create Lead","openapi":"POST /leads","href":"/api-reference/leads/create"},{"title":"Get Lead","openapi":"GET /leads/{id}","href":"/api-reference/leads/get"},{"title":"Update Lead","openapi":"PATCH /leads/{id}","href":"/api-reference/leads/update"},{"title":"Delete Lead","openapi":"DELETE /leads/{id}","href":"/api-reference/leads/delete"}]},{"group":"Lead Tags","pages":[{"title":"List Lead Tags","openapi":"GET /lead-tags","href":"/api-reference/lead-tags/list"},{"title":"Create Lead Tag","openapi":"POST /lead-tags","href":"/api-reference/lead-tags/create"},{"title":"Get Lead Tag","openapi":"GET /lead-tags/{id}","href":"/api-reference/lead-tags/get"},{"title":"Update Lead Tag","openapi":"PATCH /lead-tags/{id}","href":"/api-reference/lead-tags/update"},{"title":"Delete Lead Tag","openapi":"DELETE /lead-tags/{id}","href":"/api-reference/lead-tags/delete"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","openapi":"GET /campaigns","href":"/api-reference/campaigns/list"},{"title":"Suggested campaign settings","openapi":"GET /campaigns/defaults","href":"/api-reference/campaigns/defaults"},{"title":"Create a campaign","openapi":"POST /campaigns","href":"/api-reference/campaigns/create"},{"title":"Get a campaign","openapi":"GET /campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Update a campaign","openapi":"PATCH /campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Archive a campaign","openapi":"DELETE /campaigns/{id}","href":"/api-reference/campaigns/archive"},{"title":"Restore a campaign","openapi":"POST /campaigns/{id}/restore","href":"/api-reference/campaigns/restore"},{"title":"Launch a campaign","openapi":"POST /campaigns/{id}/launch","href":"/api-reference/campaigns/launch"},{"title":"Pause a campaign","openapi":"POST /campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Resume a campaign","openapi":"POST /campaigns/{id}/resume","href":"/api-reference/campaigns/resume"},{"title":"Stop a campaign","openapi":"POST /campaigns/{id}/stop","href":"/api-reference/campaigns/stop"},{"title":"Campaign stats","openapi":"GET /campaigns/{id}/stats","href":"/api-reference/campaigns/stats"},{"group":"Contacts","pages":[{"title":"Enroll contacts","openapi":"POST /campaigns/{id}/leads","href":"/api-reference/campaigns/enroll"},{"title":"List enrolled contacts","openapi":"GET /campaigns/{id}/leads","href":"/api-reference/campaigns/list-leads"},{"title":"Exclude a contact","openapi":"DELETE /campaigns/{id}/leads/{lead_id}","href":"/api-reference/campaigns/exclude"}]}]},{"group":"Shared Links","pages":[{"title":"List Shared Links","openapi":"GET /shared-links","href":"/api-reference/shared-links/list"},{"title":"Create Shared Link","openapi":"POST /shared-links","href":"/api-reference/shared-links/create"},{"title":"Get Shared Link","openapi":"GET /shared-links/{id}","href":"/api-reference/shared-links/get"},{"title":"Revoke Shared Link","openapi":"PATCH /shared-links/{id}","href":"/api-reference/shared-links/update"}]},{"group":"Affiliates","pages":[{"title":"Affiliate stats","openapi":"GET /affiliates/stats","href":"/api-reference/affiliates/stats"},{"title":"List sub-affiliates","openapi":"GET /affiliates/downline","href":"/api-reference/affiliates/downline"}]},{"group":"Agent Eval","pages":[{"group":"Personas","pages":[{"title":"List Personas","openapi":"GET /agent-eval/personas","href":"/api-reference/agent-eval/personas/list"},{"title":"Create Persona","openapi":"POST /agent-eval/personas","href":"/api-reference/agent-eval/personas/create"},{"title":"Get Persona","openapi":"GET /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/get"},{"title":"Update Persona","openapi":"PATCH /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/update"},{"title":"Delete Persona","openapi":"DELETE /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/delete"}]},{"group":"Cases","pages":[{"title":"List Cases","openapi":"GET /agent-eval/cases","href":"/api-reference/agent-eval/cases/list"},{"title":"Create Case","openapi":"POST /agent-eval/cases","href":"/api-reference/agent-eval/cases/create"},{"title":"Get Case","openapi":"GET /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/get"},{"title":"Update Case","openapi":"PATCH /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/update"},{"title":"Delete Case","openapi":"DELETE /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/delete"},{"title":"Run a Case","openapi":"POST /agent-eval/cases/{case_id}/run","href":"/api-reference/agent-eval/cases/run"}]},{"group":"Suites","pages":[{"title":"List Suites","openapi":"GET /agent-eval/suites","href":"/api-reference/agent-eval/suites/list"},{"title":"Create Suite","openapi":"POST /agent-eval/suites","href":"/api-reference/agent-eval/suites/create"},{"title":"Get Suite","openapi":"GET /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/get"},{"title":"Update Suite","openapi":"PATCH /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/update"},{"title":"Delete Suite","openapi":"DELETE /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/delete"},{"title":"Run a Suite","openapi":"POST /agent-eval/suites/{id}/run","href":"/api-reference/agent-eval/suites/run"},{"title":"List Suite Executions","openapi":"GET /agent-eval/suites/{id}/runs","href":"/api-reference/agent-eval/suites/runs/list"},{"title":"Get Suite Execution","openapi":"GET /agent-eval/suites/{id}/runs/{suite_run_id}","href":"/api-reference/agent-eval/suites/runs/get"}]},{"group":"Runs","pages":[{"title":"List Runs","openapi":"GET /agent-eval/runs","href":"/api-reference/agent-eval/runs/list"},{"title":"Get Run","openapi":"GET /agent-eval/runs/{id}","href":"/api-reference/agent-eval/runs/get"},{"title":"Get Run Turns","openapi":"GET /agent-eval/runs/{id}/turns","href":"/api-reference/agent-eval/runs/turns"},{"title":"Get Run Evaluation","openapi":"GET /agent-eval/runs/{id}/evaluation","href":"/api-reference/agent-eval/runs/evaluation"},{"title":"Cancel a Run","openapi":"POST /agent-eval/runs/{id}/cancel","href":"/api-reference/agent-eval/runs/cancel"}]}]}]}]},"basePath":"","title":"Create Web Call Request - Yappr","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}