Skip to main content
An API allows external systems to communicate directly with your agent through secure, programmatic endpoints. This channel enables integration of your VIVI agent into custom applications, backend systems, or third-party workflows using standard HTTP-based requests. When you create a new API channel, VIVI generates a unique set of credentials and documentation including a channel ID and API key. You’ll also receive auto-generated OpenAPI/Swagger documentation that details the available endpoints, request structures, and required parameters.

Endpoints

In order to test the endpoints, you will need to assign your API channel to an agent. Once assigned, head back to the API channel page and click Test to view the testing window. VIVI provides five endpoints:
https://api-prod-d1d739d4-c24f-59dc-865b-e630d70bf11b.vivi.bot/channelsApi/{channelId}/stream
This endpoint allows you to stream a single message in a conversation channel.
string
required
The API key given to you when creating your API channel.
string
required
The Channel ID given to you when creating your API channel.
string
required
The test message that you’d like to send to the agent.
UUID
required
The custom thread ID to use for the conversation.
UUID
The custom user ID that will be associated with this user.
string
The URL you received from the Upload Conversation Files endpoint.
Request
Don’t forget to swap the apiKey and channelId with your credentials.
Response

Best Practices

  • Keep your API key secret and rotate it if you suspect exposure.
  • Always test endpoints using the provided tools before connecting production systems.