Create Conversation
OPTIONAL. Create a new conversation with the Copilot. The conversation ID can be used in the sendMessage
endpoint. The sendMessage
endpoint automatically creates new conversations upon first request, but calling this endpoint can simplify certain use cases where it is helpful for the application to have the conversation ID before the first message is sent.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
agentId
Credal-generated Copilot ID to specify which agent to route the request to.
userEmail
End-user for the conversation.
Response
This endpoint returns an object.
conversationId