# Resend API (Send Email only) Proxies Resend's Email API for sending email — no Resend API key needed. Only `POST /emails` is supported; all other endpoints are blocked. ## Prerequisites Provision this resource before use. Edge requests without provisioning will error. ### Provision curl -s -X POST https://cohesivity.ai/api/resources/resend-api \ -H "Authorization: Bearer " ### Delete curl -s -X DELETE https://cohesivity.ai/api/resources/resend-api \ -H "Authorization: Bearer " **Important:** Provision this resource now, before building or running the application. Provisioning is the agent's job, not the application's. ## Common Mistakes - **Calling endpoints other than POST /emails.** Only `POST /emails` is supported. All other Resend paths return 403. - **Setting a custom from address.** The `from` field is overridden — all emails are sent from `resend@cohesivity.ai`. ## Official Docs https://resend.com/docs/api-reference/emails/send-email — read before coding. ## Edge Usage - **Base URL:** https://cohesivity.ai/edge/resend-api - **Auth:** `coh_application_key` as the **key** query parameter - **Restriction:** Only `POST /emails` is allowed. Other paths return 403. - **Auto footer:** Every email gets "Sent by user- using Cohesivity." appended. - **Sender:** All emails are sent from `resend@cohesivity.ai`. The `from` field in your request is ignored and overridden. ## Examples - Send: `POST https://cohesivity.ai/edge/resend-api/emails?key=` with body `{ "to": ["user@example.com"], "subject": "hello", "html": "

hi

" }`