# API Access

The Pushly API uses API Tokens to allow access to the API.

Organization API Tokens is available in the platform to **Organization Admin** users. They can be generated by [navigating to the Organization Settings](https://documentation.pushly.com/platform/organizations/..#accessing-organization-context) page and then clicking the **Create Token** button.

<figure><img src="https://810756845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lry9Z27iWOZyQEGAgY7%2Fuploads%2FC4V2gEmfAG0oICwSowom%2FScreenshot%202024-11-05%20at%202.57.21%E2%80%AFPM.png?alt=media&#x26;token=65cc14cf-2982-4725-9f74-2d1029ec3dfb" alt=""><figcaption></figcaption></figure>

## Creating a New API Token

From the API Tokens page click the **Create Token** button, enter a Token Label that represents the primary use of the API Token, and then click the **Create Token** button.

After clicking the **Create Token** button a new modal will show that contains the newly generated token. Click the **Copy Token** button to copy the new token to your clipboard.&#x20;

{% hint style="warning" %}
Ensure you save the token before closing the modal. Once the modal is closed you will not be able to view the token again.
{% endhint %}

<figure><img src="https://810756845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lry9Z27iWOZyQEGAgY7%2Fuploads%2FbLZiP8N3xo0Xw3qVGPAT%2FScreenshot%202024-11-05%20at%203.01.26%E2%80%AFPM.png?alt=media&#x26;token=b253c65e-1ae1-40ed-9bb0-a09539427c99" alt=""><figcaption></figcaption></figure>

## Revoking an Existing API Token

If an existing API Token is no longer in use or needs to be invalidated click the **Revoke** button from the API Tokens list page. On the resulting confirmation modal click the **Revoke Token** button to invalidate the token from future use.

<figure><img src="https://810756845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lry9Z27iWOZyQEGAgY7%2Fuploads%2FlIAYYf8YJLZHHgLzOawt%2FScreenshot%202024-11-05%20at%203.04.21%E2%80%AFPM.png?alt=media&#x26;token=026542ba-ce18-45fc-b646-25c62df9f210" alt=""><figcaption></figcaption></figure>
