# Interface authentication instructions

## 1. Authentication Method
This platform's API uses basic authentication (Basic Authentication) for identity verification.

## 2. Authentication Process
Get your exclusive username (username) and password (password) on the [EchoTik API](https://echotik.live/platform/api-keys) platform.


![image.png](https://api.apifox.com/api/v1/projects/7319100/resources/595474/image-preview)

## 3. Base64 Encoding
1. Generate the authentication string by concatenating the username and password in the format username:password (e.g., user123:pass456).
2. Base64 encoding is performed on the concatenated string (e.g., user123:pass456 encoded as dXNlcjEyMzpwYXNzNDU2).
3. Set the request header to place the encoded string in the HTTP request header's Authorization field, formatted as:


:::highlight yellow 💡
Authorization: Basic Base64EncodedString
:::    
    
## 4. Example (curl)
    

```
curl -X GET 'https://open.echotik.live/api/v3/echotik/influencer/list?' \
--header 'Authorization: Basic dXNlcjEyMzpwYXNzNDU2' # Replace with the actual encoded string
```

    

## Precautions
- Please keep your username and password properly and avoid disclosure.
- All API requests must carry a valid Authorization header, otherwise a 401 Unauthorized error will be returned.
