Skip to main content

Get Your API Key

  1. Log in to your LeadLex Dashboard
  2. Navigate to SettingsAPI & Integrations
  3. Click Create API Key
  4. Give your key a name (e.g., “My Bot”)
  5. Select permissions:
    • Read: View contacts, lists, campaigns
    • Write: Create and update data
    • Lexi: Interact with Lexi AI
  6. Click Create
Save your API key immediately! You won’t be able to see it again after closing the dialog.
Your API key will start with wbk_ (workspace key) and look like this:

Make Your First Request

Let’s list your contacts using cURL:

Expected Response

Create a Contact

Now let’s create a new contact:

Check Rate Limits

Every API response includes rate limit headers:
Rate limits reset at midnight UTC. Check the X-RateLimit-Remaining header to track your usage.

Next Steps

Authentication

Learn about API keys, permissions, and rate limits

Code Examples

Complete workflows for common use cases

API Reference

Browse all available endpoints

Webhooks

Get notified when events occur in your workspace