Some API requests require authorization. There are two ways to authorize yourself: the session ID and the API key.
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
To get your session ID, perform the following steps:
Access the IXM One API.
Go to Users > Log a user into the system.
In the body, enter your IXM One application name, username, and password.
Optionally, enter your Application GUID. If you don’t have one, just leave it as is.
Check the response to retrieve your session ID.
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.
Get your API key
To get your API key, perform the following steps:
Log into IXM One as an administrator.
Go to Administration > Permissions.
In the User management pane, double-click on the user that you want to use with the API.
In the Edit user window, switch to the API Key tab.
Copy the available API key or create a new one to copy.