SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Lead → Get Categories

AI-generated

Summary

Fetch available lead categories

Inputs

  • queryParameters — Additional query-string parameters as JSON object
  • requestOptions — Request options including batching, SSL verification, proxy, and timeout
  • allowUnauthorizedCerts — Accept response even if SSL certificate validation fails
  • proxy — HTTP proxy URL to use for the request
  • timeout — Request timeout in milliseconds

Output shape

array of lead categories

Returns a JSON array of categories; errors follow the standard node error envelope.

Examples

Example 1: Retrieve categories for dropdown selection

Select operation 'getLeadCategories', leave queryParameters empty, use default request options.

Example 2: Get categories with custom query filters

Provide queryParameters JSON, keep other options default.

Example 3: Paginated retrieval (if future pagination added)

Enable returnAll and set limit/pageSize as needed.

Links

Discussion