Articles on: API

How to Get the API Key

To authenticate API calls and trigger your workflows via GraphQL, you’ll need an API key. Here's how to generate and use it securely:


Step-by-Step Instructions


  1. Go to Studio → Project Settings

Open your Lamatic.ai Studio and navigate to the Settings section within the relevant project.


  1. Locate and Create an API Key

Find the API Keys section and click on Create API Key (or Generate New Key).

Give it a descriptive name (e.g., “Client-App-Access”).


  1. Copy the Key

Once generated, copy it immediately. Note: You may not be able to view this key again after leaving the page.


  1. Redeploy Your Project (if required)

If prompted, redeploy your project to activate the new API key.


  1. Use the Key in Requests

Include the API key in your GraphQL requests via the Authorization header:

   Authorization: Bearer YOUR_API_KEY

Updated on: 10/09/2025