---
title: How to pass the API key
description: "![](https://tattoogenda.com/wp-content/uploads/2023/05/DEVIDER-TG-02-31-1024x96.png) #### INTRODUCTION **For the following information we assume that you have knowledge about API calls and endpoints.** Your shops information is safe and **is only available** when you pass the API key. This means that no one else can…"
url: "https://tattoogenda.com/nl_nl/docs/how-to-pass-the-api-key/"
updated: "2023-08-31"
category: API
---

# How to pass the API key

![](https://tattoogenda.com/wp-content/uploads/2023/05/DEVIDER-TG-02-31-1024x96.png)

#### INTRODUCTION

**For the following information we assume that you have knowledge about API calls and endpoints.**

Your shops information is safe and **is only available** when you pass the API key.
This means that no one else can access your TG account's information without this key.

![](https://tattoogenda.com/wp-content/uploads/2023/08/Wide-splash-small-24-1024x78.png)

**REQUIREMENTS**
A Tattoogenda software login.
Knowledge about endpoints, how to use them and what they stand for.
Depending on the amount of information you need, you might need a certain subscription plan.

> [How to get your SHOP ID](https://tattoogenda.com/docs/how-to-get-your-shop-id/)

[“How to get your SHOP ID” — tattoogenda.com](https://tattoogenda.com/docs/how-to-get-your-shop-id/embed/#?secret=9TMyhsOSFP#?secret=CCCH4ZVXDr)

> [Our Tattoogenda endpoints](https://tattoogenda.com/docs/our-tattoogenda-endpoints/)

[“Our Tattoogenda endpoints” — tattoogenda.com](https://tattoogenda.com/docs/our-tattoogenda-endpoints/embed/#?secret=5HLmLVoTig#?secret=3nN5eJSQiK)

> [How to get your API KEY](https://tattoogenda.com/docs/how-to-get-your-api-key/)

[“How to get your API KEY” — tattoogenda.com](https://tattoogenda.com/docs/how-to-get-your-api-key/embed/#?secret=nkolIlbfbI#?secret=s06TC2X3Ig)

> [How to get an ARTIST ID](https://tattoogenda.com/docs/how-to-get-an-artist-id/)

[“How to get an ARTIST ID” — tattoogenda.com](https://tattoogenda.com/docs/how-to-get-an-artist-id/embed/#?secret=9TYpL6xKHh#?secret=rUU6u6nBkh)

![](https://tattoogenda.com/wp-content/uploads/2023/05/DEVIDER-TG-02-31-1024x96.png)

#### HOW TO AUTHORIZE YOUR API CALL

You can test out your endpoints in postman to see what information / response you get.
 In this part we will show u how to pass the correct header to authorize your API call.
[https://www.postman.com](https://www.postman.com/)

**IMPORTANT**

**We will always need to pass the API key**.
In every single API call, in the header of your request, add this key:
**x-api-key**

![](https://tattoogenda.com/wp-content/uploads/2023/08/Wide-splash-small-24-09-1024x31.png)

If you wish to use postman to test it out go to postman and go to a desired workspace you'd like to test on.

![](https://tattoogenda.com/wp-content/uploads/2023/08/image-18.png)

Start a new one.

![](https://tattoogenda.com/wp-content/uploads/2023/08/test-01-01-1024x541.png)

Go to **'Headers'**.

![](https://tattoogenda.com/wp-content/uploads/2023/08/Endpooint-example-bigger-02-1024x537.png)

Pass the API KEY WORD and enter: **'x-api-key'**.

![](https://tattoogenda.com/wp-content/uploads/2023/08/Endpooint-example-bigger-03-1024x537.png)

Pass the API KEY VALUE.

![](https://tattoogenda.com/wp-content/uploads/2023/08/Endpooint-example-bigger-04-1024x540.png)

for example we will use the endpoint to get a shops genres:
https://www.app.tattoogenda.com/api/genres/byId/103

![](https://tattoogenda.com/wp-content/uploads/2023/08/Endpooint-example-bigger-05-1024x541.png)

Press send.

![](https://tattoogenda.com/wp-content/uploads/2023/08/Endpooint-example-bigger-06-1024x541.png)

Read the response.

![](https://tattoogenda.com/wp-content/uploads/2023/08/Endpooint-example-bigger-07-1-1024x532.png)

![](https://tattoogenda.com/wp-content/uploads/2023/05/DEVIDER-TG-02-31-1024x96.png)

You still have a problem or a question?
You can find a little link below called **'Still stuck? How can we help!'**

Written by
**Sharice Vandenhende**

By **Tattoogenda**
