> ## Documentation Index
> Fetch the complete documentation index at: https://docs.routa.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# List customer channels

> Lists, in one call, the channels of all your customers, in any state (`pending`, `active`, `degraded` and `disabled`). Each channel carries the `external_ref` of its project.

A `disabled` channel keeps the project from being deleted and still holds the number. To free the number, [delete the channel](/en/api-reference/endpoint/partner/delete-channel).

The item carries no credentials and no provider data.



## OpenAPI

````yaml en/openapi.json GET /v1/partner/channels
openapi: 3.0.3
info:
  title: Routa API
  description: >-
    REST API to send and receive WhatsApp messages, track delivery and receive
    normalized events through webhooks.
  version: '1'
servers:
  - url: https://api.routa.chat
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Messages
    description: Send, retrieve and list messages.
  - name: Events
    description: Query the log of normalized events.
  - name: Webhooks
    description: Manage webhook endpoints, secrets and deliveries.
  - name: Templates
    description: Create and retrieve WhatsApp templates.
  - name: Media
    description: Upload and download media files.
  - name: Usage
    description: Query the metered usage of the project.
  - name: Identity
    description: Identify the API key in use.
  - name: Partners
    description: >-
      Create one project per customer, issue the key of each project, follow the
      channels and receive the events of every customer on a single webhook.
      These routes use a partner key (`rt_partner_...`). See [Partner
      API](/en/partners/overview).
