Type to the agent and get its reply, without a phone call. Each request returns the agent’s next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in toolCalls; custom tools call your webhooks for real.
The conversation is kept by you: send the messages so far (send none to get the agent’s opening line) and the state from the previous reply. When ended is true the agent ended the conversation.
Up to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.
API key for authentication. Generate API keys from the RevRing dashboard. A key is either full access or read-only; a read-only key is refused with 403 read_only_key on any request that creates, changes or deletes.
Path Parameters
id
string<uuid>
required
Agent ID
Body
application/json
messages
object[]
required
The conversation so far, oldest first. Empty for the agent's opening line; otherwise the last message is yours
Maximum array length: 60
Show child attributes
variables
object
Variables for this test, as on a call (for example {"first_name": "Sam"}). Override the agent's default variables
environment
string
Version to test: production (the published version) or the name of one of the agent's environments. Omit to test the saved draft
state
object
Conversation state from the previous reply. Send it back unchanged with the next message so the conversation continues where it left off (the same test call, any handoff to another agent, and variables set by the pre-call webhook or by tools). Omit it, or send no messages, to start a new conversation.
Show child attributes
Response
The agent's next turn
data
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RevRing AI Documentation","colors":{"primary":"#005cdd","light":"#5b9efa","dark":"#005cdd"},"logo":{"light":"https://mintcdn.com/revringinc/4zfe2kVVWVYo-Rox/logo/light.svg?fit=max\u0026auto=format\u0026n=4zfe2kVVWVYo-Rox\u0026q=85\u0026s=e28235c04eceefff5b3adb1cb7c33353","dark":"https://mintcdn.com/revringinc/4zfe2kVVWVYo-Rox/logo/dark.svg?fit=max\u0026auto=format\u0026n=4zfe2kVVWVYo-Rox\u0026q=85\u0026s=0ceef80328d53157b1b3a45914fb58a1"},"favicon":"https://mintcdn.com/revringinc/4zfe2kVVWVYo-Rox/favicon.svg?fit=max\u0026auto=format\u0026n=4zfe2kVVWVYo-Rox\u0026q=85\u0026s=3161414ca314cb968d3be90385506fbb","navbar":{"links":[{"href":"mailto:contact@revring.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.revring.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/revring"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"revringinc","hasAudioNarration":false,"actualSubdomain":"revringinc","customDomains":["docs.revring.ai"],"gitSource":{"type":"github","owner":"revringai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6accccd3f03b0dc1b4aaf120","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":148},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Platform","count":22},{"language":"default","tag":"Campaigns","count":11},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Calls","count":10},{"language":"default","tag":"Voices","count":10},{"language":"default","tag":"Alerts","count":8},{"language":"default","tag":"SIP Trunks","count":8},{"language":"default","tag":"Test Runs","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/agents/test-chat","slug":"/api-reference/agents/test-chat","pageMetadata":{"title":"Chat With an Agent","openapi":"POST /agents/{id}/test-chat","description":"Type to the agent and get its reply, without a phone call. Each request returns the agent's next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in `toolCalls`; custom tools call your webhooks for real.\n\nThe conversation is kept by you: send the messages so far (send none to get the agent's opening line) and the `state` from the previous reply. When `ended` is true the agent ended the conversation.\n\nUp to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.","href":"/api-reference/agents/test-chat"},"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: [_jsxs(_components.p, {\n children: [\"Type to the agent and get its reply, without a phone call. Each request returns the agent’s next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in \", _jsx(_components.code, {\n children: \"toolCalls\"\n }), \"; custom tools call your webhooks for real.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The conversation is kept by you: send the messages so far (send none to get the agent’s opening line) and the \", _jsx(_components.code, {\n children: \"state\"\n }), \" from the previous reply. When \", _jsx(_components.code, {\n children: \"ended\"\n }), \" is true the agent ended the conversation.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Up to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Chat With an Agent","openapi":"POST /agents/{id}/test-chat","description":"Type to the agent and get its reply, without a phone call. Each request returns the agent's next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in `toolCalls`; custom tools call your webhooks for real.\n\nThe conversation is kept by you: send the messages so far (send none to get the agent's opening line) and the `state` from the previous reply. When `ended` is true the agent ended the conversation.\n\nUp to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.","href":"/api-reference/agents/test-chat"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Test Agent by Chat","description":"Type to the agent and get its reply, without a phone call. Each request returns the agent's next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in `toolCalls`; custom tools call your webhooks for real.\n\nThe conversation is kept by you: send the messages so far (send none to get the agent's opening line) and the `state` from the previous reply. When `ended` is true the agent ended the conversation.\n\nUp to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.","operationId":"testChatAgent","tags":["Agents"],"requestBody":"71797e71-90b3-4b61-9eaa-2a37297002a5","responses":{"200":"2dfb56c7-c6d6-4e07-9c04-d1d4721fcf4e","400":"0c950628-cc85-4132-8846-ee8cebb21853","401":"ac262604-4467-413a-86e9-5c7d422a7d74","402":"9a9d3dbb-713c-408c-b778-78f660c2da5c","404":"df51eb62-84aa-4851-874a-92190a860bf0","422":"334f0a5e-3f7d-45b2-a5d7-053fd7766092","429":"baca0348-f88d-4941-9142-aea79b9d5b43","502":"be16da9c-98df-412d-951b-87087e14979f","503":"a0ef46e2-1767-4469-be4b-16c127a81e54"},"method":"post","type":"path","servers":["9d0997fe-7397-47d9-a3af-b8c62abb4b63"],"security":["6fa6cbe6-9d37-480e-b7e5-09d33fd7b619"],"path":"/agents/{id}/test-chat","baseUrlOptions":["https://api.revring.ai/v1"],"title":"Test Agent by Chat","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"54a511ef-4319-46d2-8161-708af6504bad":{"name":"id","in":"path","required":true,"description":"Agent ID","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Agent ID","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["messages"],"properties":{"messages":{"type":"array","maxItems":60,"items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","enum":["user","assistant"],"description":"Who said it: `user` is you, `assistant` is the agent","isRequired":true,"uniqueKey":"messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","maxLength":4000,"isRequired":true,"uniqueKey":"messages.items.[INDEX].content","typeLabel":"string"}},"uniqueKey":"messages.items.[INDEX]","typeLabel":"object"},"description":"The conversation so far, oldest first. Empty for the agent's opening line; otherwise the last message is yours","isRequired":true,"uniqueKey":"messages","typeLabel":"object[]"},"variables":{"type":"object","additionalProperties":true,"description":"Variables for this test, as on a call (for example `{\"first_name\": \"Sam\"}`). Override the agent's default variables","uniqueKey":"variables","typeLabel":"object"},"environment":{"type":"string","description":"Version to test: `production` (the published version) or the name of one of the agent's environments. Omit to test the saved draft","uniqueKey":"environment","typeLabel":"string"},"state":{"type":"object","description":"Conversation state from the previous reply. Send it back unchanged with the next message so the conversation continues where it left off (the same test call, any handoff to another agent, and variables set by the pre-call webhook or by tools). Omit it, or send no messages, to start a new conversation.","properties":{"callId":{"type":"string","description":"The test call this conversation is recorded and billed on","uniqueKey":"state.callId","typeLabel":"string"},"agentId":{"type":"string","description":"The agent answering now. Differs from the agent in the path after a handoff","uniqueKey":"state.agentId","typeLabel":"string"},"environment":{"oneOf":[{"type":"string","uniqueKey":"state.environment.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"state.environment.oneOf.1","typeLabel":"null"}],"uniqueKey":"state.environment","typeLabel":"string | null"},"handoffs":{"type":"integer","minimum":0,"uniqueKey":"state.handoffs","typeLabel":"integer"},"variables":{"type":"object","additionalProperties":true,"description":"Variables set during the conversation","uniqueKey":"state.variables","typeLabel":"object"}},"uniqueKey":"state","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"opening":{"title":"opening","summary":"Start a conversation","value":{"messages":[]}},"next":{"title":"next","summary":"Continue it","value":{"messages":[{"role":"assistant","content":"Hi, thanks for calling. How can I help?"},{"role":"user","content":"Can I book a table for two tonight?"}],"variables":{"first_name":"Sam"},"state":{"agentId":"cm_agent_id","environment":null,"handoffs":0,"variables":{}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"2dfb56c7-c6d6-4e07-9c04-d1d4721fcf4e":{"description":"The agent's next turn","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"reply":{"type":"string","description":"What the agent said. Empty when the agent waits for you to speak first","uniqueKey":"data.reply","typeLabel":"string"},"toolCalls":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Tool name, for example a custom tool's name, `end_call`, `transfer_to_number`, `play_keypad_touch_tone` or `hand_off_to_agent`","uniqueKey":"data.toolCalls.items.[INDEX].name","typeLabel":"string"},"arguments":{"type":"object","additionalProperties":true,"uniqueKey":"data.toolCalls.items.[INDEX].arguments","typeLabel":"object"},"result":{"description":"What the tool returned to the agent","uniqueKey":"data.toolCalls.items.[INDEX].result","typeLabel":"any"},"ok":{"type":"boolean","description":"false when the tool failed","uniqueKey":"data.toolCalls.items.[INDEX].ok","typeLabel":"boolean"}},"uniqueKey":"data.toolCalls.items.[INDEX]","typeLabel":"object"},"description":"Tools the agent used during this turn, in order","uniqueKey":"data.toolCalls","typeLabel":"object[]"},"ended":{"type":"boolean","description":"true when the agent ended the conversation","uniqueKey":"data.ended","typeLabel":"boolean"},"endReason":{"type":"string","enum":["end_call","transfer","voicemail"],"description":"How it ended, when `ended` is true","uniqueKey":"data.endReason","typeLabel":"enum\u003cstring>"},"state":{"type":"object","description":"Conversation state from the previous reply. Send it back unchanged with the next message so the conversation continues where it left off (the same test call, any handoff to another agent, and variables set by the pre-call webhook or by tools). Omit it, or send no messages, to start a new conversation.","properties":{"callId":{"type":"string","description":"The test call this conversation is recorded and billed on","uniqueKey":"data.state.callId","typeLabel":"string"},"agentId":{"type":"string","description":"The agent answering now. Differs from the agent in the path after a handoff","uniqueKey":"data.state.agentId","typeLabel":"string"},"environment":{"oneOf":[{"type":"string","uniqueKey":"data.state.environment.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.state.environment.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.state.environment","typeLabel":"string | null"},"handoffs":{"type":"integer","minimum":0,"uniqueKey":"data.state.handoffs","typeLabel":"integer"},"variables":{"type":"object","additionalProperties":true,"description":"Variables set during the conversation","uniqueKey":"data.state.variables","typeLabel":"object"}},"uniqueKey":"data.state","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"reply":"\u003cstring>","toolCalls":[{"name":"\u003cstring>","arguments":{},"result":"\u003cunknown>","ok":true}],"ended":true,"endReason":"end_call","state":{"callId":"\u003cstring>","agentId":"\u003cstring>","environment":"\u003cstring>","handoffs":1,"variables":{}}}}}},"exampleType":"generated"}},"exampleType":"generated"},"0c950628-cc85-4132-8846-ee8cebb21853":{"description":"Invalid request, or the environment does not exist","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["invalid_body","environment_not_found"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_body","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ac262604-4467-413a-86e9-5c7d422a7d74":{"description":"Authentication required or API key invalid","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"unauthorized","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"unauthorized"}}},"exampleType":"generated"}},"exampleType":"generated"},"9a9d3dbb-713c-408c-b778-78f660c2da5c":{"description":"Subscription inactive or billing issue","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"billing_inactive","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"billing_inactive"}}},"exampleType":"generated"}},"exampleType":"generated"},"df51eb62-84aa-4851-874a-92190a860bf0":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"not_found","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"not_found"}}},"exampleType":"generated"}},"exampleType":"generated"},"334f0a5e-3f7d-45b2-a5d7-053fd7766092":{"description":"This agent can't be tested by chat; use a voice test","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["test_chat_unsupported"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"test_chat_unsupported","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"baca0348-f88d-4941-9142-aea79b9d5b43":{"description":"Too many test messages; retry after the `Retry-After` seconds","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["rate_limited"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"rate_limited","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"be16da9c-98df-412d-951b-87087e14979f":{"description":"The agent could not reply; try again","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["agent_reply_failed"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"agent_reply_failed","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a0ef46e2-1767-4469-be4b-16c127a81e54":{"description":"Chat testing is temporarily unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["test_chat_unavailable"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"test_chat_unavailable","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6fa6cbe6-9d37-480e-b7e5-09d33fd7b619":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Generate API keys from the RevRing dashboard. A key is either full access or read-only; a read-only key is refused with 403 read_only_key on any request that creates, changes or deletes.","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"9d0997fe-7397-47d9-a3af-b8c62abb4b63":{"url":"https://api.revring.ai/v1","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Generate API keys from the RevRing dashboard. A key is either full access or read-only; a read-only key is refused with 403 read_only_key on any request that creates, changes or deletes.","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key for authentication. Generate API keys from the RevRing dashboard. A key is either full access or read-only; a read-only key is refused with 403 read_only_key on any request that creates, changes or deletes.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"revringinc","siteName":"RevRing AI Documentation","title":"Chat With an Agent - RevRing AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-10T03:04:58.264Z","originalFileLocation":"api-reference/agents/test-chat.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=\"Type to the agent and get its reply, without a phone call. Each request returns the agent\u0026#x27;s next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in toolCalls; custom tools call your webhooks for real. The conversation is kept by you: send the messages so far (send none to get the agent\u0026#x27;s opening line) and the state from the previous reply. When ended is true the agent ended the conversation. Up to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RevRing AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/revringinc/yhLN44bkToDzQihq/_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/revringinc/yhLN44bkToDzQihq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/revringinc/yhLN44bkToDzQihq/_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/revringinc/yhLN44bkToDzQihq/_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/revringinc/yhLN44bkToDzQihq/_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/revringinc/yhLN44bkToDzQihq/_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/revringinc/yhLN44bkToDzQihq/_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/revringinc/yhLN44bkToDzQihq/_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/revringinc/yhLN44bkToDzQihq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chat With an Agent - RevRing AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Type to the agent and get its reply, without a phone call. Each request returns the agent\u0026#x27;s next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in toolCalls; custom tools call your webhooks for real. The conversation is kept by you: send the messages so far (send none to get the agent\u0026#x27;s opening line) and the state from the previous reply. When ended is true the agent ended the conversation. Up to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RevRing AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.revring.ai/api-reference/agents/test-chat\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://revringinc.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Chat+With+an+Agent\u0026amp;description=Type+to+the+agent+and+get+its+reply%2C+without+a+phone+call.+Each+request+returns+the+agent%27s+next+turn.+The+agent+answers+exactly+as+it+does+in+a+chat+test%3A+its+\u0026amp;theme=5a859751c31e3347cd57ea04\u0026amp;signature=a29960749976a68087375f52e1b5b4d58b74bae5f9145b66c34032df49400e37\">\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=\"Chat With an Agent - RevRing AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Type to the agent and get its reply, without a phone call. Each request returns the agent\u0026#x27;s next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in toolCalls; custom tools call your webhooks for real. The conversation is kept by you: send the messages so far (send none to get the agent\u0026#x27;s opening line) and the state from the previous reply. When ended is true the agent ended the conversation. Up to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://revringinc.mintlify.site/_mintlify/api/og/v2?division=Agents\u0026amp;title=Chat+With+an+Agent\u0026amp;description=Type+to+the+agent+and+get+its+reply%2C+without+a+phone+call.+Each+request+returns+the+agent%27s+next+turn.+The+agent+answers+exactly+as+it+does+in+a+chat+test%3A+its+\u0026amp;theme=5a859751c31e3347cd57ea04\u0026amp;signature=a29960749976a68087375f52e1b5b4d58b74bae5f9145b66c34032df49400e37\">\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/revringinc/yhLN44bkToDzQihq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RevRing AI Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#005cdd\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.revring.ai/api-reference/agents/test-chat\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agents/test-chat.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.revring.ai/#organization\",\"name\":\"RevRing AI Documentation\",\"url\":\"https://docs.revring.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/revringinc/4zfe2kVVWVYo-Rox/logo/light.svg?fit=max\u0026auto=format\u0026n=4zfe2kVVWVYo-Rox\u0026q=85\u0026s=e28235c04eceefff5b3adb1cb7c33353\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.revring.ai#website\",\"name\":\"RevRing AI Documentation\",\"url\":\"https://docs.revring.ai\",\"publisher\":{\"@id\":\"https://docs.revring.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.revring.ai/api-reference/agents/test-chat#webpage\",\"url\":\"https://docs.revring.ai/api-reference/agents/test-chat\",\"name\":\"Chat With an Agent\",\"description\":\"Type to the agent and get its reply, without a phone call. Each request returns the agent's next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in toolCalls; custom tools call your webhooks for real. The conversation is kept by you: send the messages so far (send none to get the agent's opening line) and the state from the previous reply. When ended is true the agent ended the conversation. Up to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.\",\"dateModified\":\"2026-10-10T03:04:58.264Z\",\"isPartOf\":{\"@id\":\"https://docs.revring.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.revring.ai/api-reference/agents/test-chat#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.revring.ai/api-reference/agents/test-chat#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.revring.ai/api-reference/agents/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat With an Agent\",\"item\":\"https://docs.revring.ai/api-reference/agents/test-chat\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.revring.ai/api-reference/agents/test-chat#apireference\",\"headline\":\"Chat With an Agent\",\"name\":\"Chat With an Agent\",\"description\":\"Type to the agent and get its reply, without a phone call. Each request returns the agent's next turn. The agent answers exactly as it does in a chat test: its own model tier, prompt, variables, knowledge base, custom tools and MCP tools. Phone actions (ending the call, transfers, keypad tones, handoffs) are simulated and listed in toolCalls; custom tools call your webhooks for real. The conversation is kept by you: send the messages so far (send none to get the agent's opening line) and the state from the previous reply. When ended is true the agent ended the conversation. Up to 60 messages of up to 4,000 characters each per request, and up to 60 requests per minute per organization. Test chats are billed like chat tests: at your listed per-minute rates, based on conversation length. Each test chat is recorded once in your call logs as a test call. Single-prompt agents only; use a voice test for conversation flow agents and agents on a custom model.\",\"url\":\"https://docs.revring.ai/api-reference/agents/test-chat\",\"mainEntityOfPage\":{\"@id\":\"https://docs.revring.ai/api-reference/agents/test-chat#webpage\"},\"dateModified\":\"2026-10-10T03:04:58.264Z\",\"publisher\":{\"@id\":\"https://docs.revring.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.revring.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RevRing AI Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"RevRing AI Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/agents/test-chat.md","siteName":"RevRing AI Documentation","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"API documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Agents","pages":[{"title":"List Agents","openapi":"GET /agents","href":"/api-reference/agents/list"},{"title":"Get Agent","openapi":"GET /agents/{id}","href":"/api-reference/agents/get"},{"title":"Batch Get Agents","openapi":"POST /agents/batch-get","href":"/api-reference/agents/batch-get"},{"title":"Create Agent","openapi":"POST /agents","href":"/api-reference/agents/create"},{"title":"Draft an Agent From a Description","openapi":"POST /agents/draft","href":"/api-reference/agents/draft"},{"title":"Update Agent","openapi":"PATCH /agents/{id}","description":"Update agent configuration","href":"/api-reference/agents/update"},{"title":"Chat With an Agent","openapi":"POST /agents/{id}/test-chat","href":"/api-reference/agents/test-chat"},{"title":"Talk to an Agent From a Browser","openapi":"POST /agents/{id}/test-call","description":"Start a test call that a browser joins directly over WebRTC, as the dashboard's test panel does. Returns the call's `callId`, the media `url` and a join `token` for a WebRTC client. The agent runs its draft (or the named `environment`) with your test `variables`, exactly as in a voice test; transfers and keypad tones are simulated, so a test never rings a real number. The call appears in call logs as a web call, with its transcript and recording, and is billed like any call.\n\nUp to 20 test calls per minute per organization.","href":"/api-reference/agents/test-call"},{"title":"Duplicate Agent","openapi":"POST /agents/{id}/duplicate","href":"/api-reference/agents/duplicate"},{"title":"Delete Agent","openapi":"DELETE /agents/{id}","href":"/api-reference/agents/delete"}]},{"group":"Agent Versions","pages":[{"title":"List Agent Versions","openapi":"GET /agents/{id}/revisions","href":"/api-reference/agents/list-revisions"},{"title":"Get Agent Version","openapi":"GET /agents/{id}/revisions/{revision}","href":"/api-reference/agents/get-revision"},{"title":"Restore Agent Version","openapi":"POST /agents/{id}/revisions/{revision}/restore","href":"/api-reference/agents/restore-revision"},{"title":"Publish Agent","openapi":"POST /agents/{id}/publish","href":"/api-reference/agents/publish"},{"title":"List Agent Environments","openapi":"GET /agents/{id}/environments","href":"/api-reference/agents/list-environments"},{"title":"Create or Update Environment","openapi":"PUT /agents/{id}/environments/{name}","href":"/api-reference/agents/upsert-environment"},{"title":"Delete Environment","openapi":"DELETE /agents/{id}/environments/{name}","href":"/api-reference/agents/delete-environment"}]},{"group":"Agent Phone Numbers","pages":[{"title":"List Agent Phone Numbers","openapi":"GET /agents/{id}/phone-numbers","href":"/api-reference/agents/list-phone-numbers"},{"title":"Add Phone Number","openapi":"POST /agents/{id}/phone-numbers","href":"/api-reference/agents/add-phone-number"},{"title":"Remove Phone Number","openapi":"DELETE /agents/{id}/phone-numbers/{phoneId}","href":"/api-reference/agents/remove-phone-number"},{"title":"Update Phone Number","openapi":"PATCH /agents/{id}/phone-numbers/{phoneId}","href":"/api-reference/agents/update-phone-number"}]},{"group":"Agent Custom Tools","pages":[{"title":"List Custom Tools","openapi":"GET /agents/{id}/custom-tools","href":"/api-reference/agents/list-custom-tools"},{"title":"Create Custom Tool","openapi":"POST /agents/{id}/custom-tools","href":"/api-reference/agents/create-custom-tool"},{"title":"Update Custom Tool","openapi":"PATCH /agents/{id}/custom-tools/{toolId}","href":"/api-reference/agents/update-custom-tool"},{"title":"Delete Custom Tool","openapi":"DELETE /agents/{id}/custom-tools/{toolId}","href":"/api-reference/agents/delete-custom-tool"},{"title":"Test MCP Server","openapi":"POST /agents/mcp-servers/test","href":"/api-reference/agents/test-mcp-server"}]},{"group":"Agent Knowledge Bases","pages":[{"title":"List Agent Knowledge Bases","openapi":"GET /agents/{id}/knowledge-bases","href":"/api-reference/agents/list-knowledge-bases"},{"title":"Link Knowledge Base","openapi":"POST /agents/{id}/knowledge-bases","href":"/api-reference/agents/link-knowledge-base"},{"title":"Unlink Knowledge Base","openapi":"DELETE /agents/{id}/knowledge-bases/{kbId}","href":"/api-reference/agents/unlink-knowledge-base"}]},{"group":"Agent Folders","pages":[{"title":"List Agent Folders","openapi":"GET /agent-folders","href":"/api-reference/agent-folders/list"},{"title":"Create Agent Folder","openapi":"POST /agent-folders","href":"/api-reference/agent-folders/create"},{"title":"Update Agent Folder","openapi":"PATCH /agent-folders/{id}","href":"/api-reference/agent-folders/update"},{"title":"Delete Agent Folder","openapi":"DELETE /agent-folders/{id}","href":"/api-reference/agent-folders/delete"}]},{"group":"Imports","pages":[{"title":"List Source Agents","openapi":"POST /imports/agents","href":"/api-reference/imports/list-agents"},{"title":"Import Agents","openapi":"POST /imports","href":"/api-reference/imports/import"}]},{"group":"SIP Trunks","pages":[{"title":"List SIP Trunks","openapi":"GET /sip-trunks","href":"/api-reference/sip-trunks/list"},{"title":"Get SIP Trunk","openapi":"GET /sip-trunks/{id}","href":"/api-reference/sip-trunks/get"},{"title":"List Available Phone Numbers","openapi":"GET /sip-trunks/{id}/available-numbers","href":"/api-reference/sip-trunks/list-available-numbers"},{"title":"Create SIP Trunk","openapi":"POST /sip-trunks","href":"/api-reference/sip-trunks/create"},{"title":"Update SIP Trunk","openapi":"PATCH /sip-trunks/{id}","href":"/api-reference/sip-trunks/update"},{"title":"Delete SIP Trunk","openapi":"DELETE /sip-trunks/{id}","href":"/api-reference/sip-trunks/delete"},{"title":"List Twilio Numbers","openapi":"POST /sip-trunks/connect/twilio/numbers","href":"/api-reference/sip-trunks/list-twilio-numbers"},{"title":"Connect Twilio","openapi":"POST /sip-trunks/connect/twilio","href":"/api-reference/sip-trunks/connect-twilio"}]},{"group":"Calls","pages":[{"title":"List Calls","openapi":"GET /calls","href":"/api-reference/calls/list"},{"title":"Get Call","openapi":"GET /calls/{id}","href":"/api-reference/calls/get"},{"title":"Batch Get Calls","openapi":"POST /calls/batch-get","href":"/api-reference/calls/batch-get"},{"title":"Send Call","openapi":"POST /calls","href":"/api-reference/calls/send"},{"title":"Cancel Call","openapi":"POST /calls/{id}/cancel","href":"/api-reference/calls/cancel"},{"title":"Send Instruction","openapi":"POST /calls/{id}/instructions","href":"/api-reference/calls/send-instruction"},{"title":"End Call","openapi":"POST /calls/{id}/end","href":"/api-reference/calls/end"},{"title":"Re-run Analysis","openapi":"POST /calls/{id}/reanalyze","href":"/api-reference/calls/reanalyze"},{"title":"Re-run Analysis (bulk)","openapi":"POST /calls/reanalyze","href":"/api-reference/calls/reanalyze-bulk"},{"title":"Export Calls","openapi":"GET /calls/export","href":"/api-reference/calls/export"}]},{"group":"Campaigns","pages":[{"title":"Create Campaign","openapi":"POST /campaigns","href":"/api-reference/campaigns/create"},{"title":"List Campaigns","openapi":"GET /campaigns","href":"/api-reference/campaigns/list"},{"title":"Get Campaign","openapi":"GET /campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Update Campaign","openapi":"PATCH /campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Delete Campaign","openapi":"DELETE /campaigns/{id}","href":"/api-reference/campaigns/delete"},{"title":"Add Campaign Contacts","openapi":"POST /campaigns/{id}/contacts","href":"/api-reference/campaigns/add-contacts"},{"title":"List Campaign Contacts","openapi":"GET /campaigns/{id}/contacts","href":"/api-reference/campaigns/list-contacts"},{"title":"Start Campaign","openapi":"POST /campaigns/{id}/start","href":"/api-reference/campaigns/start"},{"title":"Pause Campaign","openapi":"POST /campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Cancel Campaign","openapi":"POST /campaigns/{id}/cancel","href":"/api-reference/campaigns/cancel"},{"title":"Export Campaign Results","openapi":"GET /campaigns/{id}/export","href":"/api-reference/campaigns/export"}]},{"group":"Alerts","pages":[{"title":"List Alert Rules","openapi":"GET /alert-rules","href":"/api-reference/alerts/list"},{"title":"Create Alert Rule","openapi":"POST /alert-rules","href":"/api-reference/alerts/create"},{"title":"Get Alert Rule","openapi":"GET /alert-rules/{id}","href":"/api-reference/alerts/get"},{"title":"Update Alert Rule","openapi":"PATCH /alert-rules/{id}","href":"/api-reference/alerts/update"},{"title":"Delete Alert Rule","openapi":"DELETE /alert-rules/{id}","href":"/api-reference/alerts/delete"},{"title":"List Alert Events","openapi":"GET /alert-rules/{id}/events","href":"/api-reference/alerts/events"},{"title":"Get Alert Value","openapi":"GET /alert-rules/{id}/value","href":"/api-reference/alerts/value"},{"title":"Send Test Alert","openapi":"POST /alert-rules/{id}/test","href":"/api-reference/alerts/test"}]},{"group":"Do Not Call","pages":[{"title":"List Do-Not-Call Numbers","openapi":"GET /do-not-call","href":"/api-reference/do-not-call/list"},{"title":"Add Do-Not-Call Numbers","openapi":"POST /do-not-call","href":"/api-reference/do-not-call/add"},{"title":"Remove Do-Not-Call Number","openapi":"DELETE /do-not-call/{e164}","href":"/api-reference/do-not-call/remove"}]},{"group":"Contacts","pages":[{"title":"List Contact Memories","openapi":"GET /contacts/memories","href":"/api-reference/contacts/list-memories"},{"title":"Get Contact Memory","openapi":"GET /contacts/{phoneNumber}/memory","href":"/api-reference/contacts/get-memory"},{"title":"Set Contact Memory","openapi":"PUT /contacts/{phoneNumber}/memory","href":"/api-reference/contacts/set-memory"},{"title":"Delete Contact Memory","openapi":"DELETE /contacts/{phoneNumber}/memory","href":"/api-reference/contacts/delete-memory"}]},{"group":"Integrations","pages":[{"title":"List Integrations","openapi":"GET /integrations","href":"/api-reference/integrations/list"},{"title":"Connect Integration","openapi":"POST /integrations","href":"/api-reference/integrations/connect"},{"title":"List Calendars","openapi":"GET /integrations/{id}/calendars","href":"/api-reference/integrations/calendars"},{"title":"Test Integration","openapi":"POST /integrations/{id}/test","href":"/api-reference/integrations/test"},{"title":"Update Integration","openapi":"PATCH /integrations/{id}","href":"/api-reference/integrations/update"},{"title":"Disconnect Integration","openapi":"DELETE /integrations/{id}","href":"/api-reference/integrations/delete"}]},{"group":"Knowledge Bases","pages":[{"title":"List Knowledge Bases","openapi":"GET /knowledge-bases","href":"/api-reference/knowledge-bases/list"},{"title":"Get Knowledge Base","openapi":"GET /knowledge-bases/{id}","href":"/api-reference/knowledge-bases/get"},{"title":"Create Knowledge Base","openapi":"POST /knowledge-bases","href":"/api-reference/knowledge-bases/create"},{"title":"Update Knowledge Base","openapi":"PATCH /knowledge-bases/{id}","href":"/api-reference/knowledge-bases/update"},{"title":"Delete Knowledge Base","openapi":"DELETE /knowledge-bases/{id}","href":"/api-reference/knowledge-bases/delete"}]},{"group":"Knowledge Base Sources","pages":[{"title":"Add Source","openapi":"POST /knowledge-bases/{id}/sources","href":"/api-reference/knowledge-bases/add-source"},{"title":"Get Source","openapi":"GET /knowledge-bases/{id}/sources/{sourceId}","href":"/api-reference/knowledge-bases/get-source"},{"title":"Refresh Source","openapi":"POST /knowledge-bases/{id}/sources/{sourceId}/refresh","href":"/api-reference/knowledge-bases/refresh-source"},{"title":"Delete Source","openapi":"DELETE /knowledge-bases/{id}/sources/{sourceId}","href":"/api-reference/knowledge-bases/delete-source"}]},{"group":"Voices","pages":[{"title":"List Voices","openapi":"GET /voices","href":"/api-reference/voices/list"},{"title":"Get Voice","openapi":"GET /voices/{id}","href":"/api-reference/voices/get"},{"title":"Preview Voice","openapi":"GET /voices/{id}/preview","href":"/api-reference/voices/preview"},{"title":"Create Voice","openapi":"POST /voices","href":"/api-reference/voices/create"},{"title":"Design Voices","openapi":"POST /voices/design","href":"/api-reference/voices/design"},{"title":"Search Studio Library","openapi":"GET /voices/studio/library","href":"/api-reference/voices/studio-library"},{"title":"Preview Studio Voice","openapi":"GET /voices/studio/library/{voiceId}/preview","href":"/api-reference/voices/studio-preview"},{"title":"Add Studio Voice","openapi":"POST /voices/studio","href":"/api-reference/voices/studio-add"},{"title":"Rename Voice","openapi":"PATCH /voices/{id}","href":"/api-reference/voices/rename"},{"title":"Delete Voice","openapi":"DELETE /voices/{id}","href":"/api-reference/voices/delete"}]},{"group":"Activity","pages":[{"title":"List Activity","openapi":"GET /activity","href":"/api-reference/activity/list"}]},{"group":"Analytics","pages":[{"title":"Get Analytics Overview","openapi":"GET /analytics/overview","href":"/api-reference/analytics/overview"},{"title":"Get Active Calls Count","openapi":"GET /analytics/active","href":"/api-reference/analytics/active"},{"title":"Compare Versions","openapi":"GET /analytics/versions","href":"/api-reference/analytics/versions"},{"title":"Get Agent Reply Times","openapi":"GET /analytics/reply-times","href":"/api-reference/analytics/reply-times"},{"title":"Get Agent Activity","openapi":"GET /analytics/agents","href":"/api-reference/analytics/agent-activity"}]},{"group":"Test Suites","pages":[{"title":"List Test Suites","openapi":"GET /test-suites","href":"/api-reference/test-suites/list"},{"title":"Get Test Suite","openapi":"GET /test-suites/{id}","href":"/api-reference/test-suites/get"},{"title":"Create Test Suite","openapi":"POST /test-suites","href":"/api-reference/test-suites/create"},{"title":"Update Test Suite","openapi":"PATCH /test-suites/{id}","href":"/api-reference/test-suites/update"},{"title":"Delete Test Suite","openapi":"DELETE /test-suites/{id}","href":"/api-reference/test-suites/delete"},{"title":"Create Test From Call","openapi":"POST /test-suites/{id}/tests/from-call","href":"/api-reference/test-suites/create-test-from-call"},{"title":"Create Suite From Failing Calls","openapi":"POST /test-suites/from-failing-calls","href":"/api-reference/test-suites/from-failing-calls"}]},{"group":"Test Cases","pages":[{"title":"List Test Cases","openapi":"GET /test-suites/{id}/tests","href":"/api-reference/test-suites/list-tests"},{"title":"Get Test Case","openapi":"GET /test-suites/{id}/tests/{testId}","href":"/api-reference/test-suites/get-test"},{"title":"Create Test Case","openapi":"POST /test-suites/{id}/tests","href":"/api-reference/test-suites/create-test"},{"title":"Update Test Case","openapi":"PATCH /test-suites/{id}/tests/{testId}","href":"/api-reference/test-suites/update-test"},{"title":"Delete Test Case","openapi":"DELETE /test-suites/{id}/tests/{testId}","href":"/api-reference/test-suites/delete-test"},{"title":"Generate Test Cases","openapi":"POST /test-suites/{id}/generate-tests","href":"/api-reference/test-suites/generate-tests"}]},{"group":"Test Runs","pages":[{"title":"List Test Runs","openapi":"GET /test-suites/{id}/runs","href":"/api-reference/test-suites/list-runs"},{"title":"Get Test Run","openapi":"GET /test-suites/{id}/runs/{runId}","href":"/api-reference/test-suites/get-run"},{"title":"Start Test Run","openapi":"POST /test-suites/{id}/runs","href":"/api-reference/test-suites/start-run"},{"title":"Cancel Test Run","openapi":"POST /test-suites/{id}/runs/{runId}/cancel","href":"/api-reference/test-suites/cancel-run"},{"title":"Suggest a Fix","openapi":"POST /test-suites/{id}/attempts/{attemptId}/suggest-fix","href":"/api-reference/test-suites/suggest-fix"},{"title":"Get Suggested Fix","openapi":"GET /test-suites/{id}/attempts/{attemptId}/suggest-fix","href":"/api-reference/test-suites/get-suggested-fix"},{"title":"Suggest a Fix for a Run","openapi":"POST /test-suites/{id}/runs/{runId}/suggest-fix","href":"/api-reference/test-suites/suggest-run-fix"},{"title":"Get Suggested Fix for a Run","openapi":"GET /test-suites/{id}/runs/{runId}/suggest-fix","href":"/api-reference/test-suites/get-run-suggested-fix"}]},{"group":"Messaging Connections","pages":[{"title":"List Messaging Connections","openapi":"GET /messaging-connections","href":"/api-reference/messaging-connections/list"},{"title":"Get Messaging Connection","openapi":"GET /messaging-connections/{id}","href":"/api-reference/messaging-connections/get"},{"title":"Create Messaging Connection","openapi":"POST /messaging-connections","href":"/api-reference/messaging-connections/create"},{"title":"Update Messaging Connection","openapi":"PATCH /messaging-connections/{id}","href":"/api-reference/messaging-connections/update"},{"title":"Delete Messaging Connection","openapi":"DELETE /messaging-connections/{id}","href":"/api-reference/messaging-connections/delete"}]},{"group":"Messages","pages":[{"title":"Send Message","openapi":"POST /messages","href":"/api-reference/messages/send"},{"title":"List Messages","openapi":"GET /messages","href":"/api-reference/messages/list"},{"title":"Get Message","openapi":"GET /messages/{id}","href":"/api-reference/messages/get"}]},{"group":"Conversations","pages":[{"title":"List Conversations","openapi":"GET /conversations","href":"/api-reference/conversations/list"},{"title":"Delete Conversation","openapi":"DELETE /conversations/{id}","href":"/api-reference/conversations/delete"}]},{"group":"Webhooks","pages":[{"title":"Pre-Call Webhook","openapi":"webhook pre-call","href":"/api-reference/webhooks/pre-call"},{"title":"Post-Call Webhook","openapi":"webhook post-call","href":"/api-reference/webhooks/post-call"},{"title":"Webhook Signing Secret","openapi":"POST /webhooks/signing-secret","href":"/api-reference/webhooks/signing-secret"},{"title":"Get Webhook Signing State","openapi":"GET /webhooks/signing-secret","href":"/api-reference/webhooks/signing-state"},{"title":"Disable Webhook Signing","openapi":"DELETE /webhooks/signing-secret","href":"/api-reference/webhooks/signing-disable"},{"title":"Inbound Message Webhook","openapi":"webhook message-received","href":"/api-reference/webhooks/message-received"}]}]}]},"basePath":"","title":"Chat With an Agent - RevRing AI Documentation","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}