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.
Authentication
Request
No other fields are required. The API uses your API key to determine your company and returns all channels where your company is the creator, partner, referring company, or receiving company.
Response
Returns a channels array. Each channel includes its metadata, property definitions, and lead statuses.
When the channel was created.
Company ID of the referring side.
Company ID of the receiving side.
Company ID of the channel creator.
Company ID of the partner.
Currency code for the channel (e.g. "USD", "EUR").
Whether the public lead_external action is enabled.
Custom field schemas defined on this channel. Show Property definition object
Field type (e.g. "text", "number", "select").
Whether the field is visible in the UI.
Lead statuses configured for this channel. Status ID (use with update_status_id).
Status name (use with update_status).
Whether the status is visible in the UI.
Example
Request
curl -X POST https://data.keenpartner.com/functions/v1/keen-api \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_API_KEY" \
-d '{"action": "get_channels"}'
Response
{
"channels" : [
{
"id" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"title" : "Acme Corp Partnership" ,
"created_at" : "2025-03-15T10:30:00.000Z" ,
"referring_id" : "f1e2d3c4-b5a6-7890-abcd-ef1234567890" ,
"receiving_id" : "d4c3b2a1-6f5e-0987-dcba-0987654321fe" ,
"creator" : "d4c3b2a1-6f5e-0987-dcba-0987654321fe" ,
"currency" : "USD" ,
"no_auth_api" : false ,
"property_definitions" : [
{
"id" : "11111111-2222-3333-4444-555555555555" ,
"name" : "Deal size" ,
"type" : "number" ,
"order" : 1 ,
"visible" : true
}
],
"lead_status" : [
{
"id" : "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" ,
"status" : "New lead" ,
"order" : 1 ,
"visible" : true ,
"color" : "#3B82F6"
},
{
"id" : "bbbbbbbb-cccc-dddd-eeee-ffffffffffff" ,
"status" : "Qualified" ,
"order" : 2 ,
"visible" : true ,
"color" : "#F59E0B"
}
]
}
]
}
Errors
Status Error Cause 401"Invalid API key"Missing or invalid X-Api-Key header.