Skip to main content
GET
Get all clients of a company

Authorizations

X-API-KEY
string
header
required

Response

List of clients retrieved successfully

id
string
required

Client unique identifier (format: clnt_{cuid2})

Example:

"clnt_clx1234567890abcdef"

taxId
string
required

Client tax ID (CPF/CNPJ) - formatted

Pattern: ^[0-9]{11,14}$
Example:

"053.054.053-64"

name
string
required

Client full name

Maximum string length: 255
Example:

"Cliente Bola"

email
string<email>
required

Client email address

Example:

"bola@email.com"

phone
string
required

Client phone number (Brazilian format)

Pattern: ^[0-9]{10,11}$
Example:

"41999999999"

status
enum<string>
default:ACTIVE
required

Client status

Available options:
ACTIVE,
INACTIVE
Example:

"ACTIVE"

companyId
string
required

Company ID that owns this client (format: comp_{cuid2})

Example:

"comp_clx9876543210fedcba"

createdAt
string<date-time>
required

Client creation timestamp

Example:

"2025-02-03T10:00:00Z"

updatedAt
string<date-time>
required

Client last update timestamp

Example:

"2025-02-03T10:00:00Z"

postalCode
object | null

Client postal code (CEP)

Example:

"80215100"

address
object | null

Client street address

Example:

"Rua Engenheiros Rebouças"

district
object | null

District/neighborhood

Example:

"Rebouças"

number
object | null

Street number

Example:

"2000"

line1
object | null

Address complement (line 1)

Example:

"Green apartment"