Skip to main content
POST
Start Conversation

Description

Starts a new conversation with an end user in the external support panel. Allows specifying the bot that will handle the conversation, the target user, an initial message, and assignment data for queues or agents. Upon execution, Jelou emits the conversation.start event to the webhook configured in the integration.

Endpoint

Path parameters

string
required
Unique identifier of the Jelou project from which the conversation is started.

Body parameters

string
required
Identifier of the Jelou bot that will manage the conversation.
string
required
Identifier of the end user with whom the conversation will be started.
string
Initial message to be sent when the conversation starts. If omitted, the conversation starts without a prior message.
object
Additional data associated with the conversation. Can include external identifiers, ticket numbers, or other context relevant to your system.Example: { "ticketId": "T-12345" }
object
Assignment configuration for routing the conversation to a specific queue or agent.
  • type — Assignment type: queue, operator, or team.
  • target — Queue name or target agent identifier.

Authentication

All requests must include the x-api-key header with your Jelou project API key.

Request example

The following example starts a conversation with assignment to the SUPPORT queue and includes ticket metadata:
cURL

Responses

Response example


Webhook event conversation.start

When this resource is executed, Jelou will emit the conversation.start event to the webhook configured in the integration. The payload varies depending on the fields sent in the request.

Payload fields

Authorizations

x-api-key
string
header
required

API key del proyecto de Jelou

Path Parameters

projectId
string
required

Unique identifier of the Jelou project

Body

application/json
botId
string
required
userId
string
required
initialMessage
string
metadata
object
assignment
object

Response

Conversation started successfully