> For the complete documentation index, see [llms.txt](https://apidocs.saino.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.saino.io/base-url-setting.md).

# Base URL Setting

Before you start using [SainoFirst](https://sainofirst.com) Platform's API, you should consider reading the API documentations thoroughly. Although, we have kept everything simple for the ease of integration of your application with our platform, but still there are some steps need to be followed to have seamless integration.&#x20;

## Base URL for our platform's APIs

| Base URL                            | Description                                                                                                 |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| **`https://api.saino.io/api/apis`** | Use this as base path for all the API endpoints available on [SainoFirst](https://sainofirst.com) Platform. |

## Authentication Methods

You can use **any ONE** of the authentication methods from below.

### 1. Passing API Token in Request Header *(Recommended)*

{% hint style="success" %}
Each request is validated by looking for valid API token into the Header of the HTTP request.
{% endhint %}

| Header Name (or Header Key) | Value                |
| --------------------------- | -------------------- |
| **`Authorization`**         | **`YOUR_API_TOKEN`** |

### 2. Passing API Token in Query Parameter ***(Deprecated, will be removed in future)***

| Authentication                     | Description                                                                                                                                               |
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Query Parameter Name : **`token`** | <p>Every API request URL must add <code>?token=\<YOUR\_API\_TOKEN></code> in the URL path.</p><p></p><p>This is applicable for all HTTP method calls.</p> |

{% hint style="warning" %}

### IMPORTANT:

For each API request, you have to put a query parameter named **`token`** with value as **`<YOUR_API_TOKEN>.`**

**Pattern: `<base_url>/path?token=<YOUR_API_TOKEN>&otherParam=...`**

Example: To get your account information, the complete URL will be...\
&#x20;***GET Method:***   `https://api.saino.io/api/apis/my-account?token=<API_TOKEN>`
{% endhint %}

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://apidocs.saino.io/base-url-setting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
