---
title: "Get clients"
method: GET
path: "/agency/clients"
tags: ["Organizations Agency"]
---

# Get clients

`GET /agency/clients`

REQUIRED SCOPES <code>['organizations-agency:read']</code><br>Fetches a list of clients based on specified criteria.

## Query parameters

- `sortBy` string
- `sortOrder` string
- `all` boolean
- `search` string
- `length` integer
- `page` integer
- `fields_list` string[]

## Response `200`

Successful retrieval of client list

- union
  - OrganizationLiteResource[]
    - `id` integer — Unique identifier of the organization
    - `name` string — Name of the organization
    - `country` string — Country where the organization is registered
    - `is_agency` boolean — Indicates if the organization is an agency
    - `agency_id` integer, nullable — ID of the agency this organization belongs to
    - `vendor_id` string, nullable — Vendor ID associated with the organization
    - `stripe_id` string, nullable — Stripe customer ID
    - `created_at` string, date-time — Timestamp when the organization was created
    - `updated_at` string, date-time — Timestamp when the organization was last updated
  - object
    - `data` OrganizationResource[]
      - `id` integer
      - `owner_id` integer
      - `number_vendor_id` integer
      - `name` string
      - `photo_url` string
    - `meta` object
    - `links` object

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/salesmessage/apis/salesmessage-public-api.md) · [All operations](https://skmtc.net/salesmessage/apis/salesmessage-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salesmessage/salesmessage-public-api/revisions/e96b3e58b041/schema)
