# DrugNet API Documentation

### Authentication

All requests to the API must include the `x-api-key` header with a valid API key.

## Get your API keys

[Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error. You can request for the API key from the DrugNet Portal Administrators](#user-content-fn-1)[^1].

## Want to jump right in?

Feeling like an eager beaver? Jump in to the create user docs and get making your first request:

{% content-ref url="create-user" %}
[create-user](https://api.drugnet.com.gh/create-user)
{% endcontent-ref %}

## Want to deep dive?

Dive a little deeper and start exploring our API reference to get an idea of everything that's possible with the API:

{% content-ref url="reference/api-reference" %}
[api-reference](https://api.drugnet.com.gh/reference/api-reference)
{% endcontent-ref %}

[^1]:


---

# 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.drugnet.com.gh/drugnet-api-documentation.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.
