Results
Get a result
Results
Get a result
GET
/
v1
/
typebots
/
{typebotId}
/
results
/
{resultId}
curl --request GET \
--url https://app.zazubot.com/api/v1/typebots/{typebotId}/results/{resultId} \
--header 'Authorization: Bearer <token>'
{
"result": {
"id": "<string>",
"createdAt": "<string>",
"typebotId": "<string>",
"variables": [
{
"id": "<string>",
"name": "<string>",
"isSessionVariable": true,
"value": "<string>"
}
],
"isCompleted": true,
"hasStarted": true,
"isArchived": true,
"lastChatSessionId": "<string>",
"answers": [
{
"blockId": "<string>",
"content": "<string>",
"attachedFileUrls": [
"<string>"
]
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The resultId
is returned by the /startChat endpoint or you can find it by listing results with /results
endpoint
Response
200
application/json
Successful response
curl --request GET \
--url https://app.zazubot.com/api/v1/typebots/{typebotId}/results/{resultId} \
--header 'Authorization: Bearer <token>'
{
"result": {
"id": "<string>",
"createdAt": "<string>",
"typebotId": "<string>",
"variables": [
{
"id": "<string>",
"name": "<string>",
"isSessionVariable": true,
"value": "<string>"
}
],
"isCompleted": true,
"hasStarted": true,
"isArchived": true,
"lastChatSessionId": "<string>",
"answers": [
{
"blockId": "<string>",
"content": "<string>",
"attachedFileUrls": [
"<string>"
]
}
]
}
}