> For the complete documentation index, see [llms.txt](https://api.picosbs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.picosbs.com/quick-start.md).

# Quick Start

Welcome to the ERP POS Software API! This API provides secure access to key modules of your ERP POS system including sales, purchases, inventory, users, products, and reporting. All endpoints are protected and require authentication.

### Base Url

```url
https://beta.picosbs.com/api/v1
```

Change your business domain replace with `beta.picosbs.com`&#x20;

### Security

#### X-API-Token

Provide token in the Authorization header when making requests to protected all endpoints.

`Example: X-API-Token: bfc2b0979881b0`

#### Bearer Token

Provide your bearer token in the Authorization header when making requests to protected resources. Bearer Token are issued after successful login.

`Example: Authorization: Bearer 123`

### Get your X-API-Token

Your API requests are authenticated using X-API-Token keys. Any request that doesn't include an X-API-Token key will return an error.

You can generate an API key from your Dashboard at any time.

Goto`Settings App / API Management` to show list all generate your token

<figure><img src="/files/AvFfNHkxWYklFdLu5XTO" alt=""><figcaption><p>list all generated tokens</p></figcaption></figure>

### Click `Generate New Token` to create new token

<figure><img src="/files/prJUuXkhJvpReQjw7aTx" alt=""><figcaption><p>create your token</p></figcaption></figure>

### Click token name to show your generate tokens

<figure><img src="/files/DcrJthIFdtLWEUrWkz6l" alt=""><figcaption><p>click on token name to show your token</p></figcaption></figure>
