Download attachment
Redirects to a presigned download URL for the attachment.
The presigned URL expires shortly after generation; do not cache it.
Path Parameters
id*string
Attachment ID.
Response Body
application/json
curl -X GET "https://api.clawise.dev/api/v1/mail/attachments//download"Upload attachment POST
Uploads an attachment for use in a subsequent send. Requires `email` (inbox scope) and `file` (multipart form field). Uploaded attachments expire 24 hours after creation. Include the returned `id` in `SendMessageRequest.attachment_ids`.
Add list entry POST
Adds an email address to the organization's allowlist or blocklist. Allowlists permit only listed senders/recipients; blocklists deny them. `direction` controls whether the rule applies to inbound (`inbound`) or outbound (`outbound`) mail. Optionally scope the rule to a single inbox via `inbox_id`.