Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.
Custom API tools let a voice agent read or update data in an external system during a call. Use them for account lookups, identity checks, payment commitments, case creation, or a service your organization exposes through an API.The endpoint supplies the business behavior. Revve configures when to call it, sends the required fields, and makes its response available to the conversation. An integration does not require a dedicated connector for every business operation.
Configure a tool
Open the voice agent’s Advanced Settings, go to Tools, click Add, and choose API Call. The Set up API call dialog offers two ways to start:
Configure manually — fill in every setting yourself.
Import from cURL — paste a cURL command (for example, one copied from your API’s documentation or your browser’s developer tools). Revve fills in the URL, method, headers, and body from it, and you edit them on the next step.
Then:
Give the tool a unique name and a description explaining when the agent should use it.
Set the destination URL and HTTP method (POST, GET, PUT, DELETE, or PATCH).
Add the headers required by the service. Keep credentials in the request configuration, outside the spoken instructions.
Define request fields. Use AI Generated for information the agent collects from the caller, and Fixed Value for configured values or supported variable templates.
Have the endpoint return a compact response with an explicit outcome and the fields the agent needs. Normalize complex responses in your API or integration gateway.
Optionally add Response Variables to keep values from the response for the rest of the call (see below).
Set a Tool Call Message if the caller should hear a short acknowledgment while the request runs.
Turn on Global Tool if the tool should be available in every node of a Conversational Flow.
Save the tool and test it with the agent’s draft before publishing.
Configured request fields form the request body; they are not automatically converted into GET query parameters. If a service requires query parameters, include them in the URL using supported variable templates, or expose a compatible POST endpoint through your gateway. Test the received URL and body against the service’s contract.
Use custom business fields
Combine contact fields, conversation fields, and call analysis to represent your organization’s data. For example, a collection workflow can store a customer reference, days past due, asset description, promised payment date, and case status.Use the field types offered by each editor. Structured domain data can be represented with multiple fields or a serialized value according to the integration contract. The API remains the source of truth for balances, permissions, and transaction status.
Map results and route the conversation
Return a clear status such as verified, rejected, or unavailable, together with the values the conversation needs. The agent always receives the full JSON response.
Response Variables
Use Response Variables to save a value from the JSON response as a call variable after a successful call. Map a response path to a variable name — for example, data.count → attempts. Later nodes, conditions, and tool calls can then read it as {{attempts}} (or vars.attempts in Code nodes). This is how a result like a verification status or a case ID drives the rest of the call without the agent having to repeat it.
The tool editor also shows a Result Mapping section, which is shared with chat agents. The Revve voice runtime does not apply it — use Response Variables on voice agents instead.
For more complex handling, normalize responses in the receiving API or gateway, or use flow logic and Code nodes. For logic that’s easier to write as code than as an HTTP request — combining several calls, or transforming a response — use a Run Code tool; see Voice Agent Tools.A typical account-service flow is:
Collect the customer reference.
Call the identity service and inspect its result.
Retrieve the permitted account information.
Read back the requested action and obtain confirmation.
Call the action endpoint and explain its returned outcome.
Connect explicit failure paths for missing fields, rejected verification, unavailable services, and ambiguous results. Return partial-success details per item when an operation can succeed for some accounts and fail for others.
Integrate through an existing gateway
The tool calls HTTP endpoints. A GraphQL service can be called through its HTTP interface using the query and variables required by that service. For SOAP, gRPC, private networks, or specialized authentication, expose a compatible HTTP interface through your integration gateway and keep protocol conversion there. This is an integration pattern; it does not turn Revve’s own API into a native gRPC service.The same approach connects core banking, CRM, messaging, identity providers, fraud engines, and enterprise notification services. When the destination requires a proxy, set Proxy Configuration on the tool: Host, Port, and, if Authentication Required is on, a Username and Password.
Design retries and reconciliation
For an operation that changes data, send a stable request identifier and have the receiving service enforce idempotency. A timeout does not prove that the operation failed: query its status before repeating it. Carry the same correlation identifier into the external record so operators can reconcile the call with the transaction.Use automation API actions for post-call synchronization, notifications, and retry policies. For example, a Call Analyzed event can send the summary and extracted fields to a CRM. This event runs after analysis, so it should not be used as an acknowledgment for a transaction that the caller needs confirmed during the call.
Validate the integration
Test success, rejected authorization, missing data, timeout, duplicate submission, and partial failure. Voice evaluations can check that the expected tool was called and that the agent responded appropriately. Publish the tested agent version using Voice Agent Versioning; users without Publish Agents submit the draft through the approval workflow.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Revve AI","colors":{"primary":"#E65C1A","light":"#F0845C","dark":"#C44D14"},"logo":{"light":"https://mintcdn.com/revve/iFcKKH3UuI5JLIig/logo/light.svg?fit=max\u0026auto=format\u0026n=iFcKKH3UuI5JLIig\u0026q=85\u0026s=04e885f403507a723d1adbf228eefa23","dark":"https://mintcdn.com/revve/iFcKKH3UuI5JLIig/logo/dark.svg?fit=max\u0026auto=format\u0026n=iFcKKH3UuI5JLIig\u0026q=85\u0026s=a8425df13b32cab60b303f2d34130cd5","href":"https://www.revve.ai"},"favicon":"https://mintcdn.com/revve/iFcKKH3UuI5JLIig/logo/light.svg?fit=max\u0026auto=format\u0026n=iFcKKH3UuI5JLIig\u0026q=85\u0026s=04e885f403507a723d1adbf228eefa23","api":{"playground":{"display":"auth"},"examples":{"languages":["curl","javascript","python"]}},"navbar":{"links":[],"primary":{"type":"button","label":"Book a Demo","href":"https://www.revve.ai/request-demo"}},"footer":{"socials":{"website":"https://www.revve.ai","linkedin":"https://www.linkedin.com/company/revve-ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"revve","hasAudioNarration":false,"actualSubdomain":"revve","customDomains":["www.revve.ai"],"gitSource":{"type":"github","owner":"revve-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af962aec11f076dcacc3765","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Documentation","count":85},{"language":"default","tag":"Voice Agents","count":14},{"language":"default","tag":"Chat Agents","count":12},{"language":"default","tag":"Channels","count":10},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Administration","count":7},{"language":"default","tag":"Inbox \u0026 Operations","count":7},{"language":"default","tag":"Knowledge Base","count":6},{"language":"default","tag":"Developers","count":5},{"language":"default","tag":"Evaluations","count":5}]},"assistantConfig":{},"basePath":"/docs","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":"workos-onboarding","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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"voice-agents/custom-api-tools","slug":"/voice-agents/custom-api-tools","pageMetadata":{"title":"Custom API Tools","description":"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.","href":"/voice-agents/custom-api-tools"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.\"\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`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Custom API tools let a voice agent read or update data in an external system during a call. Use them for account lookups, identity checks, payment commitments, case creation, or a service your organization exposes through an API.`}),`\n`,_jsx(_components.p,{children:`The endpoint supplies the business behavior. Revve configures when to call it, sends the required fields, and makes its response available to the conversation. An integration does not require a dedicated connector for every business operation.`}),`\n`,_jsx(Heading,{level:`2`,id:`configure-a-tool`,children:`Configure a tool`}),`\n`,_jsxs(_components.p,{children:[`Open the voice agent’s `,_jsx(_components.strong,{children:`Advanced Settings`}),`, go to `,_jsx(_components.strong,{children:`Tools`}),`, click `,_jsx(_components.strong,{children:`Add`}),`, and choose `,_jsx(_components.strong,{children:`API Call`}),`. The `,_jsx(_components.strong,{children:`Set up API call`}),` dialog offers two ways to start:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configure manually`}),` — fill in every setting yourself.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Import from cURL`}),` — paste a cURL command (for example, one copied from your API’s documentation or your browser’s developer tools). Revve fills in the URL, method, headers, and body from it, and you edit them on the next step.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Then:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Give the tool a unique name and a description explaining when the agent should use it.`}),`\n`,_jsx(_components.li,{children:`Set the destination URL and HTTP method (POST, GET, PUT, DELETE, or PATCH).`}),`\n`,_jsx(_components.li,{children:`Add the headers required by the service. Keep credentials in the request configuration, outside the spoken instructions.`}),`\n`,_jsxs(_components.li,{children:[`Define request fields. Use `,_jsx(_components.strong,{children:`AI Generated`}),` for information the agent collects from the caller, and `,_jsx(_components.strong,{children:`Fixed Value`}),` for configured values or supported variable templates.`]}),`\n`,_jsx(_components.li,{children:`Have the endpoint return a compact response with an explicit outcome and the fields the agent needs. Normalize complex responses in your API or integration gateway.`}),`\n`,_jsxs(_components.li,{children:[`Optionally add `,_jsx(_components.strong,{children:`Response Variables`}),` to keep values from the response for the rest of the call (see below).`]}),`\n`,_jsxs(_components.li,{children:[`Set a `,_jsx(_components.strong,{children:`Tool Call Message`}),` if the caller should hear a short acknowledgment while the request runs.`]}),`\n`,_jsxs(_components.li,{children:[`Turn on `,_jsx(_components.strong,{children:`Global Tool`}),` if the tool should be available in every node of a Conversational Flow.`]}),`\n`,_jsx(_components.li,{children:`Save the tool and test it with the agent’s draft before publishing.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Configured request fields form the request body; they are not automatically converted into GET query parameters. If a service requires query parameters, include them in the URL using supported variable templates, or expose a compatible POST endpoint through your gateway. Test the received URL and body against the service’s contract.`}),`\n`,_jsx(Heading,{level:`2`,id:`use-custom-business-fields`,children:`Use custom business fields`}),`\n`,_jsxs(_components.p,{children:[`Combine `,_jsx(_components.a,{href:`/contacts/managing-contacts`,children:`contact fields`}),`, `,_jsx(_components.a,{href:`/administration/conversation-fields`,children:`conversation fields`}),`, and `,_jsx(_components.a,{href:`/voice-agents/voice-agent-advanced-capabilities`,children:`call analysis`}),` to represent your organization’s data. For example, a collection workflow can store a customer reference, days past due, asset description, promised payment date, and case status.`]}),`\n`,_jsx(_components.p,{children:`Use the field types offered by each editor. Structured domain data can be represented with multiple fields or a serialized value according to the integration contract. The API remains the source of truth for balances, permissions, and transaction status.`}),`\n`,_jsx(Heading,{level:`2`,id:`map-results-and-route-the-conversation`,children:`Map results and route the conversation`}),`\n`,_jsxs(_components.p,{children:[`Return a clear status such as `,_jsx(_components.code,{children:`verified`}),`, `,_jsx(_components.code,{children:`rejected`}),`, or `,_jsx(_components.code,{children:`unavailable`}),`, together with the values the conversation needs. The agent always receives the full JSON response.`]}),`\n`,_jsx(Heading,{level:`3`,id:`response-variables`,children:`Response Variables`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Response Variables`}),` to save a value from the JSON response as a call variable after a successful call. Map a response path to a variable name — for example, `,_jsx(_components.code,{children:`data.count`}),` → `,_jsx(_components.code,{children:`attempts`}),`. Later nodes, conditions, and tool calls can then read it as `,_jsx(_components.code,{children:`{{attempts}}`}),` (or `,_jsx(_components.code,{children:`vars.attempts`}),` in Code nodes). This is how a result like a verification status or a case ID drives the rest of the call without the agent having to repeat it.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The tool editor also shows a `,_jsx(_components.strong,{children:`Result Mapping`}),` section, which is shared with chat agents. The Revve voice runtime does not apply it — use `,_jsx(_components.strong,{children:`Response Variables`}),` on voice agents instead.`]})}),`\n`,_jsxs(_components.p,{children:[`For more complex handling, normalize responses in the receiving API or gateway, or use `,_jsx(_components.a,{href:`/voice-agents/voice-conversational-flow`,children:`flow logic and Code nodes`}),`. For logic that’s easier to write as code than as an HTTP request — combining several calls, or transforming a response — use a `,_jsx(_components.strong,{children:`Run Code`}),` tool; see `,_jsx(_components.a,{href:`/voice-agents/voice-agent-tools#run-code`,children:`Voice Agent Tools`}),`.`]}),`\n`,_jsx(_components.p,{children:`A typical account-service flow is:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Collect the customer reference.`}),`\n`,_jsx(_components.li,{children:`Call the identity service and inspect its result.`}),`\n`,_jsx(_components.li,{children:`Retrieve the permitted account information.`}),`\n`,_jsx(_components.li,{children:`Read back the requested action and obtain confirmation.`}),`\n`,_jsx(_components.li,{children:`Call the action endpoint and explain its returned outcome.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Connect explicit failure paths for missing fields, rejected verification, unavailable services, and ambiguous results. Return partial-success details per item when an operation can succeed for some accounts and fail for others.`}),`\n`,_jsx(Heading,{level:`2`,id:`integrate-through-an-existing-gateway`,children:`Integrate through an existing gateway`}),`\n`,_jsx(_components.p,{children:`The tool calls HTTP endpoints. A GraphQL service can be called through its HTTP interface using the query and variables required by that service. For SOAP, gRPC, private networks, or specialized authentication, expose a compatible HTTP interface through your integration gateway and keep protocol conversion there. This is an integration pattern; it does not turn Revve’s own API into a native gRPC service.`}),`\n`,_jsxs(_components.p,{children:[`The same approach connects core banking, CRM, messaging, identity providers, fraud engines, and enterprise notification services. When the destination requires a proxy, set `,_jsx(_components.strong,{children:`Proxy Configuration`}),` on the tool: `,_jsx(_components.strong,{children:`Host`}),`, `,_jsx(_components.strong,{children:`Port`}),`, and, if `,_jsx(_components.strong,{children:`Authentication Required`}),` is on, a `,_jsx(_components.strong,{children:`Username`}),` and `,_jsx(_components.strong,{children:`Password`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`design-retries-and-reconciliation`,children:`Design retries and reconciliation`}),`\n`,_jsx(_components.p,{children:`For an operation that changes data, send a stable request identifier and have the receiving service enforce idempotency. A timeout does not prove that the operation failed: query its status before repeating it. Carry the same correlation identifier into the external record so operators can reconcile the call with the transaction.`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/automations/creating-automation-rules`,children:`automation API actions`}),` for post-call synchronization, notifications, and retry policies. For example, a `,_jsx(_components.strong,{children:`Call Analyzed`}),` event can send the summary and extracted fields to a CRM. This event runs after analysis, so it should not be used as an acknowledgment for a transaction that the caller needs confirmed during the call.`]}),`\n`,_jsx(Heading,{level:`2`,id:`validate-the-integration`,children:`Validate the integration`}),`\n`,_jsxs(_components.p,{children:[`Test success, rejected authorization, missing data, timeout, duplicate submission, and partial failure. `,_jsx(_components.a,{href:`/voice-agents/voice-agent-evaluation`,children:`Voice evaluations`}),` can check that the expected tool was called and that the agent responded appropriately. Publish the tested agent version using `,_jsx(_components.a,{href:`/voice-agents/voice-agent-versioning`,children:`Voice Agent Versioning`}),`; users without `,_jsx(_components.strong,{children:`Publish Agents`}),` submit the draft through the `,_jsx(_components.a,{href:`/governance-access/publish-approval-workflow`,children:`approval workflow`}),`.`]})]})}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":"Custom API Tools","description":"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.","href":"/voice-agents/custom-api-tools"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Configure a tool","slug":"configure-a-tool","depth":2,"children":[]},{"title":"Use custom business fields","slug":"use-custom-business-fields","depth":2,"children":[]},{"title":"Map results and route the conversation","slug":"map-results-and-route-the-conversation","depth":2,"children":[{"title":"Response Variables","slug":"response-variables","depth":3,"children":[]}]},{"title":"Integrate through an existing gateway","slug":"integrate-through-an-existing-gateway","depth":2,"children":[]},{"title":"Design retries and reconciliation","slug":"design-retries-and-reconciliation","depth":2,"children":[]},{"title":"Validate the integration","slug":"validate-the-integration","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"revve","siteName":"Revve AI","title":"Custom API Tools - Revve AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T07:43:48.710Z","originalFileLocation":"voice-agents/custom-api-tools.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=\"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Revve AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_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=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Custom API Tools - Revve AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Revve AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.revve.ai/docs/voice-agents/custom-api-tools\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://revve.mintlify.site/docs/_mintlify/api/og/v2?division=Voice+Agents\u0026amp;title=Custom+API+Tools\u0026amp;description=Connect+voice+conversations+to+your+own+services+using+HTTP+requests%2C+dynamic+fields%2C+and+result+mapping.\u0026amp;theme=e2ed6938125739bcaac0a90d\u0026amp;signature=593bfdcbb180e067d5922c43634798c6e1ea4efc7cf89ee9d3cf41b0818242f4\">\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=\"Custom API Tools - Revve AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://revve.mintlify.site/docs/_mintlify/api/og/v2?division=Voice+Agents\u0026amp;title=Custom+API+Tools\u0026amp;description=Connect+voice+conversations+to+your+own+services+using+HTTP+requests%2C+dynamic+fields%2C+and+result+mapping.\u0026amp;theme=e2ed6938125739bcaac0a90d\u0026amp;signature=593bfdcbb180e067d5922c43634798c6e1ea4efc7cf89ee9d3cf41b0818242f4\">\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=\"/docs/mintlify-assets/_mintlify/favicons/revve/ySd3lqWYmGpXY94Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Revve AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E65C1A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.revve.ai/docs/voice-agents/custom-api-tools\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/voice-agents/custom-api-tools.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.revve.ai/#organization\",\"name\":\"Revve AI\",\"url\":\"https://www.revve.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/revve/iFcKKH3UuI5JLIig/logo/light.svg?fit=max\u0026auto=format\u0026n=iFcKKH3UuI5JLIig\u0026q=85\u0026s=04e885f403507a723d1adbf228eefa23\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.revve.ai/docs#website\",\"name\":\"Revve AI\",\"url\":\"https://www.revve.ai/docs\",\"publisher\":{\"@id\":\"https://www.revve.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools#webpage\",\"url\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools\",\"name\":\"Custom API Tools\",\"description\":\"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.\",\"dateModified\":\"2026-11-15T07:43:48.710Z\",\"isPartOf\":{\"@id\":\"https://www.revve.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Voice Agents\",\"item\":\"https://www.revve.ai/docs/voice-agents/what-is-a-voice-agent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom API Tools\",\"item\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools#article\",\"headline\":\"Custom API Tools\",\"name\":\"Custom API Tools\",\"description\":\"Connect voice conversations to your own services using HTTP requests, dynamic fields, and result mapping.\",\"url\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools\",\"mainEntityOfPage\":{\"@id\":\"https://www.revve.ai/docs/voice-agents/custom-api-tools#webpage\"},\"dateModified\":\"2026-11-15T07:43:48.710Z\",\"publisher\":{\"@id\":\"https://www.revve.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.revve.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Revve AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Revve AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/voice-agents/custom-api-tools.md","siteName":"Revve AI","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Revve AI","href":"/introduction"},{"title":"Quickstart: Live Agent in 10 Minutes","href":"/getting-started/quickstart"},{"title":"Publishing \u0026 Versioning (Chat Agents)","href":"/getting-started/publishing-and-versioning"}]},{"group":"Ask Revve","pages":[{"title":"Ask Revve: Your In-App Copilot","href":"/ask-revve/ask-revve-overview"},{"title":"What Can Ask Revve Do?","href":"/ask-revve/what-can-ask-revve-do"},{"title":"Skills for Ask Revve","href":"/ask-revve/skills"}]},{"group":"Recipes","pages":[{"title":"Build a Lead Qualification Agent That Books Meetings","href":"/guides/lead-qualification-agent"},{"title":"Build a Payment Reminder Campaign (Voice + SMS Fallback)","href":"/guides/payment-reminder-campaign"},{"title":"Build a Voice Agent That Books Appointments Mid-Call","href":"/guides/appointment-booking-voice-agent"},{"title":"Build a Support Agent with Human Escalation","href":"/guides/support-agent-with-escalation"},{"title":"Build a Speed-to-Lead Callback Campaign","href":"/guides/speed-to-lead-campaign"}]},{"group":"Voice Agents","pages":[{"title":"What Is a Voice Agent?","href":"/voice-agents/what-is-a-voice-agent"},{"title":"Creating Your First Voice Agent","href":"/voice-agents/creating-your-first-voice-agent"},{"title":"Voice Agent Settings","href":"/voice-agents/voice-agent-settings"},{"title":"Voice Conversational Flow","description":"For voice agent builders: create staged calls with explicit transitions, reusable steps, and verification.","href":"/voice-agents/voice-conversational-flow"},{"title":"Custom API Tools","href":"/voice-agents/custom-api-tools"},{"title":"Voice Verification","description":"Route callers using enrolled voiceprints, configurable decision thresholds, and fallback verification.","href":"/voice-agents/voice-verification"},{"title":"Sensitive Data in Voice Flows","href":"/voice-agents/sensitive-data-handling"},{"title":"Voice Agent Advanced Capabilities","href":"/voice-agents/voice-agent-advanced-capabilities"},{"title":"Voice Agent Evaluation","href":"/voice-agents/voice-agent-evaluation"},{"title":"Voice Agent Tools","href":"/voice-agents/voice-agent-tools"},{"title":"Transferring Calls to a Human","href":"/voice-agents/call-transfer"},{"title":"Agent Assist Copilot","href":"/voice-agents/agent-assist-copilot"},{"title":"Do Not Call List","href":"/voice-agents/do-not-call-list"},{"title":"Voice Agent Publishing \u0026 Versioning","href":"/voice-agents/voice-agent-versioning"}]},{"group":"Chat Agents","pages":[{"title":"What Is a Chat Agent?","href":"/getting-started/what-is-a-chat-agent"},{"title":"Creating Your First Chat Agent","href":"/getting-started/creating-your-first-chat-agent"},{"title":"Understanding Engine Types","href":"/getting-started/understanding-engine-types"},{"title":"Configuring Agent Identity","href":"/general-configuration/configuring-agent-identity"},{"title":"Choosing an LLM Model","href":"/general-configuration/choosing-an-llm-model"},{"title":"Welcome Messages and Conversation Starters","href":"/general-configuration/welcome-messages-and-conversation-starters"},{"title":"Language and Tone Settings","href":"/general-configuration/language-and-tone-settings"},{"title":"Chat Agent Advanced Settings","href":"/general-configuration/chat-agent-advanced-settings"},{"group":"Conversation Flow","pages":[{"title":"Flow Editor Overview","href":"/conversational-flow/flow-editor-overview"},{"title":"Creating and Connecting Nodes","href":"/conversational-flow/creating-and-connecting-nodes"},{"title":"Global Nodes and Prompts","href":"/conversational-flow/global-nodes-and-prompts"},{"title":"Flow Node Features","href":"/conversational-flow/flow-node-features"}]}]},{"group":"Knowledge Base","pages":[{"title":"Knowledge Base Overview","href":"/knowledge-base/knowledge-base-overview"},{"title":"Adding Web Pages and Documents","href":"/knowledge-base/adding-web-pages-and-documents"},{"title":"Managing FAQs","href":"/knowledge-base/managing-faqs"},{"title":"Knowledge Gaps","href":"/knowledge-base/knowledge-gaps"},{"title":"Knowledge Base Settings","href":"/knowledge-base/knowledge-base-settings"},{"title":"Manage Expired Knowledge Sources","href":"/knowledge-base/source-expiry"}]},{"group":"Channels","pages":[{"title":"Channels Overview","href":"/channel-setup/channels-overview"},{"title":"Website Widget Appearance and Styling","href":"/channel-setup/website-appearance-and-styling"},{"title":"Website Installation","href":"/channel-setup/website-installation"},{"title":"Website Bubble Messages","href":"/channel-setup/website-bubble-messages"},{"title":"Email Channel Setup","href":"/channel-setup/email-channel-setup"},{"title":"SMS Channel Setup","href":"/channel-setup/sms-channel-setup"},{"title":"WhatsApp Channel Setup","href":"/channel-setup/whatsapp-channel-setup"},{"title":"Zalo Channel Setup","href":"/channel-setup/zalo-channel-setup"},{"title":"Messenger Channel Setup","href":"/channel-setup/messenger-channel-setup"},{"title":"TikTok Channel Setup","href":"/channel-setup/tiktok-channel-setup"}]},{"group":"Campaigns","pages":[{"title":"What Is a Campaign?","href":"/campaigns/campaign-overview"},{"title":"Creating a Campaign","href":"/campaigns/creating-a-campaign"},{"title":"Campaign Versioning","href":"/campaigns/campaign-versioning"}]},{"group":"Automations","pages":[{"title":"Automation Rules — Overview","href":"/automations/automation-rules-overview"},{"title":"Creating Automation Rules","href":"/automations/creating-automation-rules"}]},{"group":"Evaluations","pages":[{"title":"What Is AI Agent Testing?","href":"/evaluations/evaluations-overview"},{"title":"Creating a Test Case","href":"/evaluations/creating-an-evaluator"},{"title":"Simulator Profiles","href":"/evaluations/evaluation-profiles"},{"title":"Evaluation Criteria","href":"/evaluations/evaluation-metrics"},{"title":"Scorecards","href":"/evaluations/scorecards"}]},{"group":"Inbox \u0026 Operations","pages":[{"title":"Inbox Overview","href":"/inbox/inbox-overview"},{"title":"Managing Conversations","href":"/inbox/managing-conversations"},{"title":"Filtering and Searching Conversations","href":"/inbox/filtering-and-searching"},{"title":"Conversation Analysis Panel","href":"/inbox/conversation-analysis-panel"},{"title":"Human Takeover","href":"/inbox/human-takeover"},{"title":"Working with Tickets","href":"/tickets/working-with-tickets"},{"title":"Managing Contacts","href":"/contacts/managing-contacts"}]},{"group":"History \u0026 Analytics","pages":[{"title":"Chat History","href":"/history-analytics/chat-history"},{"title":"Exporting Conversations","href":"/history-analytics/exporting-conversations"},{"title":"Analytics Dashboard","href":"/history-analytics/analytics-dashboard"},{"title":"Custom Dashboards","href":"/history-analytics/custom-dashboards"},{"title":"Daily Reports","href":"/history-analytics/daily-reports"}]},{"group":"Integrations","pages":[{"title":"Apps \u0026 Integrations Overview","href":"/integrations/integrations-overview"},{"title":"Connecting Calendly","href":"/integrations/connecting-calendly"},{"title":"Scheduling \u0026 Booking with Agents","href":"/integrations/scheduling-and-booking"}]},{"group":"Administration","pages":[{"title":"Roles \u0026 Permissions","href":"/governance-access/roles-and-permissions"},{"title":"Publish Approval Workflow","href":"/governance-access/publish-approval-workflow"},{"title":"Workspace Settings","href":"/administration/workspace-settings"},{"title":"Conversation Routing","href":"/administration/conversation-routing"},{"title":"Phone Numbers","href":"/administration/phone-numbers"},{"title":"Conversation Fields","href":"/administration/conversation-fields"},{"title":"Deployment Operations","href":"/administration/deployment-operations"}]}]},{"tab":"Developers","pages":[{"title":"Developers","href":"/developers/widget-sdk-reference"}]}]},"basePath":"","title":"Custom API Tools - Revve AI","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":[],"chunks":[]}