SmartLead icon

SmartLead

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

Actions144

Client → Manage API Keys

AI-generated

Summary

Create, list, reset, or delete client API keys for a specific SmartLead account.

Inputs

  • clientId (required) — The unique identifier of the SmartLead client.
  • requestBody — Request payload as JSON object specifying the key action and optional key name.

Output shape

a list of items

The response body is passed through as is. The operation requires a valid SmartLead API credential.

Examples

Example 1: List all API keys for a client

clientId: '123', requestBody: { action: 'list' }

Example 2: Create a new API key named 'Production'

clientId: '123', requestBody: { action: 'create', keyName: 'Production' }

Example 3: Reset an existing API key

clientId: '123', requestBody: { action: 'reset', apiKey: 'existing_key_string' }

Links

Discussion