Routing
What an address DOES when mail arrives: routes to a mailbox, webhook, remote forward, or group (with members), pattern (wildcard) routes, allow/block address lists, and the signed fetch capability webhook payloads link back to.
TypeScript SDK
openemail.routesTypeScript SDKopenemail.patternsTypeScript SDKopenemail.accountAddressListsTypeScript SDKopenemail.mailboxAddressListsTypeScript SDKopenemail.deliveries- POSTCreate a routing ruleCreates an email routing rule mapping an address to a mailbox, webhook, remote forwarder, or group.
- GETList routing rulesReturns email routing rules.
- GETGet email route detailsReturns routing configuration, destination, and webhook tap settings for a specific email address.
- PATCHUpdate email routeUpdates the destination, delivery pacing, group posting policy, webhook tap, or forward tap for an email address.
- DELETEDelete email routeRemoves an email address routing rule.
- POSTAdd group memberAdds a single recipient email address to a group route.
- GETList group membersReturns a paginated list of recipient member email addresses belonging to a group route.
- PUTReplace all group membersOverwrites the entire recipient list of a group route in a single call.
- POSTBatch add group membersAdds multiple recipient email addresses to a group route in a single request.
- DELETERemove group memberRemoves a recipient email address from a group route.
- POSTCreate pattern routeCreates a wildcard email pattern route (e.g. 'support-' or '') directed to a mailbox, webhook, remote forward, or alias.
- GETList pattern routesReturns a paginated list of wildcard address pattern routes for an account or domain.
- PATCHUpdate pattern routeUpdates the priority, delivery pacing, or destination configuration for a pattern route.
- DELETEDelete pattern routeRemoves a pattern routing rule.
- GETFetch webhook attachment or raw messageRedeems a signed webhook token URL to download a large attachment or original raw MIME message.
- POSTCreate an address listCreates an allow or block list at the account, domain, or mailbox scope.
- GETList address listsReturns allow and block address lists for this account or mailbox, optionally filtered by scope, direction (inbound/outbound), or verdict (allow/block).
- GETGet an address listReturns details of an address list along with its current pattern entry count.
- PATCHUpdate an address listRenames an address list and/or sets contactsExempt (inbound block lists only).
- DELETEDelete an address listDeletes an address list and removes all of its associated address and domain patterns.
- POSTAdd a pattern to an address listAdds an email address, domain, or wildcard pattern to an address list.
- GETList patterns in an address listReturns all address, domain, and wildcard patterns contained in an address list with pagination.
- POSTAdd multiple patterns to an address listImports a batch of address and domain patterns into an address list.
- POSTImport patterns into an address list from CSVAdds every row of a CSV document to the list.
- GETExport an address list as CSVReturns every live pattern of the list as CSV with the columns pattern,note,expiresat (expiresat in epoch seconds, empty for never).
- DELETERemove a pattern from an address listRemoves a specific email address or domain pattern from an address list.
- POSTTest address list policy against an addressEvaluates inbound or outbound address list policies for a specific address to test whether it would be allowed, blocked, or bypassed.
- POSTCreate an address listCreates an allow or block list at the account, domain, or mailbox scope.
- GETList address listsReturns allow and block address lists for this account or mailbox, optionally filtered by scope, direction (inbound/outbound), or verdict (allow/block).
- GETGet an address listReturns details of an address list along with its current pattern entry count.
- PATCHUpdate an address listRenames an address list and/or sets contactsExempt (inbound block lists only).
- DELETEDelete an address listDeletes an address list and removes all of its associated address and domain patterns.
- POSTAdd a pattern to an address listAdds an email address, domain, or wildcard pattern to an address list.
- GETList patterns in an address listReturns all address, domain, and wildcard patterns contained in an address list with pagination.
- POSTAdd multiple patterns to an address listImports a batch of address and domain patterns into an address list.
- POSTImport patterns into an address list from CSVAdds every row of a CSV document to the list.
- GETExport an address list as CSVReturns every live pattern of the list as CSV with the columns pattern,note,expiresat (expiresat in epoch seconds, empty for never).
- DELETERemove a pattern from an address listRemoves a specific email address or domain pattern from an address list.
- POSTTest address list policy against an addressEvaluates inbound or outbound address list policies for a specific address to test whether it would be allowed, blocked, or bypassed.
Restore a deleted mailbox POST
Restores a soft-deleted mailbox from trash within its 7-day retention window. Re-binds the primary address if still available.
Create a routing rule POST
Creates an email routing rule mapping an address to a mailbox, webhook, remote forwarder, or group. For non-webhook destinations an optional webhookUrl…