---
title: "Get routing"
method: GET
path: "/ccaas/1/routing"
tags: ["customer-engagement", "conversations", "conversation-routing"]
---

# Get routing

`GET /ccaas/1/routing`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/ccaas/1/routing`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Use this method to get a list of rules within the routing. Pagination is set to single page result with a maximum of 999 items ordered by "order". As rules inside routing are stored, executed and retrieved in provided order with the SET method, that order can't be changed. <a href="https://www.infobip.com/docs/conversations/supervisor-guide#queues-and-routing" target="_blank">More info</a>

## Query parameters

- `ruleIds` string[]
- `enabled` boolean

## Response `200`

OK

- E89661b226e518f36a162935afcdf1132c95b0e63e9c86c5ef5f31c5a8d865a2RoutingRulesResultPage
  - `routes` E89661b226e518f36a162935afcdf1132c95b0e63e9c86c5ef5f31c5a8d865a2RuleApiResponse[]
    - `id` string: Rule Id.
    - `priority` 'URGENT' | 'HIGH' | 'NORMAL' | 'LOW': Conversation priority.
    - `expression` object: Query for logical validation of new messages. See [Routing](https://www.infobip.com/docs/conversations/supervisor-guide#queues-and-routing) for more info.
    - `queueId` string: Queue Id is a destination queue where the new message will be assigned to.
    - `queueName` string: Queue name.
    - `enabled` boolean: Enabled is a boolean value (TRUE, FALSE), so the rule is engaged or avoided in the routing process. If not provided will be set to default.
    - `name` string: Rule name, light description of expression logic.
    - `createdAt` string, date-time: Time stamp when rule is created.
    - `updatedAt` string, date-time: Time stamp when rule is last updated.
    - `order` integer: Position in order of executing this rule for logical validation new message.
    - `routeOnlyDuringWorkingHours` boolean: When set to true, it indicates that the route should only be processed during designated working hours. [Set up working hours](https://www.infobip.com/docs/api/customer-engagement/conversations-api/create-working-hours)
    - `isPrivate` boolean: Is route private.
  - `pagination` E89661b226e518f36a162935afcdf1132c95b0e63e9c86c5ef5f31c5a8d865a2Pagination
    - `totalItems` integer
    - `page` integer
    - `limit` integer
    - `orderBy` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
