Messages the assistant took
GET
/v1/agent/messages
const url = 'https://your-machine.your-tailnet.ts.net/v1/agent/messages?limit=100';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://your-machine.your-tailnet.ts.net/v1/agent/messages?limit=100' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
Responses
Section titled “Responses”Newest first.
Media typeapplication/json
object
messages
Array<object>
object
callId
string
remoteNumber
string
callerName
string
reason
string
callbackNumber
string
urgency
string
takenAt
string format: date-time
Example
{ "messages": [ { "urgency": "low" } ]}