API
Create API Key

Create API Key

If you're interested in integrating Usermaven into your SaaS platform or application to provide analytics to your customers, you'll need an API key to facilitate this. API keys serve as the gateway to access the API and are vital for embedding Usermaven analytics into your business processes.

Step 1: Create an API Key

To create a new API key, navigate to the Account Settings page and go for the API Credentials. Then, you can initiate the creation of a new API key by clicking on "Create a new API key".

In the subsequent step, assign a name to your API key and proceed by clicking the "Generate API Key" button.

Once done, the API key will be generated.

Step 2: Authenticate using API Key

To authenticate using the API key, you need to pass the API key as a header parameter in the request. The header parameter name is X-API-KEY.

curl -X GET \
    https://api.usermaven.com/v1/workspaces \
-H 'X-API-KEY: <API_KEY>'

Step 3: Integrate Usermaven Analytics in your SaaS

Once you have the API key, you can start integrating Usermaven analytics in your SaaS platform or application. Please follow this link to go to our developer docs (opens in a new tab) for the API endpoints.