# Authentication

## Using ProdCamp API

To start using our API you need just a couple of things: generate an API key and get your product ID to make requests to the right product in your workspace.&#x20;

### 1. Generate an API key

To do that you need to go to the "**Workspace Settings**" page and then to the "**API**" tab inside your account and press the "**Generate**" button.

![](https://3223839397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9YH1onkNo4yiuWdB4j%2Fuploads%2FqgkJvKwKrUDoqktK17SX%2FCleanShot%202022-01-21%20at%2018.42.43.png?alt=media\&token=72c5adb0-84c2-4111-be7f-b6678605f7ba)

![](https://3223839397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9YH1onkNo4yiuWdB4j%2Fuploads%2FBLxSRHe5Q7Bi2HiAtNxi%2FCleanShot%202022-01-21%20at%2018.43.40.png?alt=media\&token=09e67fe5-cfe9-4b4a-b316-643668943780)

### 2. Determine the Product ID

To get your product ID you can go to the "**Products**" page and see it in the "**ID**" column of the products list.

![](https://3223839397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M9YH1onkNo4yiuWdB4j%2Fuploads%2FPzHLLuvyWq9Flvg6PkcL%2FCleanShot%202022-01-21%20at%2018.45.00.png?alt=media\&token=60e6a9c5-c4fd-49d6-9347-e2fe58edeaf9)

Now, when you have your product ID and your API key you can make requests to the ProdCamp API endpoint.

### Using the product ID

Product ID must be set into the "**X-ProductId"** request header. If no product ID header is sent to the API - the request will be executed as if it was sent with a product ID of your first product in the list.

### Using the API key

The API key can be sent either as a query parameter "**apikey**", or a request header "**X-apikey"**

**Example** of using the API key as a query parameter:

```
https://app.prodcamp.com/api/v1/feedbacks?apikey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
```
