---
title: "GET /affiliates"
method: GET
path: "/affiliates"
tags: ["Affiliate"]
---

# GET /affiliates

`GET /affiliates`

## Get all affiliates

 Gets all affiliates created by the currently registered user, belonging to the company of the user

## Query parameters

- `authorization` string, required
- `adminId` string, required

## Response `200`

Array of Affiliate model instances

- object[]
  - `id` integer
  - `name` string
  - `documentTypeId` integer
  - `documentNumber` string
  - `isActive` boolean
  - `stateCompany` string
  - `stateStudyCompany` string
  - `countryId` integer
  - `createdAt` string
  - `companyUser` object[]
    - `id` integer
    - `role` string
    - `user` object
      - `id` integer
      - `name` string
      - `email` string
      - `phone` string
      - `createdAt` string
      - `updatedAt` string

---

[API](https://skmtc.dev/loopay/apis/loopay-api.md) · [All operations](https://skmtc.dev/loopay/apis/loopay-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loopay/loopay-api/revisions/2f7c6537d598/schema)
