Copilots

Send Message

POST

Request

This endpoint expects an object.
agentIdUUIDRequired
Credal-generated agent ID to specify which agent to route the request to. This is required for all new API keys going forward.
messagestringRequired
The message you want to send to your copilot.
userEmailstringRequired
The user profile you want to use when sending the message.
conversationIdUUIDOptional
Credal-generated conversation ID for sending follow up messages. Conversation ID is returned after initial message. Optional, to be left off for first messages on new conversations.

Response

This endpoint returns an object
sendChatResultunion