> For the complete documentation index, see [llms.txt](https://docs.thx.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thx.network/developers.md).

# Developers

- [HTML Widget](https://docs.thx.network/developers/html-widget.md): Your campaign widget exposes various functionality to your site in order to create seamless onboarding experiences.
- [JS SDK](https://docs.thx.network/developers/js-sdk.md): Created Identities and register Events in your application using \`THXAPIClient\` or rebuild the campaign widget in your own environment using \`THXBrowserClient\`.
- [Identity](https://docs.thx.network/developers/js-sdk/identity.md): Use an Identity to assign Events in your system to THX users and build quests around it.  Learn how to connect an Identity to a THX account using your campaign widget.
- [Events](https://docs.thx.network/developers/js-sdk/events.md): Create event data and configure custom quests for these events. Your users will be able to earn points for for example levelling up in your game.
- [API](https://docs.thx.network/developers/api.md): Using the API keys and an OAuth2 grant you will be able to access API resources for your campaign.
- [API Specification](https://docs.thx.network/developers/api/api-specification.md): Below we have listed the resources and their API specification that you should implement as part of the Identity & Event framework.
- [Example](https://docs.thx.network/developers/api/example.md): Using the new and improved authentication method one can build their own campaign UI.
- [Webhooks](https://docs.thx.network/developers/webhooks.md): Implement a public endpoint in your app and receive campaign events. Verify requests using the signing secret as in the given example. This is what protects the endpoint!
- [QR codes](https://docs.thx.network/developers/qr-codes.md): Use QR codes to distribute rewards in offline environments.
- [Audits](https://docs.thx.network/developers/audits.md): In June 2021 the team of security audit firm Pessimistic.io conducted an extensive on the state of our smart contracts as of commit b5587b48112e3b319212aef06264c1d38fbe1cad.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.thx.network/developers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
