Skip to main content


In this guide, you'll learn how to create and manage your organization's API key, and understand how to use it in your API requests.

API Endpoint

How to create an API key for your organization?

To create an API key for your organization, follow these steps:

  1. Sign Up: If you haven't already, sign up for an account on our platform.

  2. Create Organization: After signing up, create an organization. Created API keys will be associated with this organization.

  3. Generate API Key: Visit the organization settings to generate an API key. This key serves as your authentication token and is required for making API requests.

How to use API key in API requests?

Once you have generated an API key, incorporate it into your API requests. Include the API key in the 'headers' of your requests to authenticate and access our services.

## .env file

## Create an environment variable to store the API key
## .js file

## Retrieve the environment variable
const { BOTASTICO_API_KEY } = process.env;

## Construct 'headers' for the API requests
const headers = { Authorization: `Bearer ${BOTASTICO_API_KEY}`, "Content-Type": "application/json" };