> For the complete documentation index, see [llms.txt](https://developers.weglot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.weglot.com/api-reference/readme.md). Agents can also search and read this documentation through its [MCP server](https://developers.weglot.com/~gitbook/mcp).

# API Reference

Reference of the Weglot API 2.0. OAuth credentials are given on request while the API is not open for self-serve access.

The Weglot API 2.0 reference is in the navigation, grouped by resource. Your application calls it with an OAuth 2.0 access token, on behalf of a Weglot user: see [Authentication](https://developers.weglot.com/api-reference/api-2.0/authentication.md).

The API 2.0 is not open for self-serve access yet: OAuth credentials are given on request.

## Want to build with the API? Come talk to us

We give access on a case-by-case basis while the API 2.0 is not open for self-serve access.

To request API credentials, email us at [developers@inbound.weglot.com](mailto:developers@inbound.weglot.com?subject=API%20access%20request\&body=What%20do%20you%20want%20to%20build%3F%0A%0A%0AYour%20Weglot%20account%20email%20and%20workspace%3A%0A%0A%0AApp%20name%20and%20website%20%28shown%20on%20the%20consent%20screen%29%3A%0A%0A%0ARedirect%20URIs%3A%0A%0A%0ADo%20you%20act%20on%20behalf%20of%20Weglot%20users%2C%20or%20do%20you%20need%20server-to-server%20access%3F%0A%0A) and tell us what you want to build. The email template lists what we need to set up your access.

To discuss your integration with the Weglot team, join the Weglot Community Slack.

<a href="mailto:developers@inbound.weglot.com?subject=API%20access%20request&#x26;body=What%20do%20you%20want%20to%20build%3F%0A%0A%0AYour%20Weglot%20account%20email%20and%20workspace%3A%0A%0A%0AApp%20name%20and%20website%20%28shown%20on%20the%20consent%20screen%29%3A%0A%0A%0ARedirect%20URIs%3A%0A%0A%0ADo%20you%20act%20on%20behalf%20of%20Weglot%20users%2C%20or%20do%20you%20need%20server-to-server%20access%3F%0A%0A" class="button primary">Request API access</a> <a href="https://inviter.co/weglot" class="button secondary">Join the Slack community</a>

## Looking for API 1.0?

The previous version is still available. See the [API 1.0 reference](https://developers.weglot.com/api-reference/api-1.0/1.0.md).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.weglot.com/api-reference/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
