Skip to navigation

List Routing Policies

List the organization's routing policies, all in one page. Policies that belong to a project or a customer aren't included. A gateway API key of the organization can also read policies, except in Merge for Workforce organizations.

Authentication

AuthorizationBearer

A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.

Query parameters

include_inlinebooleanOptionalDefaults to false

Also list policies the gateway created from requests’ priority_order lists. Hidden by default.

Response

The list of routing policies
nextstring or null

Always null: the list comes in one page.

previousstring or null

Always null: paging only goes forward.

resultslist of objects
The policies.

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
503
Service Unavailable Error