---
title: "List Customers"
method: GET
path: "/partner/customers"
tags: ["Customers"]
---

# List Customers

`GET /partner/customers`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/partner/customers`
- Auth: one of:
  - API key in header `AccessKey`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api/docs/partner/customers/get.ts> (a function with typed inputs; its response is checked against the schema)

List the authenticated partner's assigned customers, newest assignment first.

## Response `200`

All customers assigned to this partner.

- PartnerCustomerListItemModel[]
  - `Id` integer: Primary key of the partner-customer relationship row
  - `CustomerUserId` string, nullable: User id of the customer
  - `Email` string, nullable: Email of the customer
  - `CompanyName` string, nullable: Company name of the customer, if set on their account
  - `ContractBillingType` 1 | 2: 1 = Pay As You Go 2 = Post Paid
  - `ContractValue` number, nullable: Contract value agreed with the partner.
  - `Currency` 0 | 1: 0 = US Dollar 1 = Euro
  - `ContractStartDate` string, date-time, nullable: Contract start date.
  - `ContractEndDate` string, date-time, nullable: Contract end date.

## Other responses

- `401`: The request authorization failed.
- `403`: Authenticated user is not a reseller or MSP partner.

---

[API](https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-partner-portal-api/revisions/daf325756630?raw)
