Broker
Further described at the Conversation API section, those are the methods used on conversation.
The broker API is responsible for managing the conversations performed by your users. While it is listed here, we encourage you to visit it's specific page for a complete orientation of how to use it.
Conversation Methods
It is the flag if the conversation is one test
false
The origin of the request
""
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Too many requests
Error while communicating with external webhooks
Misconfigured flows or bots
Error while communicating with nlp
Authentication/authorization error in nlp
Internal Server Error
POST /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/channel/{channelUUID}/v1/conversations HTTP/1.1
Host:
API-KEY: text
OS: text
USER-REF: text
LOCALE: text
Content-Type: application/json
Accept: */*
Content-Length: 267
{
"text": "text",
"code": "text",
"intent": "text",
"confidence": 1,
"context": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"entities": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"advancedOptions": {
"multilanguage": {
"translateInput": true
}
},
"inputText": true,
"toApplyMultilanguage": true,
"userInput": "text"
}
{
"text": "text",
"sessionCode": "text",
"userInteractionUUID": "text",
"userInput": {
"type": "text",
"callToAction": "text",
"pattern": "text"
},
"nlpResponse": {
"type": "QUESTION",
"name": "text",
"score": 1,
"entities": [
{
"name": "text",
"value": "text",
"originalValue": "text",
"position": {
"start": 1,
"end": 1
}
}
]
},
"answers": [
{
"content": {},
"technicalText": {},
"buttons": [
{
"name": "text",
"value": "text",
"type": "text",
"action": "text"
}
],
"quickReply": [
{
"name": "text",
"value": "text"
}
],
"description": "text",
"type": "text",
"interactionId": "text",
"evaluable": true,
"masked": true
}
],
"context": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"contextReadOnly": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}
It is the flag if the conversation is one test
false
The origin of the request
""
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Too many requests
Error while communicating with external webhooks
Misconfigured flows or bots
Error while communicating with nlp
Authentication/authorization error in nlp
Internal Server Error
POST /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/channel/{channelUUID}/v1/conversations/{sessionCode} HTTP/1.1
Host:
API-KEY: text
OS: text
USER-REF: text
LOCALE: text
Content-Type: application/json
Accept: */*
Content-Length: 267
{
"text": "text",
"code": "text",
"intent": "text",
"confidence": 1,
"context": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"entities": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"advancedOptions": {
"multilanguage": {
"translateInput": true
}
},
"inputText": true,
"toApplyMultilanguage": true,
"userInput": "text"
}
{
"text": "text",
"sessionCode": "text",
"userInteractionUUID": "text",
"userInput": {
"type": "text",
"callToAction": "text",
"pattern": "text"
},
"nlpResponse": {
"type": "QUESTION",
"name": "text",
"score": 1,
"entities": [
{
"name": "text",
"value": "text",
"originalValue": "text",
"position": {
"start": 1,
"end": 1
}
}
]
},
"answers": [
{
"content": {},
"technicalText": {},
"buttons": [
{
"name": "text",
"value": "text",
"type": "text",
"action": "text"
}
],
"quickReply": [
{
"name": "text",
"value": "text"
}
],
"description": "text",
"type": "text",
"interactionId": "text",
"evaluable": true,
"masked": true
}
],
"context": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"contextReadOnly": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
POST /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/conversations/{sessionCode}/satisfactions HTTP/1.1
Host:
API-KEY: text
LOCALE: text
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"evaluation": 1,
"answered": true,
"userComments": "text",
"expireSession": true
}
{
"text": "text",
"sessionCode": "text",
"userInteractionUUID": "text",
"userInput": {
"type": "text",
"callToAction": "text",
"pattern": "text"
},
"nlpResponse": {
"type": "QUESTION",
"name": "text",
"score": 1,
"entities": [
{
"name": "text",
"value": "text",
"originalValue": "text",
"position": {
"start": 1,
"end": 1
}
}
]
},
"answers": [
{
"content": {},
"technicalText": {},
"buttons": [
{
"name": "text",
"value": "text",
"type": "text",
"action": "text"
}
],
"quickReply": [
{
"name": "text",
"value": "text"
}
],
"description": "text",
"type": "text",
"interactionId": "text",
"evaluable": true,
"masked": true
}
],
"context": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"contextReadOnly": {
"ANY_ADDITIONAL_PROPERTY": {}
}
}
API Key
OK
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
GET /org/{orgUUID}/env/{envUUID}/api-key HTTP/1.1
Host:
Accept: */*
{
"apiKey": "text"
}
Likable
Contain customer satisfaction data
OK
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
POST /org/{orgUUID}/env/{envUUID}/likable?requesterId=text HTTP/1.1
Host:
API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"evaluation": true,
"interactionId": "text"
}
text
History
OK
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Unprocessable Entity
Internal Server Error
GET /org/{orgUUID}/env/{envUUID}/history/{businessKey} HTTP/1.1
Host:
Accept: */*
[
{
"session": {
"sessionCode": "text",
"createDate": "2025-08-13T02:42:43.905Z",
"expireDate": "2025-08-13T02:42:43.905Z",
"businessKey": "text",
"sessionType": "CREATED",
"botId": "text",
"channelId": "text",
"operatingSystem": "text",
"operatingSystemVersion": "text",
"browser": "text",
"browserVersion": "text",
"userRef": "text",
"locale": "text",
"test": true
},
"userInteractions": [
{
"id": 1,
"createDate": "2025-08-13T02:42:43.905Z",
"sessionCode": "text",
"userSent": true,
"answerUuid": "text",
"text": "text",
"intent": "text",
"confidence": 1,
"entities": "text",
"userSentId": "text",
"evaluation": true,
"uuid": "text"
}
]
}
]
Last updated
Was this helpful?