# API

The resources are currently limited to the ones exposed in the JS SDK. If you require an SDK for a specific language or need direct access to THX please contact the team through [Discord](https://discord.com/invite/u3DruB5pm5).

<figure><img src="/files/CzlvqdAsdbsCwpXhs9uH" alt=""><figcaption><p><a href="https://discord.com/invite/u3DruB5pm5"><strong>https://discord.com/invite/u3DruB5pm5</strong></a></p></figcaption></figure>

### HTTP&#x20;

Since HTTP is language agnostic you can use an HTTP client in your language of choice to access the API. It's not as easy as using our SDK, but if you are familiar with making HTTP requests this should be doable.

#### Authorization

First of all you'd need to authorize your app with our API. For that you need to register an API client in Campaign -> Developer -> API Keys. Make sure to choose the `client_credentials` grant.

#### API Specification

After obtaining your `access_token` you can use it to make authorized requests to our REST API. Inspect the API spec for providing Custom Quests with event requirements.

{% content-ref url="/pages/uQOuOukvOp0VRuLFPtlk" %}
[API Specification](/developers/api/api-specification.md)
{% 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://docs.thx.network/developers/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.
