# Getting Started

The Med2Lab Client API is meant for situations where you want to interact with your own Med2Lab account programmatically, often to integrate with other systems. We use REST for our core API requests.

In the following sections, we will show you how to:

1. [Generate API Keys](https://doc.med2lab.com/med2lab-api/api-authentication/oauth-flow) to authorize requests to Med2Lab's API
2. [Make calls to Med2Lab's API endpoints](https://doc.med2lab.com/med2lab-api/api-reference) (with REST )

{% content-ref url="med2lab-api/api-authentication" %}
[api-authentication](https://doc.med2lab.com/med2lab-api/api-authentication)
{% endcontent-ref %}


---

# 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://doc.med2lab.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.
