pinecallDocs
The gateway / Every endpoint

Every endpoint

The whole HTTP API in one table: the path, the method, and the scope it asks for.

Every endpoint of the gateway, method and path, the scope a key must open for it, and what it does in one line. — is an endpoint that reads any key as who it is, or none (a sign-in page, Meta's webhook, LiveKit's, a page's token), and refuses with 403 one that is not its kind: a server's token at a person's door (GET /v1/login/orgs), another code's token (GET /v1/codes/{code}), a verify token that is not the box's (GET /v1/whatsapp/webhook); operator is the platform's own key or an operator's (Operator API); loopback is an endpoint the platform's own machine alone may knock, with no key. The pages that say each family whole: Gateway API.

The page and the gateway agree both ways: every row is a route, and every route is a row but what is not an endpoint of the contract, the console's pages (GET /{path}, at every path no endpoint took) and FastAPI's own schema and its readers (/openapi.json, /v1/docs, /v1/redoc).

method path scope what
GET /.well-known/pinecall — What this gateway is and how it signs people in, before anybody holds a key.
GET /.well-known/oauth-authorization-server — Where an app asks to act as a person, exchanges its code, registers and revokes (RFC 8414).
GET /metrics loopback What the gateway counted and holds, as Prometheus text; refused to anything that came through Caddy.
GET /v1/agents calls The org's held agents in the environment: one row per slug, one per scope for a team reader, each kind class or studio.
GET /v1/agents/{slug}/calls calls An agent's own log: its registrations, its declarations, its errors. It never ends.
PUT /v1/agents/{slug}/cases/{name} evals Write a golden as a case of the agent, by hand; their own name again rewrites it, a call's is a 409.
POST /v1/agents/{slug}/cold-transfer app · fleet A cold transfer's leg, past the shape and the pace, its ledger row written; no trunk, since a REFER dials nothing of the platform's.
GET /v1/agents/{slug}/config app · calls · fleet The agent as the scope runs it, for the call named: its declaration under the settings.
POST /v1/agents/{slug}/dev/chat/{verb} talk A chat verb, answered by the process that answers the console for the agent.
POST /v1/agents/{slug}/dev/evals/{verb} evals An evals verb, answered by the process that answers the console for the agent.
POST /v1/agents/{slug}/dev/knowledge/{verb} knowledge A knowledge verb, answered by the process that answers the console for the agent.
POST /v1/agents/{slug}/dev/memory/{verb} memory A memory verb, answered by the process that answers the console for the agent.
POST /v1/agents/{slug}/dev/view/{verb} calls The side panel beside a conversation, rendered by the app serving the call.
POST /v1/agents/{slug}/dial talk Place a call as the agent, after its guards: the call it became, before anything rings.
POST /v1/agents/{slug}/text talk Send a contact one SMS or email as the agent, after its guards: the conversation it was said on.
POST /v1/agents/{slug}/template talk Send a contact one WhatsApp template as the agent; in the sandbox, answered simulated and never sent.
GET /v1/agents/{slug}/hold-audio app · fleet What a caller of the agent hears while a tool runs, and after how long.
GET /v1/agents/{slug}/hold-audio/audio app · fleet The org's own clip, Ogg Opus.
GET /v1/agents/{slug}/lexicon pipeline · words The agent's words as this key sees them: yours, the team's and production's.
PUT /v1/agents/{slug}/lexicon pipeline · words The agent's next lexicon in this scope or the team's.
GET /v1/agents/{slug}/lexicon/history pipeline · words One scope's versions of the agent's lexicon, newest first.
POST /v1/agents/{slug}/lines app · pipeline Each text recorded once in the agent's voice: its MP3's URL, its length, when each word is said; a line recorded before costs nothing.
POST /v1/agents/{slug}/explain app · pipeline A text a page shows (a command's output, 8000 characters at most), explained by the agent's model as up to most notes, each a fragment of one line and a spoken sentence on it, in language.
GET /v1/agents/{slug}/public/{name} — A JSON document the agent's app published, for any page, with no key; ?env=sandbox reads the sandbox's.
PUT /v1/agents/{slug}/public/{name} app · pipeline Publish a JSON object of at most 64 KB under a name, over the one before it, for any page to read.
GET /v1/lines/{name} — A recorded line's MP3, by its id, for any page, with no key; it never changes.
GET /v1/org/judges evals Pinecall's judges as the org switched them, then the org's own, asked of every agent's calls.
DELETE /v1/org/judges/{name} evals Forget one of the org's own judges; a name nobody wrote is a 404, one of Pinecall's a 409.
PUT /v1/org/judges/{name} evals One of Pinecall's judges switched on or off for every agent, or one of the org's own written whole.
GET /v1/agents/{slug}/judges evals Every judge the agent's calls may meet: Pinecall's as switched for it, the org's own, its own or its class's (fixed).
DELETE /v1/agents/{slug}/judges/{name} evals Forget one of the agent's own judges; a name nobody wrote is a 404, one of Pinecall's a 409, and so is any while the class declares its judges.
PUT /v1/agents/{slug}/judges/{name} evals One of Pinecall's judges switched on or off for this agent, or one of its own written whole; 409 while the class declares its judges.
POST /v1/agents/{slug}/judges/try evals One judge, written or only in the body, asked of the agent's finished calls; nothing is written.
DELETE /v1/agents/{slug}/line app Let the line go, to the newest other scope that could take it.
GET /v1/agents/{slug}/line calls Who holds the agent's line, and who else could take it.
POST /v1/agents/{slug}/line app Take the agent's line for this scope.
GET /v1/agents/{slug}/memory memory The current facts the agent's calls taught, across contacts, newest first, a page.
POST /v1/agents/{slug}/memory/extraction memory One hang-up per case on the agent's own model and keys, each answer judged by code.
GET /v1/agents/{slug}/outbound-trunk app · fleet The leg's trunk inline, after the shape and the pace; a dial's own first leg passes.
GET /v1/agents/{slug}/personas evals Pinecall's personas as switched for the agent, then the agent's own or its class's (fixed), by name.
DELETE /v1/agents/{slug}/personas/{name} evals Forget one of the agent's callers; 404 for a name nobody wrote, 409 for Pinecall's or while the class declares its personas.
PUT /v1/agents/{slug}/personas/{name} evals Write one of the agent's callers whole, or rename one from was; or switch one of Pinecall's; 409 while the class declares its personas.
POST /v1/agents/{slug}/personas/generate evals Callers written for the agent from its prompt, tools, knowledge, a call or a template; saved nowhere.
POST /v1/agents/{slug}/personas/{name}/brief evals The persona as a simulation plays it: Pinecall's briefed on this agent (what it phones about, one eval), the agent's own as written.
GET /v1/agents/{slug}/personas/{name}/runs evals The calls the persona made to the agent in the key's environment and scope, newest first.
GET /v1/personas evals Every agent's callers, by agent and then by name; each row says whose.
POST /v1/simulations evals Put one of the agent's personas on it, written or spoken, against whoever holds it; the call's id at once.
POST /v1/simulations/{call}/again evals Place a simulated call again as it was placed: the same caller, line and room, on a new call; its id at once.
GET /v1/simulations evals Every simulated call in the key's environment and scope, or the agents named's (?agent=, once or more), whichever persona, newest first; one comparison's with ?comparison=.
POST /v1/simulations/compare evals Each persona against the agent under each voice and models named, as many times as asked; what started.
GET /v1/simulations/compare/{comparison} evals The comparison's calls, each caller's best first: its goal held, every judge, the fastest, the cheapest.
GET /v1/simulations/limits evals How the key's org may shape its simulations in the environment: the calls at once, and the calls a comparison places.
GET /v1/agents/{slug}/pipeline pipeline The agent's three stages, the catalogue, and the latencies of its last calls.
GET /v1/agents/{slug}/pipeline/hold-audio pipeline What the agent plays while a tool runs, and after how long: the runtime's melody, silence, or its own clip.
PUT /v1/agents/{slug}/pipeline/hold-audio pipeline A file of the org's as the agent's melody, from the next call on.
GET /v1/agents/{slug}/pipeline/hold-audio/audio pipeline The melody the agent plays, its own clip or the runtime's, Ogg, to hear before a caller does.
PUT /v1/agents/{slug}/pipeline/hold-audio/played pipeline The runtime's melody back, or silence; an uploaded clip is forgotten either way, the wait kept.
PUT /v1/agents/{slug}/pipeline/hold-audio/after pipeline Seconds of the agent's quiet before the melody starts, from the next call on; null is the runtime's.
GET /v1/agents/{slug}/provider-keys app · fleet The three stages a call of the agent runs, each on the key it runs on, and the org's collector for its traces.
GET /v1/test-line/rings-for fleet Whose sandbox agent a ring at the box's test line is for: the org, the agent and the copy, or nobody's.
GET /v1/agents/{slug}/rings-for fleet Where a production ring from this phone goes: a member's sandbox copy, or the org's own, and its fleet; or nowhere.
GET /v1/agents/{slug}/sessions calls The agent's newest calls, one row each.
GET /v1/agents/{slug}/settings pipeline · words The agent's settings as this key sees them: yours, the team's and production's.
PUT /v1/agents/{slug}/settings pipeline · words The agent's next version in this scope or the team's, checked as a call would build it.
GET /v1/agents/{slug}/settings/diff pipeline · words This key's scope's newest against the team's or production's, and which fields differ.
GET /v1/agents/{slug}/settings/canary pipeline · words The version this scope, or the team's, runs on a share of the agent's calls, or none.
PUT /v1/agents/{slug}/settings/canary pipeline One of the scope's versions on a share of the agent's calls; the rest run the others.
DELETE /v1/agents/{slug}/settings/canary pipeline The scope's canary cleared: one version for every call.
GET /v1/agents/{slug}/settings/history pipeline · words One scope's versions of the agent's settings, newest first.
POST /v1/agents/{slug}/settings/rollback pipeline An old version brought back as the scope's next one.
GET /v1/agents/{slug}/threads calls The agent's contacts, the one that moved last first, with what this reader has not read.
GET /v1/agents/{slug}/threads/{contact} calls A contact's calls with the agent merged into one thread, oldest first.
POST /v1/agents/{slug}/threads/{contact}/messages talk Say something as the agent on the contact's open WhatsApp conversation.
POST /v1/agents/{slug}/threads/{contact}/read calls This reader has read the thread up to now.
GET /v1/agents/{slug}/widget talk How the agent's widget looks in the key's environment; the widget's own defaults when unset.
PUT /v1/agents/{slug}/widget pipeline Replace how the widget looks, whole; a null field is the widget's own default.
GET /v1/apps calls The app sockets of the org in the environment this key may see, oldest first.
WS /v1/apps app An app holds its agents here, answers their tools, and sends their calls' commands.
POST /v1/apps/{app}/events app Send an event to the app: kept until its process hears it, and it wakes a run waiting for one like it.
POST /v1/apps/{app}/events/{event_id}/heard app The app's process handled the event.
GET /v1/apps/{app}/runs app · calls The app's runs, newest first; of one flow, or in one status, when named.
POST /v1/apps/{app}/runs app Start a flow with an input; the same key is the same run.
GET /v1/apps/{app}/runs/{run} app · calls One run with its journal.
POST /v1/apps/{app}/runs/{run}/cancel app Stop a run where it stands.
POST /v1/apps/{app}/runs/{run}/end app The flow returned, or threw: the run is over.
POST /v1/apps/{app}/runs/{run}/steps app Write the run's next step: a sleep, a wait, a call, a text, or what a step the process ran came to.
POST /v1/apps/{app}/stop app Tell the app it was stopped, and close its socket.
POST /v1/apps/{app}/work app What the app's process is owed, waited for up to wait_s: unheard events, and the runs ready to go on.
POST /v1/agents/{slug}/kill team and app (an admin) Let go of the agent in every app that holds it in the env, whoever's; the apps keep their other agents, and nothing is erased.
GET /v1/alerts providers The org's alerts in the key's environment, newest first (?limit=, 200 at most, ?before=): kept 90 days whether or not they were mailed or posted.
GET /v1/callbacks calls The org's callbacks in the key's environment, oldest first, a page at a time.
POST /v1/callbacks app · fleet Somebody the overflow told to wait for a call back, on the agent's log.
POST /v1/calls app · fleet Open a call's log, serve it to its agent's socket, say its minutes and its first words.
DELETE /v1/calls/{call} team Erase an ended call: its log, facts, tokens, the memories it taught, its recording; one row in the trail.
POST /v1/calls/{call}/claim app · fleet The caller keyed a page's code: tie the call to it.
GET /v1/calls/{call}/commands app · fleet The app's commands for the call, in order, until it is sealed.
POST /v1/calls/{call}/entries app · fleet Write a worker's batch of a call this gateway serves, once and in order, each entry at the worker's ts clamped to the gateway's clock; a retry of the last batch answers the same seqs.
WS /v1/calls/{call}/entries app · fleet A worker's batches of a call, on one socket for its life, each answered with its seqs as the batch endpoint answers them; a refusal is a frame {refused, status} and the socket stays.
GET /v1/calls/{call}/golden evals The golden a finished call makes from a seq on, its expect from its broken verdicts.
GET /v1/calls/{call}/events calls · fleet A call's entries above the cursor: a page, or a stream that ends with the call.
POST /v1/calls/{call}/events app · fleet Write one entry of a call this gateway serves.
POST /v1/calls/{call}/hangup — The caller hung up: the call ends now, as caller_hung_up; with the call's own token alone.
GET /v1/calls/{call}/judging app · fleet Whether the call's org judges its calls at hang-up.
PUT /v1/agents/{slug}/hold-audio app · fleet The file the agent's class declares as its melody, uploaded by the process that holds it; any other file, or an agent whose class declares none, is a 409.
POST /v1/calls/{call}/listen supervise A hidden seat that hears one live call.
POST /v1/calls/{call}/lookup app · fleet Recall or search for a call served here, answered as the model reads it.
GET /v1/calls/{call}/recording calls · fleet The call's audio, with byte ranges so a player can seek.
POST /v1/calls/{call}/recording/key app · fleet The key the call's recording is sealed under, made once for the call.
POST /v1/calls/{call}/remember app · fleet Write what the call taught into its contact's memory now, as the seal would.
POST /v1/calls/{call}/reopened app · fleet Serve again a call the gateway forgot.
POST /v1/calls/{call}/sealed app · fleet Price the call, write its summary and score, and seal its log.
POST /v1/calls/{call}/taken-up app · fleet Hand a call whose worker went away to the worker that takes it up.
GET /v1/calls/{call}/prompt calls Every block of prompt the call was told, in order, each with its words when kept.
GET /v1/calls/{call}/settings calls The exact settings and lexicon a call was built on.
POST /v1/calls/{call}/stages pipeline · app The live call takes the model and the voice its agent's settings name now, or those of the agent it names.
GET /v1/calls/{call}/state calls · fleet The call's folded state as this reader may see it, and the seq a stream resumes from.
POST /v1/calls/{call}/supervise supervise A seat that speaks in one live call; its token also sends the verbs.
POST /v1/calls/{call}/tools app · fleet Run a worker's tool call through the app that holds its agent, and answer its result.
POST /v1/calls/{call}/verbs supervise and calls · fleet, or a supervise seat's token One supervise verb on a live call; the call's log says what it did.
DELETE /v1/carrier numbers Forget an account; its numbers stay routed until each is let go.
GET /v1/carrier numbers The org's account, named, never its secret; the only one unless one is asked for.
PUT /v1/carrier numbers Keep an account of the org: a Twilio account, a SIP peer, a WhatsApp number or Page at Meta, a mailbox.
GET /v1/carrier/outbound numbers Whether the org can place a call, one sentence per thing missing, and its guards.
POST /v1/carrier/outbound numbers Make an account dialable: Twilio's termination and a credential; a peer needs nothing.
GET /v1/carriers numbers Every account of the org, oldest first.
GET /v1/carriers/catalog numbers The carriers this deployment admits, each automatic (its API) or guided (SIP terms), whether the platform sells numbers, and the SIP name a carrier sends the environment's calls to.
WS /v1/chat talk One text call: {text} frames in, every entry of the call out.
POST /v1/codes talk Four digits for a caller to key, the number to call, and a token that asks after them.
GET /v1/codes/{code} — How the code stands; with ?wait=1, held up to 25 s for a call to key it; with the code's own token alone, a key is 403.
POST /v1/contacts/memory/eval memory A memory golden asked of the ranking a call reads, on facts it writes and forgets.
DELETE /v1/contacts/{contact} team Erase a contact in the environment: every call they were on and every fact kept of them.
DELETE /v1/contacts/{contact}/memory memory Every fact of the contact deleted, history included; zero is an answer, not a 404.
GET /v1/contacts/{contact}/memory memory Every fact ever kept of the contact, current first.
GET /v1/evals/calibration evals Each judge's agreement with the labels on the key's environment's calls, one agent's or all.
POST /v1/evals/calibration evals Keep what one judge should have answered on a finished call, replacing the last label.
POST /v1/evals/caller evals The persona's next line on the call so far, improvised by its model.
GET /v1/evals/groups evals The org's case groups, one agent's or every one, the pending first and newest first.
GET /v1/evals/groups/{id} evals One group and every case in it.
PATCH /v1/evals/groups/{id} evals Approve or dismiss the group and every case waiting in it.
POST /v1/evals/groups/{id}/apply pipeline · words Write the group's proposed setting into the agent's settings, noted with the group.
POST /v1/evals/groups/{id}/persona evals A persona written from the group's newest call, saved as the agent's own.
POST /v1/evals/groups/{id}/propose evals Diagnose the group: the cause its calls share, and the smallest change that fixes it.
GET /v1/evals/cases evals The org's cases, one agent's or every one, the pending first; how many wait, of how many.
POST /v1/evals/cases evals A finished call's caller lines kept as a case of the org's dataset.
DELETE /v1/evals/cases/{id} evals Forget one of the org's cases; another org's, or nobody's, is the same 404.
PATCH /v1/evals/cases/{id} evals Approve, dismiss, hold out or mark a case as kept in the repository.
POST /v1/evals/judge/{call} evals Judge a finished call, write the verdict on its log, and answer it.
POST /v1/evals/replay/{call} evals The six code checks over a finished call, the barge-ins it answered among them.
POST /v1/evals/run evals Start a run: every golden under every model through the app that holds the agent; the run, running.
GET /v1/evals/runs evals The runs of the key's org in its environment, newest first.
GET /v1/evals/runs/{id} evals One run; another org's, or one nobody ran, is the same 404.
POST /v1/evals/voice evals Dispatch the agent into a room, play the persona as a spoken caller, and hang up.
GET /v1/events calls The org's calls and agents changing, as they change.
POST /v1/fleet/heartbeat fleet A worker's report; the answer says whether it is cordoned and its fleet full.
DELETE /v1/fleet/rooms/{room}/taken fleet The worker that took the room could not start its job, or its job left before the call was open: the room is offered again.
POST /v1/fleet/rooms/{room}/taken fleet A worker accepted the room's job: the room is its own, and is offered to nobody else.
GET /v1/fleet/wanted fleet How many workers whose names start with scaled the fleet wants, each of seats seats.
GET /v1/hosted app The apps the platform hosts for the org in this environment, by name, each with the agents its processes hold.
DELETE /v1/hosted/{name} app Stop hosting the app: its releases go, and its token is revoked.
GET /v1/hosted/usage app The time the org's apps served here per UTC day, in one month: this one by default.
GET /v1/hosted/{name}/logs app The last lines of the app's process, and the runner told to send them again; as text/event-stream, the lines as each beat brings them.
GET /v1/hosted/{name}/releases app The app's releases, newest first.
POST /v1/hosted/{name}/releases app The project's sources as the app's next release, its page's folder and agent with them when it has one.
GET /v1/hosted/{name}/releases/{release}/source app The tarball one release was uploaded as.
POST /v1/hosted/{name}/rollback app An earlier release's sources kept again as the app's next release.
POST /v1/hosted/{name}/start app Run a stopped app again, its newest release.
POST /v1/hosted/{name}/stop app Stop running the app: its process drains, and its releases and token stay.
GET /v1/pages/known none Whether a name is an app's page served now; 404 for any other name.
GET /v1/pages/{host}/files/{path} none One file of an app's page, from the release that runs; a path that names no file is the page itself.
GET /v1/pages/{host}/pinecall/config none What an app's page needs before it asks for a ticket: its agent.
POST /v1/pages/{host}/pinecall/code none A code a visitor keys when they call the page's agent, so the page follows that call.
POST /v1/pages/{host}/pinecall/dictation none One dictation's socket, a minute long, for a visitor of the page.
POST /v1/pages/{host}/pinecall/token none A seat in a new call with the page's agent, for a visitor of the page: the same visitor as before, by the cookie it sets.
GET /v1/studio/agents app The org's Studio agents in this environment, by name, each its newest release.
POST /v1/studio/agents app Make an agent in Studio: a hosted app the gateway holds, its first release the definition.
GET /v1/studio/agents/{name} app The agent's newest release and its definition.
PUT /v1/studio/agents/{name} app The definition kept as the agent's next release, over the release it was read at.
GET /v1/studio/agents/{name}/code app The agent as a TypeScript project of the framework's, zipped: the class pinecall deploy runs.
POST /v1/studio/agents/{name}/deploy app The sandbox's release kept as production's next, the deployer's settings with it: the agent answers there from the next call.
POST /v1/studio/agents/{name}/try app One tool's request sent once, as a call would send it; what came back.
GET /v1/studio/channel-rules app How the framework tells an agent to write on each channel: what one that writes its own replaces.
GET /v1/insights calls Whole UTC days of the key's environment and scope at a glance, and the month's spend.
GET /v1/monitors evals The world's monitors — a number of the series watched over a window — each with the last day it fired.
POST /v1/monitors evals Watch a number: it fires, once a day on the agent's log, when it crosses the line over its window.
DELETE /v1/monitors/{monitor_id} evals Stop watching.
GET /v1/webhook providers Where the org's alerts are posted — a monitor fired, the spend unusual, a quota out, a vendor that failed a call — and whether the posts are signed; null when nowhere.
PUT /v1/webhook providers Keep the org's webhook: the URL, and the secret every post is signed with.
DELETE /v1/webhook providers Forget the org's webhook.
POST /v1/webhook/test providers One test post to the org's webhook, signed as every alert is, waited for: whether a 2xx came back, else why not.
GET /v1/insights/series calls Every UTC day of the window — calls, endings, cost, latencies by stage, judges, tools — and the window's stages by vendor and model, as the Observability screen draws it.
GET /v1/insights/tools calls Every tool of the window: its results, those that failed, its median seconds and its newest failure; the most failed first.
GET /v1/insights/slow calls The window's slowest turns, each with where the caller's wait went: hearing, thinking, tools, speaking.
GET /v1/insights/drift calls What moved between two days or versions of an agent, and the versions run or set.
POST /v1/invitations/{token} — Choose a password: the member is active, and here is their first key.
GET /v1/keys — The org's keys this key may see, oldest first, the revoked ones too; never a key.
POST /v1/keys app (a person's key) A server's token for the org in one environment, pc_live_ or pc_test_.
POST /v1/keys/{fingerprint}/revoke — Stop one of the org's keys from the next request on: your own, one you made, or any.
GET /v1/knowledge knowledge Every base the key's corner reads, its size, its model and when it was pushed.
GET /v1/knowledge/attached knowledge Each base some agent reads, and the agents whose class or whose settings in the corner attach it.
DELETE /v1/knowledge/{base} knowledge Drop the holder's own copy of the base and its chunks.
GET /v1/knowledge/{base} knowledge The base's files, each with its size and chunks, never its text.
PUT /v1/knowledge/{base} knowledge Put the folder's files into the base by path, keeping the files it does not name; ?replace=true makes the base the folder. Cut, embedded where it changed, indexed.
POST /v1/knowledge/{base}/eval knowledge Ask the golden's questions of the base and score recall@k and nDCG@10, with no model.
DELETE /v1/knowledge/{base}/files/{path:path} knowledge Take one file and its chunks out of the base, and the base with its last file.
GET /v1/knowledge/{base}/files/{path:path} knowledge One file of the base, text and all.
PUT /v1/knowledge/{base}/files/{path:path} knowledge Put one file into the base, beginning the base when there is none; only it is cut.
GET /v1/limits — Each quota of the key's environment as {limit, used}, the lends, and where to buy more.
DELETE /v1/line/from app (a person's key, in the sandbox) Stop sending this person's phones to their scope, and say which were forgotten.
PUT /v1/line/from app (a person's key, in the sandbox) This phone is the person's own: a call from it reaches their copy of the agent named, or of the one held.
GET /v1/line/numbers app (a person's key, in the sandbox) The phone that is the person's, the box's test line, and the production numbers it can dial.
POST /v1/livekit/webhook — A room event LiveKit signed with the platform's key, ?world= naming the LiveKit that sent it (production's unless it says sandbox): an agent lost mid-call has its caller told once and its call ended as drained, a caller alone in a room is offered a worker, a room an agent joined or that ended is let go, and a hand-over's bridge goes with either of its legs.
POST /v1/login — A key for a person and a device, from a password, or from a one-use code.
POST /v1/login/codes — A one-use word that gives a browser a key like this one, for five minutes.
GET /v1/login/google — 302 to Google, with a state, a nonce and a PKCE challenge.
GET /v1/login/google/callback — The code exchanged; 302 to the console signed in, to the sign-up for a newcomer, or with why not.
POST /v1/login/org — The same person's key in another org of theirs, or a visit for a person of the platform.
GET /v1/login/orgs — Every org this key's person may open, oldest first, and which one this key opens.
POST /v1/login/orgs — The orgs an address and a password open, minting nothing.
POST /v1/login/pairings — The word a terminal prints for a browser to approve, and when it dies.
GET /v1/login/pairings/{code} — Which terminal a browser is about to sign in, and whether it is answered.
POST /v1/login/pairings/{code} — Sign the terminal in as the person this browser is.
GET /v1/login/pairings/{code}/key — The terminal's key, once; held up to wait_s for an approval, then 202.
GET /v1/oauth/authorization — Who asks to act as the person this browser is, and where their approval would be sent.
POST /v1/oauth/authorization — Let the app act as the person this browser is; the address to send it back to, with its code.
POST /v1/oauth/register — An app's id, made of what it calls itself and where it may be sent back; nothing is kept.
POST /v1/oauth/revoke — Stop the key an app holds, at the app's own word; 200 whatever the token was.
POST /v1/oauth/token — The key an approval minted, for the code and the verifier of its challenge; once.
POST /v1/login/reset — Mail a one-use link that sets the password, where one can go.
GET /v1/login/sso — 302 to the org's provider, with a state, a nonce and a PKCE challenge.
GET /v1/login/sso/callback — The code exchanged, the person seated, and 302 to the console with a login code.
POST /v1/login/sso/discover — The orgs whose provider signs in this address's domain, oldest first.
GET /v1/me — The person behind the key: their name and address, their role here, whether a password opens their account.
PATCH /v1/me — Change the name this org calls you by.
GET /v1/me/keys — The keys your own sign-ins to this org left, the latest used first, and which one this request came with.
POST /v1/me/keys/revoke — End every other sign-in of yours to this org, from the next request on; the one asking stays.
PUT /v1/me/password — Change your own password, proven by the one you have; every other sign-in of yours ends.
GET /v1/members team Every member of the org, oldest first, the disabled ones too.
POST /v1/members team Invite a person, within the org's seats, and mail them the link.
DELETE /v1/members/{id} team Take a member out for good, their keys revoked; never yourself, never the last admin.
PATCH /v1/members/{id} team Change a member's role, agents, standing or production access; disabling revokes keys.
POST /v1/members/{id}/reset team A one-use link that sets an active member's password, mailed to them.
PUT /v1/members/{id}/password team A member's password set by an admin, no link mailed; an invited member becomes active.
GET /v1/memory memory The current facts every agent's calls taught, each with its agent, newest first, a page.
DELETE /v1/memory/facts/{id} memory One current fact ended from now on; 404 when there is none by that id.
GET /v1/numbers numbers The org's numbers in the key's environment, and the agent each reaches.
POST /v1/numbers numbers Hook a number at its account, admit it on the SFU in the key's environment, route it.
GET /v1/numbers/available numbers What the org's Twilio accounts own, and which of it this environment imported.
POST /v1/numbers/buy numbers Buy a number on the platform's account and hook it, counted against the environment's stock.
GET /v1/numbers/address numbers The domain the platform gives its orgs' agents addresses of; null when it gives none.
POST /v1/numbers/address numbers An address of the platform's domain made for an agent (local, agent, app?, label?), its mailbox kept and routed.
DELETE /v1/numbers/{number} numbers Let the number go on a channel (?channel= when it answers on two): its route and its admission; the account keeps it.
GET /v1/numbers/{number}/path numbers What a call to the number goes through now: its carrier, the fence, the environment, the agent.
PUT /v1/numbers/{number}/env numbers Move the number into the other environment: its row and the two rules.
GET /v1/ops/admission operator What a newborn org is given in each environment; nothing limited on a deployment that never said.
PUT /v1/ops/admission operator What a newborn org is given, replaced whole.
GET /v1/ops/test-line operator The box's test line: the sandbox number a person calls to reach their own agent, or null.
PUT /v1/ops/test-line operator Make one of the box's own sandbox numbers the test line, or forget it with a null number.
GET /v1/ops/alerts operator Every org's alerts kept, or one org's (?org=, ?env=), newest first: what broke for the platform's tenants.
GET /v1/ops/brand operator What the platform's letters and sign-in page are called and painted with.
PUT /v1/ops/brand operator The brand changed field by field: one left out stays, an empty one goes to the default.
GET /v1/ops/carrier-networks operator Every network an org asked 5060 to open to, or those in one state, oldest first.
POST /v1/ops/sip/repoint operator Send every Twilio trunk at an environment's name, or a former one, to that environment's SIP name.
POST /v1/ops/carrier-networks/{ask}/approve operator Put the network on the firewall's list, and admit the org's numbers it fences.
POST /v1/ops/carrier-networks/{ask}/refuse operator Keep the network off the fence's list; numbers it alone fenced are let go of on the SFU.
GET /v1/ops/carriers operator The catalog, each carrier admitted or not with the numbers it brings, and the fence now.
PUT /v1/ops/carriers/{kind} operator Admit a carrier of the catalog, or stop admitting it; Twilio is admitted always.
GET /v1/ops/hosted-usage operator The time every org's apps served, both environments, per UTC day, one month: what bills them.
GET /v1/ops/events operator Every org's floor at once, each frame saying whose.
GET /v1/ops/fleet operator Every worker heard from, of both fleets, and each fleet summed over the ones up.
DELETE /v1/ops/fleet/{worker}/cordon operator Take a worker's cordon back, when it has not left yet.
POST /v1/ops/fleet/{worker}/cordon operator Cordon a worker of a fleet; the fleet is found by the worker's name when not named.
GET /v1/ops/fleets operator The fleet of workers each environment's calls are dispatched to.
PUT /v1/ops/fleets operator The fleet of each environment, replaced whole; the next dispatch reads it.
POST /v1/ops/keys/{fingerprint}/revoke operator One key stops opening anything from the next request on.
DELETE /v1/ops/mail operator Forget the stored mailbox, back to the environment's; 404 when none was stored.
GET /v1/ops/mail operator The mailbox the platform posts through, where it came from, and how its last letter went.
PUT /v1/ops/mail operator The platform's mailbox, stored over the environment's; its letters go through it next.
POST /v1/ops/mail/test operator One test letter through the platform's mailbox, waited for.
GET /v1/ops/numbers operator Every number of the platform, every org and environment: how it came, whether it is answered now.
POST /v1/ops/numbers/{number}/approve operator Approve that a number the org hooked is the org's.
DELETE /v1/ops/numbers-account operator Forget it: the box buys no numbers from now on, and the ones it bought keep ringing.
GET /v1/ops/numbers-account operator The account the box buys numbers on, by its SID and label; 404 when it holds none.
PUT /v1/ops/numbers-account operator Keep the account the box buys numbers on, sealed; it replaces the one held.
GET /v1/ops/orgs operator Every org, oldest first, the default one first.
POST /v1/ops/orgs operator A new org, its id minted here, born with what admission gives one.
DELETE /v1/ops/orgs/{named} operator Erase the org whole, its calls and recordings too; refused while a live key or a route still names it.
GET /v1/ops/orgs/{named} operator One org as it stands: its quotas per environment, its dial guards, and what it holds.
PUT /v1/ops/orgs/{named}/agents operator An agent's logs and numbers moved into this org; refused while somebody holds it.
DELETE /v1/ops/orgs/{named}/agents/{agent} operator Erase one agent of the org, its logs, recordings and every row it owns; the trail row.
POST /v1/ops/orgs/{named}/agents/{slug}/kill operator Let go of the agent in every app of the org that holds it, in either env; nothing is erased.
PUT /v1/ops/orgs/{named}/dialling operator The org's dial guards, replaced whole; one left out is the default.
GET /v1/ops/orgs/{named}/keys operator Every key of the org, oldest first, the revoked ones named as revoked; never a key.
POST /v1/ops/orgs/{named}/keys operator A key of the org in the environment named, answered this once.
GET /v1/ops/orgs/{named}/members operator The org's people, oldest first, and how many hold a seat.
POST /v1/ops/orgs/{named}/members operator Invite a person into the org, the link's token once.
DELETE /v1/ops/orgs/{named}/members/{id} operator The person out of the org for good, their keys revoked.
PUT /v1/ops/orgs/{named}/members/{id}/operator operator Whether this member runs the platform; false takes it back at once.
GET /v1/ops/orgs/{named}/provider-keys operator The vendors the org brought its own credentials for, never the credentials.
DELETE /v1/ops/orgs/{named}/provider-keys/{vendor} operator The org's credentials for a vendor taken back; its calls run on the platform's next.
PUT /v1/ops/orgs/{named}/provider-keys/{vendor} operator The org's own credentials for a vendor, set for it; its calls run on them next.
PUT /v1/ops/orgs/{named}/quotas operator The org's limits in one environment, replaced whole; they bite the next call and register.
PUT /v1/ops/orgs/{named}/simulating operator How the org's simulations are shaped in one environment: the calls at once, and the calls a comparison places.
GET /v1/ops/orgs/{named}/sso operator Which provider the org signs in with, never its secret.
PUT /v1/ops/orgs/{named}/sso/required operator Whether a password may still open the org beside its provider.
GET /v1/ops/provider-keys operator The vendors the platform holds a key for, never the key.
DELETE /v1/ops/provider-keys/{vendor} operator The platform stops offering the vendor on its key; 404 when it held none.
PUT /v1/ops/provider-keys/{vendor} operator The platform's own credentials for a vendor; orgs it lends to run on them from the next call.
GET /v1/ops/providers operator The providers row: defaults, models, voices, tuning, rates, the judge, the embedder.
PUT /v1/ops/providers operator The providers row replaced whole; a vendor not installed or not doing its stage refused.
GET /v1/ops/routes operator Every number the org answers at in the environment, oldest first.
POST /v1/ops/routes operator A number answered by this org's agent, in this environment, on this channel; admitted on the SFU at once, the carrier untouched.
DELETE /v1/ops/routes/{number} operator The org's route at the number forgotten, and its admission; 404 for a number nobody typed.
GET /v1/ops/traceback operator Every phone call with a number, kept or erased, and every dial to it, of every org.
GET /v1/ops/signin operator Every provider the platform offers every org's people, and the URI each registers; never a secret.
DELETE /v1/ops/signin/google operator Forget the client: the button goes from every page.
PUT /v1/ops/signin/google operator Keep the OAuth client the operator made at Google: "Continue with Google" shows on every page.
GET /v1/ops/usage operator Every org's metered rows after the cursor, totals per org; or the same as a stream.
GET /v1/ops/whoami operator The platform this key opens, and the person holding it; nobody for the platform's own key.
POST /v1/org/consents talk One fact about a number, a consent or an opt-out; what stands for it after.
DELETE /v1/org/consents/{number} talk The number put on the do-not-call list: an opt-out written, the history kept.
GET /v1/org/consents/{number} calls What stands for the number, and every fact about it, newest first.
GET /v1/org/dnc calls The environment's do-not-call list, newest first, a page after the cursor.
POST /v1/org/dnc talk Numbers the org's own list or its Registry scrub says not to call, onto the list at once.
GET /v1/org/reads team Who read the org's calls, recordings, seats, exports and memory in the key's environment, newest first; of one subject when named.
GET /v1/org/erasures team The org's erasures, newest first: what went, when, and who asked.
GET /v1/org/policy team The org's compliance settings: retention, calling hours, calls a day per number, and who set them.
PUT /v1/org/policy team The org's compliance settings replaced whole, from the next nightly run.
GET /v1/org/email/layout numbers How the org's agents' emails are set: its own HTML, the plain one while it chose nothing, or text alone.
PUT /v1/org/email/layout numbers Keep how the org's emails are set: in its layout, or as text alone with no HTML.
DELETE /v1/org/email/layout numbers Forget how the org set its emails, back to the plain layout.
POST /v1/org/email/layout/preview numbers Words as a reply would be: its subject, its HTML in the layout (none as text alone), its plain part.
GET /v1/org/export team The org's data in the key's environment as JSON Lines: its calls with their logs, then everything it wrote or configured, a line a row, each saying its kind.
GET /v1/org/judging calls Whether hang-up judging is on, the model it runs on, and its ceiling per call.
PUT /v1/org/judging usage Hang-up judging on or off, and the model it runs on, from the next call.
DELETE /v1/org/mail team Forget the org's own mailbox: its letters go through the platform's again.
GET /v1/org/mail team The org's own mailbox, never its password, and how its last letter went.
PUT /v1/org/mail team Replace the org's own mailbox; its letters go through it from the next one.
POST /v1/org/mail/test team One test letter, waited for: whether it went, and what the server said when not.
DELETE /v1/org/sso team Forget the org's provider: passwords open it again from the next attempt.
GET /v1/org/sso team The org's provider, never its secret, and the redirect URI to register there.
PUT /v1/org/sso team Replace the org's provider whole, once its issuer answered as one.
POST /v1/org/sso/domains/{domain}/verify team Look for the domain's TXT record and, found, offer the provider for the domain.
GET /v1/provider-keys providers The vendors the org brought its own credentials for.
DELETE /v1/provider-keys/{vendor} providers Forget the org's credentials for a vendor; its calls run on the platform's from the next one.
PUT /v1/provider-keys/{vendor} providers Keep the org's own credentials for a vendor; its calls run on them from the next one.
GET /v1/telemetry providers The org's collector and which headers are set, never their values; null when none.
DELETE /v1/telemetry providers Forget the org's collector; its calls' traces stay on the platform from the next one.
PUT /v1/telemetry providers Keep the org's collector; its calls' traces go there from the next one.
GET /v1/providers providers Every vendor this build runs and how this org may run it, the defaults, the models named.
GET /v1/providers/{vendor}/options providers What the vendor's plugin takes for a stage (?modality=, ?builds= for another class of it), read off its constructor: each argument a form can draw, its kind, its choices and its default; the knobs the settings set are left out.
GET /v1/providers/advice providers What this host advises the org to run, stage by stage — an open model it serves, a vendor it lends, the org's own key, or one to bring — and, for the box's operator where the row's model servers are on this host, the machine.
GET /v1/routes app · fleet The routes of a scope; for the fleet's key and a number, the route that number rings.
GET /v1/runner/apps/{org}/{name}/environment runner What the app's process is started with: the org's secrets, its token, the gateway.
GET /v1/runner/apps/{org}/{name}/releases/{release}/source runner The tarball of one release of any org's app in the runner's environment.
POST /v1/runner/heartbeat runner The runner's reports kept, and every app of its environment it is to have running.
GET /v1/secrets app The org's secrets in this environment, by name; never a value.
DELETE /v1/secrets/{name} app Forget one secret; the org's list after it, 404 for a name nobody set.
PUT /v1/secrets/{name} app Keep one secret, sealed, replacing the value it had; the org's list after it.
GET /v1/sessions calls The org's newest calls across its agents, one row each.
POST /v1/signup — Keep the sign-up and mail its six digits.
POST /v1/signup/resend — A new code for a sign-up still waiting; the first one no longer works.
POST /v1/signup/google — The workspace named: the org made, its admin the address Google vouched for, no password and no code.
GET /v1/signup/google/{token} — Whom Google vouched for, spending nothing: the page asks them only for a workspace.
POST /v1/signup/verify — The mailed code back: the org made, its admin seated, their first key and a login code.
POST /v1/tokens talk A room token for one of the key's agents, the dispatch to its environment's fleet inside it.
POST /v1/sms/twilio/{mark} — A message written to one of the deployment's numbers, onto its contact's conversation.
POST /v1/sms/twilio/{mark}/status — Where a reply sent by SMS stands, said on its contact's open conversation.
GET /v1/usage usage The org's metered rows after the cursor, their totals, and the next cursor.
POST /v1/transcriptions talk · pipeline The note's words, heard on the keys the org's calls run on.
POST /v1/transcriptions/token talk · pipeline A minute's token for one dictation on the org's keys, with the ears and language asked for.
WS /v1/transcriptions/stream — Raw 16 kHz PCM frames in, {type: interim|final, text} out as it is heard; end closes the audio and {type: done} follows once the words are settled.
GET /v1/voices pipeline The voices the providers row lists for a vendor, else its plugin's; neither is a 404.
POST /v1/voices/sample pipeline The line said by that vendor's voice, over the path a call speaks on.
GET /v1/whatsapp/subscription numbers What the org types in its own Meta app: the callback URL, the verify token, the field.
GET /v1/whatsapp/webhook — Meta subscribing: its challenge echoed back when it says this deployment's word, or one given to an org.
POST /v1/whatsapp/webhook — Every message of a signed body onto its contact's conversation.
GET /v1/whoami — Whose key this is, the environment this request acts in, and what the key opens.
GET /widget/{file} — A file of the widget, for any site to load as a module.