API

Kananas offers developers its RESTful API: detailed documentation of the Kananas API

This API allows you to connect another software to your Kananas account to retrieve information or perform certain functions: list of contacts, expense creation, etc…

Access to the API is subject to obtaining a secret key that you can set via the “settings/API” menu.

api secret key

This key must be used for each API call by passing it in the request header.

Example
curl –request GET
–url ‘https://backoffice.kananas.com/action_manager.php?event=api&request=contacts’
–header ‘Accept: application/json’
–header ‘token: SECRET_KEY’

Webhooks:

In addition to the API, we also offer webhooks. This is a mechanism that allows sending changes made in Kananas to other applications.

Webhooks can be configured on the “settings/API” page. This functionality is only accessible to the administrator user.

Webhooks offer several advantages:

  1. Real-time notifications: Webhooks allow an application to receive real-time notifications when an event occurs on another system or service. This allows the application to react immediately to the event and take action accordingly, such as the online registration of a new contact.
  2. Traffic reduction: Webhooks help avoid polluting servers with regular queries to check if new data is available. Instead, data is sent to the application when it’s available, reducing network traffic.
  3. Flexibility: Webhooks offer great flexibility for developers. They can choose the events for which they want to receive notifications.
  4. Task automation: Webhooks allow scheduling automated tasks that run in response to specific events. This enables the automation of tedious tasks and saves time.
  5. Easy integration: Webhooks can be easily integrated into an existing application or third-party system. They are widely supported by many applications and services, making them very popular for system integration.

 

Automation

The API can be used to extend Kananas’ functionalities through automation tools such as Zapier or Make. For example, you can retrieve data entered on a contact form on a website, send it to Kananas to create a contact, and then receive a notification.

Example of automation created with make.com

kananas webhook