--- title: "Authorization" slug: "authorization" updated: 2025-07-11T10:06:52Z published: 2025-07-11T10:06:52Z canonical: "docs.grassfish.com/authorization" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.grassfish.com/llms.txt > Use this file to discover all available pages before exploring further. # Authorization Some API requests require authorization. There are two options to authorize yourself: the session ID and the API key. > [!NOTE] > Note > > If you write your own service, we recommend that you create a specific user for it in IXM One. That means, one specific user per application who has the rights and permissions that you need them to have when using the API. ## Session ID When you're logged into IXM One, you get a session ID. With the API, you can use this session ID to log in as your IXM One user. The session ID is always connected to a user. When you use it, you have the same rights and permissions that the user has in IXM One. For example, if the user is not an admin, you can’t query the rights of other users. #### Get your session ID Learn how to retrieve your session ID in our [tutorial](https://docs.grassfish.com/apidocs/get-started). > [!NOTE] > Note > > For security reasons, the session ID expires after a certain period of time. ## API key You can create an API key to perform tests with your personal IXM One user. When you use the key for authorization, you have the same rights and permissions that this user has in IXM One. #### Get your API key To get your API key, perform the following steps: 1. Log into IXM One as an administrator. 2. Go to **Administration > Permissions**. 3. In the **User management** pane, double-click on the user that you want to use with the API. 4. In the **Edit user** window, switch to the **API Key** tab. 5. Copy the available API key or create a new one to copy.