Skip to content

API keys ​

An API key lets another system call one project in Flows. Send it with every call in the x-api-key header.

Make a key ​

You need to be an Admin or Owner of the project.

  1. Open Settings › API keys.
  2. Click New key.
  3. Give it a Name that says where it will be used, like "Shop backend", and click Make key.
  4. Copy the key from Your new API key and store it in your system's secret settings. Then click I’ve saved it.

The key is shown once. Flows only keeps the first few characters (Starts with), so you can tell keys apart. If you lose a key, make a new one.

Use a key ​

bash
curl -X POST "https://<your-app>/api/integrations/hooks/<workflow>/<step>" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phone": "919812345678"}'
  • One key, one project. The key alone decides which project a call is for.
  • Server to server only. Never put a key in a web page, a mobile app or anything a customer can download. Call Flows from your backend.
  • One key per system. Separate keys show which system called (Last used), and you can remove one without breaking the others.

Replace or remove a key ​

To replace a key without downtime:

  1. Make a new key.
  2. Put it in your system.
  3. Check that Last used on the new key updates.
  4. Delete the old key.

To delete a key, click its delete button in Settings › API keys and confirm. Systems using it stop working at once, with 401.

Flows documentation for v1.x (v1.7.2).