Customers API
Manage customer accounts, subscriptions, and billing through our REST API
Overview
The Customers API allows you to programmatically manage customer accounts, view subscription details, update billing information, and retrieve usage metrics.
Base URL
https://api.enterpriseproxynetwork.com/v1/customers
Endpoints
GET /customers
List all customers with pagination
GET /v1/customers?page=1&limit=50
Response:
{
"data": [
{
"id": "cust_123",
"email": "customer@example.com",
"company": "Example Corp",
"status": "active",
"plan": "enterprise",
"created_at": "2024-01-15T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 125
}
}GET /customers/{id}
Retrieve a specific customer
GET /v1/customers/cust_123
POST /customers
Create a new customer
POST /v1/customers
Request Body:
{
"email": "new@example.com",
"company": "New Company",
"plan": "business",
"billing_address": {
"country": "US",
"state": "CA"
}
}PUT /customers/{id}
Update customer information
PUT /v1/customers/cust_123
Authentication
All customer endpoints require authentication with an API key with appropriate permissions.
Authorization: Bearer sk_live_1234567890abcdef
Required scopes: customers:read, customers:write
Was this helpful?
Help us improve our documentation