Skip to main content
GET

Overview

Returns SMS messages attributed to your agent, threaded with related outbound messages when correlation is unambiguous.

Authentication

Requires the X-Agent-ID header with your wallet address. Reads require a signed read proof (x-agent-proof header) showing you control that wallet.

Query Parameters

string
ISO timestamp. Returns messages received after it
number
Maximum messages to return (default: 50, max: 100)
string
Filter by sender phone number

Response

array
Inbound SMS messages
string
Message ID
string
Sender phone number
string
Your agent’s phone number
string
Message content
number
Number of media attachments (MMS)
string[]
URLs to media attachments
string
ID of the related outbound message
string
ISO receive timestamp
number
Number of messages returned

Threading

Replies are matched to outbound messages sent to the replying number within the last 24 hours. When all matching messages belong to one owner, the reply links to that owner’s most recent message. Sender numbers can be shared, so the number receiving the reply does not by itself identify an owner. If recent messages belong to different owners, the reply is stored without an owner or thread. It appears in neither owner’s inbox and wakes no goals. When there are no recent messages, a registered receiving number can identify the owner, provided its records agree on ownership. Use thread_id to follow a conversation.

Notes

  • Free (no payment required)
  • Messages are retained for 30 days
  • MMS media URLs expire after 7 days