GET
/
v1
/
routing-rules
List routing rules for the organization
curl --request GET \
  --url http://localhost:8081/v1/routing-rules \
  --header 'X-Org-Id: <x-org-id>' \
  --header 'X-Reevit-Key: <api-key>'
{
  "rules": [
    {
      "id": "<string>",
      "name": "<string>",
      "countries": [
        "<string>"
      ],
      "methods": [
        "<string>"
      ],
      "connection_id": "<string>",
      "priority": 123,
      "fallback_to_default": true,
      "enabled": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123
  }
}

Authorizations

X-Reevit-Key
string
header
required

API key for server-to-server authentication

Headers

X-Org-Id
string
required

Organization identifier for multi-tenancy

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

OK

rules
object[]
pagination
object