Skip to main content
POST
Create or Continue Conversation

Body

If you're sending in the first message of a conversation, you should send in a null conversationId and a null parentMessageId. This first call will generate a new conversation, and you will receive an id for the conversation in the response body.

applicationId
string
parentMessageId
string | null
conversationId
string | null
isStreaming
boolean
messageContent
string
contact
object

At least one of externalId or email must be provided.

organization
object
metadata
object

Any key-value pair is allowed.

Some keys are recognized by Pal and displayed separately in the UI. For now, the only recognized key is sourceUrl, which Pal expects to be a URL string.

Response

200 - application/json

OK

conversationId
string
messages
ConversationMessage · object[]
contact
object