Find Sessions
GET/api/v2/instance/:instanceId/typebot-integration/session
Find sessions by keyRemoteJid and status
Request
Path Parameters
instanceId stringrequired
ID of the instance.
Query Parameters
status string
Possible values: [open
, close
, pause
, resume
]
Status
keyRemoteJid string
Key Remote Jid
Responses
- 200
- 400
- 401
- 403
- 404
Success - status: 200
- application/json
- Schema
- Example (from schema)
Schema
sessionId stringrequired
keyRemoteJid stringrequired
status stringrequired
typebotIntegrationId stringrequired
{
"sessionId": "string",
"keyRemoteJid": "string",
"status": "string",
"typebotIntegrationId": "string"
}
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
ForbiddenException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
NotFoundException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...