# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.picosbs.com/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
