The DataRoute REST API lets you manage routes and read delivery metrics programmatically.
Every request carries a bearer token issued in the customer console. Tokens are scoped to one workspace and can be revoked at any time.
curl -H "Authorization: Bearer $DATAROUTE_TOKEN" \
https://<your-region-endpoint>/v2/routes
Your region endpoint is shown in the console under Workspace settings.
| Method | Path | Description |
|---|---|---|
| GET | /v2/routes | List the routes in a workspace |
| POST | /v2/routes | Create a route |
| PATCH | /v2/routes/{id} | Update a route |
| DELETE | /v2/routes/{id} | Delete a route |
| GET | /v2/metrics/throughput | Delivery throughput per route |
Each token may make up to 600 requests per minute. Responses include the remaining budget in the X-RateLimit-Remaining header.
Errors return a JSON body with a machine-readable code and a human-readable message, together with a standard HTTP status.