> For the complete documentation index, see [llms.txt](https://documentation.carbonregistry.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.carbonregistry.com/documentation/carbonregistry.com/api/apps/authentication/authenticate-as-an-organization.md).

# Authenticate as an Organization

### Using an Organization Access Token to Access Organization Resources

First go to the organization's dashboard that you want to have access to using the api. Click the `Create access token` button and fill in the information needed, name, description and choose how long this access token should last. Note, you can choose a custom end-date for the token but we recommend to use short timeframes. Setting the end-date to 100years in the future, even though this is supported, it is not recommended.

<div><figure><img src="/files/G9U8PZvMUtYtvM8QS0nx" alt=""><figcaption></figcaption></figure> <figure><img src="/files/HBwZIWm7kp3cgsrjpQ5i" alt=""><figcaption></figcaption></figure></div>

&#x20;Remember to choose the permissions this token will have by clicking the `Organization permission` accordion. Now when that is all done you can click `save`  and your newly created access token will be displayed. You need to copy the token and store it yourself, we do not store the tokens so if it is lost you'll need to generate a new one.

Then, use that access token in the `Authorization` header of the REST API.&#x20;


---

# 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://documentation.carbonregistry.com/documentation/carbonregistry.com/api/apps/authentication/authenticate-as-an-organization.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.
