Skip to main content

Description

Your app sends an interaction to the agent. Jelou validates the HMAC signature, responds immediately with 202 and an executionId, and processes the flow asynchronously. Agent replies arrive later on your webhookUrl.

Endpoint

Path parameters

string
required
Agent identifier with custom channel enabled.

Body parameters

string
required
Stable user identifier in your system. Used as userId in outbound deliveries and to check session status.
object
required
Message payload forwarded to the agent flow. A typical text example is { "type": "TEXT", "text": "Hello" }.

Authentication / signature

Include the required header:
The signature is computed over the exact raw body of the request (HMAC-SHA256). Details in HMAC signature. Channel credentials.auth is not required on this endpoint; it only applies to Jelou’s outbound calls to your webhook.

Request example

cURL

Responses

Response example

A 202 does not mean the flow finished successfully. Use check status and/or wait for delivery on your webhook.