Skip to content

Authentication

Every request carries the key in the x-kyto-key header:

POST /v2/clients/4e2a8c3d-1b9f-4e6a-8c7d-9f0a1b2c3d4e/contacts/search HTTP/1.1
Host: api-agent.manoflow.com
x-kyto-key: kyto_xxxxxxxx…
Content-Type: application/json

A key looks like kyto_ followed by 40 lowercase hexadecimal characters.

  • Each key belongs to a single company (one client_id) and only opens that company’s data.
  • Use one key per bot, flow or system. That way you can revoke one without stopping the others, and Manoflow shows when each was last used.
Status code Meaning
401 unauthorized The key is missing, empty, malformed, unknown or revoked. The response is the same in every case
403 forbidden The key is valid, but the client_id in the URL is not the key’s or does not exist. The response does not reveal which companies exist

The key is checked before anything else: with a bad key, the API does not read the body or say anything about it.

Do not retry a 401 or a 403: they will fail the same way until you fix the key or the URL.

  • Store it in a secret configuration variable or a secrets manager, never in source code.
  • Do not put it in code that runs in the browser or in a mobile app: anyone could read it.
  • Do not paste it into bot exports, screenshots, tickets or chats.
  • URLs never carry personal data: a contact’s phone goes in the body of POST contacts/search, not in the URL.

To change a key without downtime:

  1. Ask an administrator to create a new key in Manoflow.
  2. Put the new key in your bot or system and check that it works.
  3. Revoke the old key in Manoflow.

A revocation takes up to 1 minute to apply everywhere. If a key leaked, revoke it at once and create another.