--- title: "API Documentation & Access" slug: "api-access" updated: 2026-06-23T19:48:54Z published: 2026-06-23T19:48:54Z canonical: "help.nucleussec.com/api-access" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.nucleussec.com/llms.txt > Use this file to discover all available pages before exploring further. # API Documentation & Access ### Documentation Nucleus has a comprehensive API that is fully documented using Swagger. API documentation can be accessed from within your Nucleus instance. Once logged in, view the top right navigation. Access the API documentation by clicking on the Help menu ‘?’ and select the option for **API Docs** button in . ![](https://cdn.document360.io/3888970a-6501-459e-acc9-c47b71c6d64c/Images/Documentation/UserHelpAPIDocs.png) ### Access #### Generating a User API Key Users with [API Access](https://help.nucleussec.com/docs/users-roles-and-permissions#api) can create their own API key. API Key Expiration A user's API Key will remain valid unless they regenerate a new one or until the user is deleted/disabled. Follow these steps to generate an API key for your user account: 1. Log into your Nucleus console. 2. In the top right of the screen, click on the **User** icon and then click **User Profile**. 3. If this is your first time using an API key, click **Generate API Key**. 4. Click the **Copy** icon to copy the API key to your clipboard. #### Generating a Service Account API Key Nucleus [organization administrators](https://help.nucleussec.com/docs/users-roles-and-permissions#organization-admin) can create service account API keys. Follow these steps to create a service account and generate an API key: 1. Navigate to the **Global Dashboard** **> Global Administration > Users**. 2. In the top row, click **Add API Account**. 3. Enter an **API Account Username**. This account will only have API access. 4. **Select the project(s)** that the account will have access to. 5. For each project, assign the account a **Role** within it. See [Defining new roles](https://help.nucleussec.com/docs/users-roles-and-permissions#defining-new-roles) for creating a new role with different permissions. 6. Click **Create Account**. 7. Find the newly created account in the **Users** list, and under the **Actions** column click the icon **View API Key For Account.** 8. Click **Show API Key**. 9. Copy the API key and click **Close**. #### Using the API Key 1. Navigate to the API documentation page from the top right navigation of the Nucleus console under Help > API Docs. ![](https://cdn.document360.io/3888970a-6501-459e-acc9-c47b71c6d64c/Images/Documentation/UserHelpAPIDocs(1).png) 1. The swagger-based Nucleus API documentation will open in a separate tab 2. Click Authorize 3. Paste your API Key into the pop-up and click Save You can now test all the calls in the Nucleus documentation by clicking on the Try it out button in each of the API sections. ![api-try-it-out-button.png](https://cdn.document360.io/3888970a-6501-459e-acc9-c47b71c6d64c/Images/Documentation/api-try-it-out-button.png) If you have any questions, please contact us through the [support center](https://nucleussec.atlassian.net/servicedesk/customer/portal/3).