Generate a Front API token from Settings > API & Webhooks in the Front app, and include it as 'Bearer YOUR_TOKEN' in the Authorization header.
Create a new inbox with POST /inboxes, supplying 'name' and 'teammate_ids' (array of teammate IDs to grant access), plus 'channel_settings' if you want a custom SMTP or API channel.
Retrieve the new inbox ID from the response; note that some inbox types (e.g., connected email) require additional OAuth or channel-specific setup in the Front UI after creation.
List available teams and teammates with GET /teammates and GET /teams to obtain the IDs needed for rule conditions and actions.
Create a routing rule with POST /rules supplying 'name', a set of 'conditions' (each with 'resource_type', 'field', 'operator', 'value'), and 'actions' (such as assigning to a teammate or moving to an inbox).
Test the rule by sending a message that satisfies the conditions and verifying it is routed to the correct inbox or assignee.
Known gotchas
Front's API token scopes are account-wide — any token with write access can modify inboxes and rules for all teammates; restrict token issuance to admin users only.
Rule evaluation order matters in Front — rules are applied in the order they appear in the account; use the Front UI to reorder rules after programmatic creation since the API may not expose a reorder endpoint.
Connected email and SMS channels cannot be fully provisioned via API alone — channel authentication (OAuth for Gmail/Outlook, carrier setup for SMS) must be completed in the Front settings UI.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp