# 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.

- `POST` [Create a routing rule](/docs/api/routing/post_RouteCreate): Creates an email routing rule mapping an address to a mailbox, webhook, remote forwarder, or group.
- `GET` [List routing rules](/docs/api/routing/get_RouteList): Returns email routing rules.
- `GET` [Get email route details](/docs/api/routing/get_RouteGet): Returns routing configuration, destination, and webhook tap settings for a specific email address.
- `PATCH` [Update email route](/docs/api/routing/patch_RouteUpdate): Updates the destination, delivery pacing, group posting policy, webhook tap, or forward tap for an email address.
- `DELETE` [Delete email route](/docs/api/routing/delete_RouteDelete): Removes an email address routing rule.
- `POST` [Add group member](/docs/api/routing/post_MemberAdd): Adds a single recipient email address to a group route.
- `GET` [List group members](/docs/api/routing/get_MemberList): Returns a paginated list of recipient member email addresses belonging to a group route.
- `PUT` [Replace all group members](/docs/api/routing/put_MemberReplace): Overwrites the entire recipient list of a group route in a single call.
- `POST` [Batch add group members](/docs/api/routing/post_MemberBatchAdd): Adds multiple recipient email addresses to a group route in a single request.
- `DELETE` [Remove group member](/docs/api/routing/delete_MemberRemove): Removes a recipient email address from a group route.
- `POST` [Create pattern route](/docs/api/routing/post_PatternCreate): Creates a wildcard email pattern route (e.g. 'support-' or '') directed to a mailbox, webhook, remote forward, or alias.
- `GET` [List pattern routes](/docs/api/routing/get_PatternList): Returns a paginated list of wildcard address pattern routes for an account or domain.
- `PATCH` [Update pattern route](/docs/api/routing/patch_PatternUpdate): Updates the priority, delivery pacing, or destination configuration for a pattern route.
- `DELETE` [Delete pattern route](/docs/api/routing/delete_PatternDelete): Removes a pattern routing rule.
- `GET` [Fetch webhook attachment or raw message](/docs/api/routing/get_DeliveryFetch): Redeems a signed webhook token URL to download a large attachment or original raw MIME message.
- `POST` [Create an address list](/docs/api/routing/post_AccountAddressListCreate): Creates an allow or block list at the account, domain, or mailbox scope.
- `GET` [List address lists](/docs/api/routing/get_AccountAddressListIndex): Returns allow and block address lists for this account or mailbox, optionally filtered by scope, direction (inbound/outbound), or verdict (allow/block).
- `GET` [Get an address list](/docs/api/routing/get_AccountAddressListGet): Returns details of an address list along with its current pattern entry count.
- `PATCH` [Update an address list](/docs/api/routing/patch_AccountAddressListPatch): Renames an address list and/or sets contactsExempt (inbound block lists only).
- `DELETE` [Delete an address list](/docs/api/routing/delete_AccountAddressListDelete): Deletes an address list and removes all of its associated address and domain patterns.
- `POST` [Add a pattern to an address list](/docs/api/routing/post_AccountAddressListEntryCreate): Adds an email address, domain, or wildcard pattern to an address list.
- `GET` [List patterns in an address list](/docs/api/routing/get_AccountAddressListEntryIndex): Returns all address, domain, and wildcard patterns contained in an address list with pagination.
- `POST` [Add multiple patterns to an address list](/docs/api/routing/post_AccountAddressListEntryBatch): Imports a batch of address and domain patterns into an address list.
- `POST` [Import patterns into an address list from CSV](/docs/api/routing/post_AccountAddressListEntryImport): Adds every row of a CSV document to the list.
- `GET` [Export an address list as CSV](/docs/api/routing/get_AccountAddressListEntryExport): Returns every live pattern of the list as CSV with the columns pattern,note,expiresat (expiresat in epoch seconds, empty for never).
- `DELETE` [Remove a pattern from an address list](/docs/api/routing/delete_AccountAddressListEntryDelete): Removes a specific email address or domain pattern from an address list.
- `POST` [Test address list policy against an address](/docs/api/routing/post_AccountAddressListEvaluate): Evaluates inbound or outbound address list policies for a specific address to test whether it would be allowed, blocked, or bypassed.
- `POST` [Create an address list](/docs/api/routing/post_MailboxAddressListCreate): Creates an allow or block list at the account, domain, or mailbox scope.
- `GET` [List address lists](/docs/api/routing/get_MailboxAddressListIndex): Returns allow and block address lists for this account or mailbox, optionally filtered by scope, direction (inbound/outbound), or verdict (allow/block).
- `GET` [Get an address list](/docs/api/routing/get_MailboxAddressListGet): Returns details of an address list along with its current pattern entry count.
- `PATCH` [Update an address list](/docs/api/routing/patch_MailboxAddressListPatch): Renames an address list and/or sets contactsExempt (inbound block lists only).
- `DELETE` [Delete an address list](/docs/api/routing/delete_MailboxAddressListDelete): Deletes an address list and removes all of its associated address and domain patterns.
- `POST` [Add a pattern to an address list](/docs/api/routing/post_MailboxAddressListEntryCreate): Adds an email address, domain, or wildcard pattern to an address list.
- `GET` [List patterns in an address list](/docs/api/routing/get_MailboxAddressListEntryIndex): Returns all address, domain, and wildcard patterns contained in an address list with pagination.
- `POST` [Add multiple patterns to an address list](/docs/api/routing/post_MailboxAddressListEntryBatch): Imports a batch of address and domain patterns into an address list.
- `POST` [Import patterns into an address list from CSV](/docs/api/routing/post_MailboxAddressListEntryImport): Adds every row of a CSV document to the list.
- `GET` [Export an address list as CSV](/docs/api/routing/get_MailboxAddressListEntryExport): Returns every live pattern of the list as CSV with the columns pattern,note,expiresat (expiresat in epoch seconds, empty for never).
- `DELETE` [Remove a pattern from an address list](/docs/api/routing/delete_MailboxAddressListEntryDelete): Removes a specific email address or domain pattern from an address list.
- `POST` [Test address list policy against an address](/docs/api/routing/post_MailboxAddressListEvaluate): Evaluates inbound or outbound address list policies for a specific address to test whether it would be allowed, blocked, or bypassed.
