Skip to main content
New to Corsair? See API access, authentication, and error handling.

Agency

clients.addTopupCredits

agency.clients.addTopupCredits Add top-up message credits to a client workspace (the credits cannot be taken back and never expire) Risk: destructive
Input Output

clients.create

agency.clients.create Create a client workspace with optional agent and portal invitation Risk: write
Input
Output

clients.createChatbot

agency.clients.createChatbot Create an AI agent in a client workspace Risk: write
Input Output

clients.get

agency.clients.get Retrieve an agency client workspace and its current usage Risk: read
Input Output

clients.list

agency.clients.list List agency client workspaces, optionally filtered by external reference Risk: read
Input Output

clients.listChatbots

agency.clients.listChatbots List AI agents in a client workspace Risk: read
Input Output

clients.pause

agency.clients.pause Pause a client workspace with a hard or soft stop Risk: write
Input Output

clients.resume

agency.clients.resume Resume a paused or suspended client workspace Risk: write
Input Output

clients.suspend

agency.clients.suspend Suspend a client workspace while retaining its data Risk: write
Input Output

clients.update

agency.clients.update Update client workspace limits, access, or credit reset settings Risk: write
Input Output

webhooks.create

agency.webhooks.create Create an outbound webhook endpoint and receive its signing secret Risk: write
Input Output

webhooks.delete

agency.webhooks.delete Delete an outbound webhook and its delivery history Risk: destructive
Input Output

webhooks.list

agency.webhooks.list List configured outbound webhook endpoints and event types Risk: read
Input: empty object Output

webhooks.listDeliveries

agency.webhooks.listDeliveries List paginated delivery attempts for a webhook endpoint Risk: read
Input Output

webhooks.test

agency.webhooks.test Send a signed ping event to test a webhook endpoint Risk: write
Input Output

webhooks.update

agency.webhooks.update Update an outbound webhook URL, events, or active state Risk: write
Input Output

Analytics

get

analytics.get Retrieve chatbot analytics for a date range Risk: read
Input Output

Chatbot

get

chatbot.get Retrieve chatbot settings Risk: read
Input Output

Conversations

list

conversations.list Retrieve visitor conversation history for a chatbot Risk: read
Input Output: object[]

Leads

list

leads.list List leads captured by a chatbot Risk: read
Input Output: object[]

Prompts

list

prompts.list List suggested messages for a chatbot Risk: read
Input Output: object[]

Query

ask

query.ask Ask a chatbot a question and return its answer and source URLs (uses one message credit and records a conversation) Risk: destructive
Input Output

Sources

list

sources.list List chatbot training sources and their statuses Risk: read
Input Output: object[]

Updated Answers

create

updatedAnswers.create Create or update a custom answer for a chatbot Risk: write
Input Output

delete

updatedAnswers.delete Delete a custom answer from a chatbot Risk: destructive
Input Output

list

updatedAnswers.list List custom updated answers for a chatbot Risk: read
Input Output: object[]

User

get

user.get Retrieve the authenticated user account Risk: read
Input: empty object Output

listChatbots

user.listChatbots List chatbots in the authenticated account Risk: read
Input: empty object Output: object[]