The Notikit REST API lets you manage your account from your own system: create campaigns and notifications, query statistics and more. API access depends on your plan; you can see which plans include it at notikit.com/plan.
Get your API key
- In the side menu, under Account, open API.
- Copy the value of API Key.
Do not share your API key with anyone who should not have it: whoever holds it can operate on your account. If you think it leaked, click Regenerate API Key. The previous key stops working immediately and you have to update it in your integrations.
Authentication
All endpoints require the API key sent with the Bearer authentication method, in the Authorization header. The base URL is https://notikit.com/api/.
curl --request GET \
--url 'https://notikit.com/api/campaigns/' \
--header 'Authorization: Bearer YOUR_API_KEY'
Main resources
campaigns: list, read one, create, update and delete campaigns.notifications: list, read one, create, update and delete notifications.statistics: query statistics between a start date and an end date, inY-m-dformat.notification-handlers: manage your notification handlers.
List endpoints accept pagination parameters (page and results_per_page), search and ordering.
Full documentation
The reference for each endpoint, with its parameters and response examples, is at notikit.com/api-documentation. If you open it while signed in, the examples already include your key.
Responses and errors
The API uses the usual HTTP status codes:
200: the request completed successfully.400: required parameters are missing or invalid.401: the API key is missing, invalid or your plan does not include API access.404: the requested resource was not found.429: too many requests.500: internal server error.
Rate limit
Each key can make up to 60 requests per minute. Responses include the X-RateLimit-Limit and X-RateLimit-Remaining headers so you know how many you have left. If you exceed the limit, the API answers 429 and the X-RateLimit-Reset header tells you in how many seconds you can retry.
API or webhook
To record sales or sign-ups as conversions you do not need the API: it is simpler to use the webhook URL of the notification, which requires no key. See Track conversions with a webhook.