For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search
/
Ask AI
contact@agentmail.cc
Discord
Documentation
API Reference
Knowledge Base
Changelog
contact@agentmail.cc
Discord
API Reference
Websockets
Connect
Copy page
WSS
wss://
ws.agentmail.to
/
v0
Handshake
Try it
WSS
wss://
ws.agentmail.to
/
v0
Authentication
Authorization
Bearer
Bearer authentication of the form
Bearer <token>
, where token is your auth token.
Query parameters
api_key
string
Optional
Your API key. Required if Authorization header is not set.
Send
subscribe
object
Required
Show 4 properties
Receive
subscribed
object
Required
Show 4 properties
OR
message_received
object
Required
Show 5 properties
OR
message_sent
object
Required
Show 4 properties
OR
message_delivered
object
Required
Show 4 properties
OR
message_bounced
object
Required
Show 4 properties
OR
message_complained
object
Required
Show 4 properties
OR
message_rejected
object
Required
Show 4 properties
OR
domain_verified
object
Required
Show 4 properties
OR
error
object
Required
Show 3 properties