Emails resource – wraps the /emails Resend REST endpoints.
Mirrors the interface of the official SDKs (Node, Python, Java, Go, etc.):
emails/send! POST /emails emails/send-batch! POST /emails/batch emails/get! GET /emails/:id emails/update! PATCH /emails/:id emails/cancel! POST /emails/:id/cancel
All functions return {:data <parsed-map> :error nil} on success or {:data nil :error <error-map>} on failure, so callers never need a try/catch for normal API errors. Bang (!) variants throw instead.
References:
Emails resource – wraps the /emails Resend REST endpoints.
Mirrors the interface of the official SDKs (Node, Python, Java, Go, etc.):
emails/send! POST /emails
emails/send-batch! POST /emails/batch
emails/get! GET /emails/:id
emails/update! PATCH /emails/:id
emails/cancel! POST /emails/:id/cancel
All functions return {:data <parsed-map> :error nil} on success or
{:data nil :error <error-map>} on failure, so callers never need a
try/catch for normal API errors. Bang (!) variants throw instead.
References:
- Resend send email API: https://resend.com/docs/api-reference/emails/send-emailcljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |