Before you can start interacting with the Kanka API, you need to generate a Key by navigating to your Profile > API page in the app to generate a key.
{warning} Tokens are valid for 365 days, after which they still show up in your keys but are no longer valid. Never share your tokens with anyone, not even the Kanka team!
Each request to the api requires an oAuth 2.0 token to identify the user. Tokens can be generated in the user's profile page.
When calling the API, add the following headers:
Authorization: Bearer user_token_here
Content-type: application/json
{warning} Please note that all endpoints documented here need to be prefixed with
1.0/. For example, if an endpoint is listed ascampaigns, you should usehttps://api.kanka.io/1.0/campaigns.
The API is set up to allow a maximum of 30 requests per minute per client. When you exceed this limit, you will be greeted with a 429 error code.
Subscribers automatically get their limit increased to 90 requests per minute per client..
Next up: Profile