paths:
  /v1/partner/channels:
    get:
      tags:
        - Partners
      summary: List customer channels
      description: >-
        Lists, in one call, the channels of all your customers, in any state
        (`pending`, `active`, `degraded` and `disabled`). Each channel carries
        the `external_ref` of its project.


        A `disabled` channel keeps the project from being deleted and still
        holds the number. To free the number, [delete the
        channel](/en/api-reference/endpoint/partner/delete-channel).


        The item carries no credentials and no provider data.
      operationId: listPartnerChannels
      parameters:
        - description: >-
            Returns only the channels in this state: `pending`, `active`,
            `degraded` or `disabled`. Any other value returns `422`.
          schema:
            type: string
            enum:
              - pending
              - active
              - degraded
              - disabled
          in: query
          name: status
          required: false
        - description: >-
            Returns only the channels of this project (`proj_...`). An empty
            page when the organization does not have the project.
          schema:
            type: string
            maxLength: 64
          in: query
          name: project_id
          required: false
        - description: >-
            Returns only the channels of the project with this `external_ref`.
            An empty page when no project has it.
          schema:
            type: string
          in: query
          name: external_ref
          required: false
        - description: Number of items per page, from 1 to 200. The default is 50.
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
          in: query
          name: limit
          required: false
        - schema:
            type: string
          in: query
          name: cursor
          required: false
          description: The `next_cursor` value of the previous page. Treat it as opaque.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerChannelList'
        '401':
          description: >-
            The partner key is missing, invalid, revoked, expired or used from
            outside its IP allowlist (`partner_key_invalid`). A project key also
            gets this error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The partner key lacks the required scope (`insufficient_scope`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            The resource does not exist, does not belong to your organization or
            was not created through the Partner API. Also returns
            `partner_api_not_available` when your plan does not include the
            Partner API
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: >-
            Invalid request (`request_invalid` for an unknown `status`,
            `invalid_cursor`, `invalid_external_ref`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: >-
            Rate limit exceeded: 10 requests per second, with bursts of up to
            30, per organization. See the `Retry-After` header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - partnerAuth:
            - projects:read
components:
  schemas:
    PartnerChannelList:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            required:
              - id
              - project_id
              - external_ref
              - address
              - status
              - status_reason_code
              - connection_mode
              - disconnection_reason
              - created_at
            properties:
              id:
                type: string
                description: Channel ID.
                example: chan_01J8ZK9M3Q7XABCDEFGHJKMNPQ
              project_id:
                type: string
                description: Project that owns the channel.
                example: proj_01J8ZK9M3Q7XABCDEFGHJKMNPQ
              external_ref:
                type: string
                description: The `external_ref` of the project.
                example: lead_123
              address:
                type: string
                description: Channel address, in E.164.
                example: '+5581988888888'
              status:
                type: string
                enum:
                  - pending
                  - active
                  - degraded
                  - disabled
                description: 'Channel state: `pending`, `active`, `degraded` or `disabled`.'
                example: active
              status_reason_code:
                type: string
                enum:
                  - provider_auth_repeated_failure
                  - disconnected_by_customer
                  - offboarded
                nullable: true
                description: >-
                  Why the channel is `degraded` or `disabled`:
                  `provider_auth_repeated_failure` (`degraded`),
                  `disconnected_by_customer` or `offboarded` (`disabled`).
                  `null` otherwise.
                example: null
              connection_mode:
                type: string
                enum:
                  - cloud_api
                  - coexistence
                description: >-
                  How the number was connected: `cloud_api` or `coexistence`
                  (the number stays in the WhatsApp Business app).
                example: cloud_api
              disconnection_reason:
                type: string
                enum:
                  - account_disconnected
                  - business_downgrade
                  - change_number
                  - companion_inactivity
                  - primary_inactivity
                  - user_re_registered
                  - unknown
                nullable: true
                description: >-
                  The reason the provider gave for the disconnection:
                  `account_disconnected`, `business_downgrade`, `change_number`,
                  `companion_inactivity`, `primary_inactivity`,
                  `user_re_registered` or `unknown`. `null` when there was no
                  disconnection.
                example: null
              created_at:
                format: date-time
                type: string
                description: When the channel was created.
                example: '2026-09-04T13:22:41.031Z'
          description: Channels on this page.
        has_more:
          type: boolean
          description: Whether there are more pages.
        next_cursor:
          type: string
          nullable: true
          description: Cursor of the next page, or `null` on the last one.
      required:
        - data
        - has_more
        - next_cursor
    Error:
      type: object
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
            - request_id
          properties:
            type:
              type: string
              description: >-
                Error category: `invalid_request_error`, `authentication_error`,
                `permission_error`, `not_found_error`, `conflict_error`,
                `rate_limit_error`, `billing_error` or `api_error`.
              example: invalid_request_error
            code:
              type: string
              description: >-
                Stable, machine-readable code. See [Error
                codes](/en/errors/error-codes).
              example: channel_inactive
            message:
              type: string
              description: >-
                Human-readable text, in English. It can change, so do not parse
                it.
              example: Channel chan_01J8... is not active and cannot send messages.
            param:
              type: string
              description: >-
                The request field at fault, when it applies. It is filled in on
                `request_invalid` (the field outside the schema, such as
                `template.button_parameters.0.index`) and on template errors:
                `name` in `template_name_invalid`; `body_text`,
                `components.header`, `components.footer` or `components.buttons`
                in `template_components_invalid`; and `variable_examples`,
                `variable_examples.<position>`, `components.header.example` or
                `components.buttons.<position>.example` when
                `template_variables_invalid` refuses an example.
              example: components.buttons.0.example
            doc_url:
              type: string
              description: Link to the documentation of the code, when available.
            details:
              type: object
              additionalProperties:
                oneOf:
                  - type: string
                  - type: number
              description: >-
                Actionable values, such as `limit`, `used` and `resets_at` in
                `message_quota_exceeded`, or `reason`, which tells apart the
                causes behind one code, in errors such as `invalid_recipient`
                and `template_variables_invalid`. See [Actionable
                details](/en/errors/overview#actionable-details).
            request_id:
              type: string
              description: Request ID. Quote it when you contact support.
              example: req_01J8ZK9M3Q7XABCDEFGHJKMNPQ
          description: Error details.
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Project API key, in the format `rt_live_...` or `rt_test_...`, sent as
        `Authorization: Bearer <key>`.
    partnerAuth:
      type: http
      scheme: bearer
      description: >-
        Partner key, in the format `rt_partner_...`, sent as `Authorization:
        Bearer <key>`. It only works on the `/v1/partner/*` routes. A project
        key does not work on them, and a partner key does not work on any other
        route.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.