Create client sub-accounts to manage multiple brands or agencies from a single SmartLead account. Each client gets their own isolated workspace with configurable permissions.
Overview
Creates a new client sub-account under your main SmartLead account. Clients are whitelabel sub-accounts that allow agencies to manage multiple brands with isolated data and configurable permissions.
Query Parameters
Request Body
Client email address. Must be unique across the platform.
Client display name (company or brand name)
Login password for the client. If not provided, the client will need to set one.
Base64 encoded logo image for whitelabel branding
URL to the client logo image for whitelabel branding
Array of permission strings defining what the client can access. Controls feature visibility and access.
Whether email/lead credits are specifically assigned to this client
Number of email credits allocated to this client (when is_credit_assigned is true)
Number of lead credits allocated to this client (when is_credit_assigned is true)
curl -X POST "https://server.smartlead.ai/api/v1/client/save?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "admin@acme.com",
"name": "Acme Agency",
"permission": ["campaigns", "email_accounts", "leads"],
"is_credit_assigned": true,
"email_credits": 10000,
"lead_credits": 5000
}'
Response Codes
Invalid request parameters or malformed request body
Invalid or missing API key
Request validation failed. Check parameter types and constraints.
200 - Success
401 - Unauthorized
{
"ok" : true ,
"data" : {
"id" : 301 ,
"name" : "Acme Agency" ,
"email" : "admin@acme.com" ,
"api_key" : "cl_xxxxxxxxxxxxxxxx" ,
"created_at" : "2025-12-01T10:00:00.000Z"
}
}