# Hosting API

## REST API <a href="#rest-api" id="rest-api"></a>

The 4EVERLAND API offers easy access to the platform's fully-featured, stable performance, and flexible service. With the API, you can deploy your custom projects by integrating them with your existing projects, making it easy to build and manage your applications and websites.

The API documentation provides detailed information on how to use the API, including how to authenticate and authorize requests, how to create and manage projects, and how to deploy and update your projects. This makes it easy to integrate your custom projects with the 4EVERLAND platform, enabling you to take advantage of its powerful features and capabilities.

## API Basics <a href="#api-basics" id="api-basics"></a>

Our API is exposed as an HTTP/1 and HTTP/2 service over SSL.&#x20;

All endpoints live under the URL below and follow the REST architecture:

```
https://hosting.api.4everland.org/ 
```

## Authentication <a href="#auth" id="auth"></a>

To authenticate and utilize the Hosting API, you require a [**Hosting Auth Token**](https://dashboard.4everland.org/hosting/auth-tokens). You can achieve this by navigating to your 4EVERLAND dashboard, selecting Hosting > Auth Token, and then clicking "Generate".

<figure><img src="/files/8WHyCX7gSssWSixgYIOX" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Once created, the token will only be displayed once. Please keep it safe. You can create a new one if you lose it.
{% endhint %}

{% hint style="info" %}
If you have any questions, please join our [Discord server](https://discord.com/invite/Cun2VpsdjF), or send us an email at <contact@4everland.org>.
{% endhint %}


---

# 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://docs.4everland.org/hositng/hosting-api.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.
