Skip to main content
GET
Related data is opt-in. With no include* flags, only the client’s own fields are returned. Use includeCodeIntegrations=true to read the client’s code snippets (for example to get a snippet id to update).

Path Parameters

number
required
Client ID

Query Parameters

string
required
Your SmartLead API key (client API keys are not allowed)
boolean
Include client_permissions
boolean
Include user_client_credit
boolean
Include client_code_integrations
boolean
Include user (your account’s whitelabel details)

Response

object
The client: id, uuid, name, email, logo, user_id, created_at, logo_url, is_credit_assigned, mobile_device_id, ga_view_access, client_preferences, plus the requested related sets:
  • client_permissions (with includePermissions): one-element array of { permission, retricted_category } (empty array when none). retricted_category holds the hidden lead category IDs (the key is spelled this way).
  • user_client_credit (with includeCredits): { id, lead_credits, lead_credits_used, email_credits, email_credits_used } or null
  • client_code_integrations (with includeCodeIntegrations): array of { id, snippet_name, snippet_code }, ordered by id
  • user (with includeWhitelabel): { gpt_api_info, whitelabel_details, display_whitelabel_credentials, wl_google_client_id, wl_microsoft_client_id }