Dispatch object to router
Dispatch
Dispatch router
POST /dispatch/router — assign an object using router rules
POST
Dispatch object to router
Endpoint
/dispatch/routerAuthentication: Bearer JWT Runs router assignment logic for a given object: evaluates triggers, availability, distribution model, and assigns an owner when rules match.
Request body
| Field | Required | Description |
|---|---|---|
router_id | Yes | Router to execute |
object_id | Yes | Object to assign |
Responses
200 — Assignment succeeded| Field | Description |
|---|---|
message | Human-readable outcome |
success | true when the object was assigned |
user | Email of the assigned owner |
field_name | Display name of the owner field updated |
owner_assigned_at | Assignment timestamp (RFC 2822 UTC) |
success: true plus:
| Field | Description |
|---|---|
hubspot_sync_failed | true |
hubspot_error | HubSpot sync error detail |
message only, no error flag)
message |
|---|
Trigger did not match |
Router not found |
Object not found |
The router is unpublished |
The router has no settings |
Account not found |
Account is not active |
Assignment limit reached |
The router can not overwrite |
There are no users available and the backup user is disabled |
This endpoint can also be invoked asynchronously via SQS with the same
router_id and object_id fields in the message body.Authorizations
Bearer JWT with valid account context.
Response
Dispatch completed
Assignment succeeded, or a non-error outcome (HTTP 200). When success is true, the object was assigned.
Present and true when the object was assigned
Email of the user assigned as owner
Display name of the owner field that was updated
Assignment timestamp (RFC 2822 UTC)
True when Routera assigned the owner but HubSpot sync failed
HubSpot sync error detail (when hubspot_sync_failed is true)
True only on HTTP 400/500 error responses
