Messages
List messages
List the agent's messages, newest first. To page back, pass the last message's id as before.
get/agents/{id}/messages
Request
- Base URLhttps://app.artil.ai/api
- URLhttps://app.artil.ai/api/agents/{id}/messages
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://mcp.artil.ai/oauth/authorizeToken URL: https://mcp.artil.ai/oauth/token scopes: agent
Path parameters
idstring uuid required
The agent's id
Query parameters
channel'email' | 'sms' | 'telegram'
direction'inbound' | 'outbound'
limitinteger
counterpartstring
Keep the messages from or to this address or number
beforestring uuid
List the messages older than this one, to page back
Response
The messages
Changes
No recorded changes to this operation across all 1 revision of this API.