> ## Documentation Index
> Fetch the complete documentation index at: https://docs.justpaid.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Authentication of API endpoints

## Authentication

We use Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.
The bearer token is a cryptic string, usually generated by the server in response to a login request.

### How to get a Bearer token

Kindly visit [app.justpaid.io/settings/developer/api](https://app.justpaid.io/settings/developer/api) to get a Bearer token.

Kindly [contact us](mailto:support@justpaid.io) in case you face any issues.

### Usage

The client must send the bearer token in the Authorization header when making requests to protected resources:

```
Authorization: Bearer <token>
```

Example:

```curl theme={null}
curl --request POST \
  --url https://exampleapi.justpaid.io/api/v1/customer/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
        "name": "<string>",
        "email": "<string>"
}'
```
