# Email API

**Summary:** Send emails to your members from your own system with the Subrite email API. Set up an M2M token, look up senders, lists and templates, then send, schedule, test or edit emails.

- Space: [Developers](https://www.subrite.no/developers)
- Source: https://www.subrite.no/developers/email-api
- Updated: 2026-09-23
- Markdown index: https://www.subrite.no/developers/llms.txt

Send Email is a powerful feature that lets you reach all your members directly. Combined with the list functionality, you can target any segment of your user base and tailor your message to them. You can easily add images, links, and call-to-action buttons to make your emails more engaging and drive action. Choose to send your emails directly from Subrite or through our API, whichever fits your workflow best.

## Pages in this section

- [Set up the email API](https://www.subrite.no/developers/email-setup?md=true): Create an M2M token with Communication permissions, then use it to get the sender list, the published lists and the personalized tokens that the email endpoints use.
- [Get senders](https://www.subrite.no/developers/email-senders?md=true): Get the list of email senders in Subrite, with sender name, sender email and reply-to address. The sender id is the senderId you use when sending an email.
- [Get email templates](https://www.subrite.no/developers/email-templates?md=true): Get the list of email templates in Subrite, with template type, locale and the MJML template source.
- [Get consents](https://www.subrite.no/developers/email-consent-lists?md=true): Get the list of consents in Subrite, with title, purpose, frequency, integration ID and where each consent is shown.
- [Get email list](https://www.subrite.no/developers/email-lists?md=true): Get a paginated list of emails in Subrite, using the optional page and take query parameters.
- [Send email to list](https://www.subrite.no/developers/email-send?md=true): Send an email to a list (segment) of members right away. The request sets the sender, list, subject and content, with an optional template and host name for unsubscribe links.
- [Schedule email to list](https://www.subrite.no/developers/email-schedule?md=true): Schedule an email to a list for a later time. Set scheduledAt as an ISO 8601 datetime and optionally a timeZone; without a timeZone the time is treated as UTC.
- [Schedule email by ID](https://www.subrite.no/developers/email-schedule-by-id?md=true): Schedule an email by its ID. Only scheduledAt is required, and timeZone is optional (UTC is used when it is left out). The response includes the communication data.
- [Send test email](https://www.subrite.no/developers/email-test?md=true): Send a test email to up to 5 recipients. Recipients are always given as an array, and an optional host name sets the domain used in unsubscribe links.
- [Send test email by ID](https://www.subrite.no/developers/email-test-by-id?md=true): Send a test of an email, identified by its ID, to up to 5 recipients. Recipients are always given as an array.
- [Edit email](https://www.subrite.no/developers/email-edit?md=true): Update an email by its ID with a PATCH request. All fields are optional and only the fields you send are changed. The old route /communications/email/edit/:id is deprecated.
