> For the complete documentation index, see [llms.txt](https://resmocom.gitbook.io/product/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resmocom.gitbook.io/product/api/basics.md).

# Basics

### Creating an API Key

You can create your own API Key and access Resmo via Rest API. Creating an API key is easy to manage from **Settings -> Integration -> Rest API Management tab**.&#x20;

Scopes and expiration details of an API key can be managed on this tab. There is also an enable/disable option available for your API key.

### Authentication

In Resmo API, all requests must be authenticated with a bearer token.

Use the HTTP header Authorization with the value Bearer, where the token is the API key you created in Resmo.

{% hint style="info" %}
The API responds with HTTP status 401 in the following conditions;&#x20;

* If the token is absent or invalid
* If the token expired
* If the token is disabled&#x20;
* If the token scope does not valid for the endpoint.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://resmocom.gitbook.io/product/api/basics.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.
