# Authentication

Machnet uses API keys to allow access to our APIs. Machnet will provide you with a set of keys: CLIENT\_ID and CLIENT\_SECRET. You must use X-Client-Id and X-Client-Secret in every API request header.&#x20;

{% hint style="info" %}
CLIENT\_ID and CLIENT\_SECRET values should never be used or shared publicly and should be stored properly in an encrypted format.
{% endhint %}

X-Client-Id: CLIENT\_ID\
X-Client-Secret: CLIENT\_SECRET

You will have to use the following URL to access our sandbox: <https://v4sandbox.machpay.com/v4>

### Set up your custom API keys

If you've downloaded our Postman collection, you should be able to see our API endpoints on the left and the appropriate environment variables on the right.&#x20;

![](/files/DQm1zo6F9eoWXULUXzRO)

### Add Client Keys

The next step is to add your own client keys into the environment variables.

![](/files/YPLcWop7P0VtOIuv4oUI)


---

# 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://paas.docs.machnetinc.com/getting-started.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.
