API Reference

The DataRoute REST API lets you manage routes and read delivery metrics programmatically.

Authentication

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.

Endpoints

MethodPathDescription
GET/v2/routesList the routes in a workspace
POST/v2/routesCreate a route
PATCH/v2/routes/{id}Update a route
DELETE/v2/routes/{id}Delete a route
GET/v2/metrics/throughputDelivery throughput per route

Rate limits

Each token may make up to 600 requests per minute. Responses include the remaining budget in the X-RateLimit-Remaining header.

Errors

Errors return a JSON body with a machine-readable code and a human-readable message, together with a standard HTTP status.