Send Notification
Send a notification email to the authenticated account’s email address via the Resend API. Emails are sent from Agent by Recoup <agent@recoupable.com>. The recipient is automatically resolved from the API key or Bearer token. Supports plain text (rendered as Markdown) or raw HTML bodies, optional CC recipients, custom headers, and an optional room_id to include a chat link in the email footer.
Body
Notification email payload
Email subject line
"Weekly Pulse Report"
Optional CC email addresses
["cc@example.com"]Plain text or Markdown body. Rendered as HTML via Markdown if no html is provided.
"# Pulse Report\n\nHere's your weekly summary."
Raw HTML body. Takes precedence over text when both are provided.
"<h1>Pulse Report</h1><p>Here's your weekly summary.</p>"
Optional custom email headers
Room ID to include a chat link in the email footer
UUID of the account to send the notification for. Only applicable when the authenticated account has access to multiple accounts via organization membership. If not provided, sends the notification for the API key's own account.
Response
Notification sent successfully
