> For the complete documentation index, see [llms.txt](https://docs.gobo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gobo.io/app-development/get-an-access-token.md).

# Get an Access Token

In order for your app to begin making API calls, you must first obtain an access token.&#x20;

Gobo serves as an OAuth 2.0-compliant authorization server, and issues access tokens to apps for accessing your API(s).

### What is OAuth?

OAuth is an open standard for access delegation, commonly used as a way for Internet users to grant websites or applications access to their information on other websites but without giving them the passwords. – [Whitson Gordon](https://en.wikipedia.org/wiki/OAuth#cite_note-1)

### OAuth2 Authorization Grants

An authorization grant is a credential representing the resource owner’s authorization (to access its protected resources) used by the client to obtain an access token. – [RFC6749](https://tools.ietf.org/html/rfc6749#section-1.3)

The OAuth framework specifies several [grant types](https://oauth.net/2/grant-types/) for different use cases. Gobo supports two of the grant types for accessing your API(s):

* [Client credentials](/app-development/get-an-access-token/client-credentials-flow.md) - for access on behalf of an app
* [Authorization code](/app-development/get-an-access-token/authorization-code-flow.md) - for access on behalf of a customeruser

Only access tokens obtained via the authorization code flow will contain a `user` claim.


---

# 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://docs.gobo.io/app-development/get-an-access-token.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.
