Action-based design
The Keen API is not a traditional REST API with separate URLs per resource. Instead, every request is aPOST to a single URL. The action field in the JSON body determines the operation.
Authentication
Thelead_external action is the only exception — it does not require an API key. Instead, it relies on a channel-level setting that enables public lead submission.
Request format
Every request must bePOST with a Content-Type: application/json header. The body must include an action field and any additional fields required by that action.
Available actions
Channel access
Your API key is scoped to a single company. You can only interact with channels where your company is the creator, partner, referring company, or receiving company. If you attempt to access a channel your company is not part of, the API returns a403 error.
Error responses
All errors return JSON with anerror field: