← Back to catalog
telnyx.list_messages
mock data$0.002 / callList Messages (Telnyx)
List recent Telnyx messages with optional filters: direction (inbound/outbound), date_from (ISO 8601), and pagination limit (max 100). Returns array of {message_id, from, to, text, status, created_at, cost} (Telnyx)
Input schema
limit
integerMax number of messages to return per page (default 25, max 100).
date_from
stringISO 8601 date — return messages created on or after this date (e.g. "2026-04-26").
direction
stringFilter by message direction: "outbound" (sent by us) or "inbound" (received).
Call via REST
curl -X POST https://unifyapi.pro/api/call/telnyx.list_messages \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"limit":0,"date_from":"<date_from>","direction":"<direction>"}'