Skip to content

Open (or resume) a conversation for a card

POST
/conversation/start
curl --request POST \
--url https://api.harperharbor.com/open/v1/conversation/start \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "roleId": "example", "greetingIndex": 1 }'
Media typeapplication/json
object
roleId
required
string
greetingIndex

0 = roleWelcome

integer
Examplegenerated
{
"roleId": "example",
"greetingIndex": 1
}

Conversation opened.

Media typeapplication/json
object
conversationId
string
title
string
messageCount
integer
Examplegenerated
{
"conversationId": "example",
"title": "example",
"messageCount": 1
}