# Quick Start

{% hint style="info" %}
**API Access:**&#x20;

The hyperleaf API is restful, requiring you to submit all requests with HTTP POST.&#x20;
{% endhint %}

## Get your API keys

You can generate an API key from the User Settings at the top right drop down of the portal.

## Get the basics

The system will accept GET and POST requests for all commands. You can tie them into the URL using domain=mydomain.net\&record=3.4.2.1 or send them as POST commands. For full functionality and support of all characters, POST is recommended.

Here are some sample API commands:

{% tabs %}
{% tab title="CURL GET" %}

```
curl "https://api.hyperleaf.com/api/dns/add_domain?key=942m-h923b-834b-4fd3b4528b6e&domain=mydomain.net"
```

{% endtab %}

{% tab title="CURL POST" %}

```javascript
curl -X POST https://api.hyperleaf.comst/api/vms/create?key=your-key
    -d 'uuid=320jf-2jf92jf-23f'
```

{% endtab %}
{% endtabs %}


---

# 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://apidocs.hyperleaf.com/hyperleaf-api-docs/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.
