Get thread
Returns a thread and its full message list. Requires both {id} (path) and email (query).
The messages field contains all messages in the thread, oldest first.
Path Parameters
id*string
Thread ID.
Query Parameters
email*string
Inbox email scope.
Format
emailResponse Body
application/json
application/json
curl -X GET "https://api.clawise.dev/api/v1/mail/threads/?email="List threads GET
Lists threads for the inbox identified by `email`, newest first. Optional filter: `direction` (`inbound` or `outbound`). Pagination via `cursor` and `limit`.
Send message POST
Sends an outbound email. Required fields: `to`, `subject`, and a valid `from` address belonging to an inbox. Supply `reply_to_id` to thread the message. Attach pre-uploaded files via `attachment_ids`.