> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/connect-and-administer/integrations/get-your-api-key-or-token.md). Agents can also search and read this documentation through its [MCP server](https://docs.podigee.com/~gitbook/mcp).

# Get your API key or token

Copy or reset your API key, or create a named token for the REST API.

Use this task to get a credential for the REST API v1. You can use the account API key or create a named personal access token for the REST API. A named token is the safer choice, because you can remove one token and keep the others.

## Before you start

* Your plan includes API access: Scale and above, or an older plan that includes it. Without API access, Podigee does not show the API key and you cannot create a REST API token.
* Members of an organization use the API access of the organization owner's plan.
* A credential has the rights of the user who creates it. To limit an integration to some podcasts, or to stop it from publishing, create the REST API token as an organization member who has only those rights. See [Limit what an integration can do](https://docs.podigee.com/api-reference/rest-api/authentication-and-errors#limit-what-an-integration-can-do).
* Keep each credential on your server. After you reset the API key, every integration needs the new key.

{% tabs %}
{% tab title="Classic view" %}

### Copy the API key

1. Open the user menu and select **My account**, then open the **API** tab.
2. Read the value in the **API key** field.
3. Copy the key into your integration.

### Reset the API key

1. Open the user menu and select **My account**, then open the **API** tab.
2. Select **Reset API key**.
3. Confirm the prompt **Are you sure you want to reset your key?**.

Podigee shows **API key has been reset successfully!** and replaces the key. Every integration that uses the old key no longer works. Update each integration with the new key.

### Create a REST API token

1. Open the user menu and select **My account**, then open the **API** tab.
2. In the **Personal access tokens** section, select **Create REST API token**.
3. Enter a name for the token.
4. Select the scope **Read** or **Read and write**.
5. Confirm.
6. Copy the token from the **Token created** message.

Podigee shows the token once, with the note **Copy this token now. You will not be able to see it again.**. Podigee stores only a digest and shows the last four characters in the token list.

### Remove a token

1. Open the user menu and select **My account**, then open the **API** tab.
2. Find the token in the **Personal access tokens** list.
3. Select **Remove**.
4. Confirm the prompt.

Podigee shows **Personal access token removed.**. Podigee refuses requests with that token from now on.

### Expected result

You hold one credential for the REST API. A REST API token starts with `pdg_pat_`. The token list shows it with the status **Does not expire** and a **Last used** time. The **Last used** time updates at most every 5 minutes.

### If you cannot complete the task

* The **API** tab shows an upgrade message: your plan does not include API access. Upgrade to Scale or above, or ask the organization owner to upgrade.
* You created a Model Context Protocol (MCP) token instead of a REST API token: the REST API refuses MCP tokens. Create a token with **Create REST API token**.
* Your tokens disappeared: Podigee removes all personal access tokens when the subscription is canceled or suspended, or when the trial is expired. Create new tokens after the subscription is active again.

![API tab of My account in the classic view on the Launch plan with the upgrade message, the Upgrade plan button, and the Connector access section](https://2032417310-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbqUKO6lljHGzkEAzliPI%2Fuploads%2Fgit-blob-f09e19a0dbc05230132c95e68b62cb2af992de05%2Fdoc-integrations-003-classic-upgrade-message.png?alt=media)

On a plan without API access, the API tab shows the upgrade message instead of the API key.

### Notes on token lifetime

* REST API tokens do not expire automatically. Remove a token that you no longer use.
* A plan change that removes API access does not delete REST API tokens, but the REST API refuses them until the plan includes API access again.
* The API key is not the auth token for the WordPress plugin. The settings tab states this with the note **Please note, this API key will not be used for WordPress.**
  {% endtab %}

{% tab title="Podigee workspace" %}

### Open the API keys

1. Select your name at the bottom of the sidebar to open the account menu.
2. Select **Data & integrations**.
3. Select the tab **API keys**.

The tab shows the panel **Account API key** and the list of your tokens.

### Copy the API key

1. Find the panel **Account API key**.
2. Select **Copy key**.

Podigee shows **Key copied**.

If the panel shows no key, it shows the button **Create key**:

1. Select **Create key**. The dialog **Reset your API key?** opens.
2. Select **Reset key**.

Podigee shows **Your API key has been reset.** The panel now shows the new key. Select **Copy key**.

### Reset the API key

1. In the panel **Account API key**, select **Reset key**.
2. In the dialog **Reset your API key?**, select **Reset key**.

Podigee shows **Your API key has been reset.** The old key stops working at once. Update each integration with the new key.

### Create a REST API token

1. Select **Create REST API token**.
2. In **What is it for?**, enter the name of the tool that uses the token.
3. Under **What should it be allowed to do?**, select **Read only** or **Read and write**.
4. Select **Create token**.
5. In the dialog **Your key is ready**, select **Copy key**.
6. Select **I have copied it**.

Podigee shows the token only in this dialog. After you close it, Podigee cannot show the token again.

### Remove a token

1. In the token list, open the **Actions** menu of the token.
2. Select **Remove**.
3. In the dialog **Remove this key?**, select **Remove key**.

Podigee shows **That key has been removed.** Podigee refuses requests with that token from now on.

### Expected result

You hold one credential for the REST API. A REST API token starts with `pdg_pat_`. The token list shows it with the type **REST API**, the last four characters of the token, and **Never** in the column **Stops working**. The column **Last used** updates at most every 5 minutes.

### If you cannot complete the task

* The tab shows no **Create REST API token** button and no panel **Account API key**: your plan does not include API access. Upgrade to Scale or above, or ask the organization owner to upgrade. If the tab has no other key, it shows **Your plan does not include building on the API.**
* Your subscription is canceled or suspended, or your trial is expired: reactivate the subscription in **Plan & billing** first. The REST API refuses tokens that you create while the subscription is inactive. If the tab has no key, it shows **Your plan is not active, so you cannot make new keys.**
* Your tokens disappeared: Podigee removes all personal access tokens when the subscription is canceled or suspended, or when the trial is expired. Create new tokens after the subscription is active again.
* The token list shows the type **MCP** for your token: the REST API refuses MCP tokens. Create a token with **Create REST API token**.
  {% endtab %}
  {% endtabs %}

## Next step

[Make your first API request](https://docs.podigee.com/api-reference/rest-api/make-your-first-api-request). Then follow [Publish an episode from your own system](https://docs.podigee.com/api-reference/rest-api/publish-an-episode-from-your-own-system).


---

# 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://docs.podigee.com/documentation/connect-and-administer/integrations/get-your-api-key-or-token.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.
