GET
/
api
/
v0
/
customers
Get all customers with filters
curl --request GET \
  --url https://api.devdraft.ai/api/v0/customers \
  --header 'x-client-secret: <api-key>'

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Query Parameters

skip
number
default:0

Number of records to skip for pagination

Required range: x >= 0
Example:

0

take
number
default:10

Number of records to return (max 100)

Required range: 1 <= x <= 100
Example:

10

status
enum<string>

Filter customers by status

Available options:
ACTIVE,
BLACKLISTED,
DEACTIVATED,
DELETED
name
string

Filter customers by name (partial match, case-insensitive)

Maximum length: 100
Example:

"John"

email
string

Filter customers by email (exact match, case-insensitive)

Maximum length: 255
Example:

"john.doe@example.com"

Response

200

Successfully retrieved customers