# Fion Developer API

## Required Authorization

All API requests are required to provide authorization in the form of API keys.&#x20;

API keys are obtained from the contacting Fion. They should be passed in the authorization as a Bearer token.

## Authorization Example

<mark style="color:blue;">`GET`</mark> `https://api.fion.tech/example`

This example shows how to pass the API key in requests. It is allowed to include additional query parameters as well.

#### Headers

| Name      | Type   | Description |
| --------- | ------ | ----------- |
| x-api-key | string | \<api\_key> |

{% tabs %}
{% tab title="200 Server will continue to process business logic if authorization is successful" %}

```
Server will return intended response.
```

{% endtab %}

{% tab title="401 Server will return this error when the API key is missing or no longer active." %}

```
{ message: "Unauthorized" }
```

{% endtab %}
{% endtabs %}
