Skip to content

Chat Events

GET
/public/v1/text/sessions/{session_id}/events
curl --request GET \
--url 'https://api.nuacem.dev/voice-gw/public/v1/text/sessions/example/events?after=0'

Status changes and a person’s messages after after (a cursor from the last answer; 0 for all).

session_id
required
Session Id
string
/^[0-9a-f-]{36}$/
after
After
string
default: 0 <= 40 characters /^(0|\d{1,20}-\d{1,10})$/
wait
Any of:
number
<= 25

Successful Response

Media typeapplication/json
Response Chat Events Public V1 Text Sessions Session Id Events Get
object
key
additional properties
any

Example generated

{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}