This guide walks you through authenticating with the Keen API, listing your channels, and creating a lead.Documentation Index
Fetch the complete documentation index at: https://docs.keenpartner.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A Keen account with at least one active channel.
- An API key generated from Settings > API keys in your Keen dashboard.
Step 1: List your channels
Start by retrieving the channels your company has access to. This gives you the channel IDs, lead statuses, and custom property definitions you need for subsequent requests.channels array. Each channel contains:
id— the channel ID you use in other actionslead_status— the available statuses for leads in this channelproperty_definitions— custom fields defined on the channel
Step 2: Create a lead
Use the channel ID from the previous step to create a lead:lead_status_id.
Step 3: Update the lead status
Move the lead to a new status. Use thelead_status values from the get_channels response to find the right status name:
Step 4: Verify with get leads
Confirm the lead was created and its status was updated:Next steps
- Browse the API reference for all available actions.
- Record a purchase against a lead.
- Set up a public lead form using the
lead_externalaction (no API key required).