Reference 360 > Reference 360 REST API > Session IDs
  

Session IDs

To authenticate your Reference 360 REST API requests, you must get a session ID and add it to the header of every request. The Informatica Intelligent Cloud Services (IICS) Identity Service issues the session ID.
To log in and authenticate, you can use Login API V3, Login API V2 or Login API V1. After you log in, you get a session ID that you must use to authenticate API requests. Ensure that you use only the IDS-SESSION-ID header for authentication, not the Authorization header.
Note:
If your session ID expires, log in again to get a new session ID.
Login API V3
To get a session ID using Login API V3, submit the following POST request with your credentials:
POST https://dm-us.informaticacloud.com/saas/public/core/v3/login
Accept: application/json
Content-Type: application/json

{
"username": "<username>",
"password": "<password>",
}
The login response includes the session ID and base URL that you need to include in subsequent REST API calls.
Use values from the following fields in the REST API calls:
Login API V2
To get a session ID using Login API V2, submit the following POST request with your credentials:
POST https://dm-us.informaticacloud.com/ma/api/v2/user/login
Accept: application/json
Content-Type: application/json

{
"username": "<username>",
"password": "<password>",
}
Use the base URL and session ID returned in the response for subsequent requests during this session.
Login API V1
To get a session ID using Login API V1, submit the following POST request with your credentials:
POST https://dm-us.informaticacloud.com/identity-service/api/v1/Login
Accept: application/json
Content-Type: application/json

{
"username": "<username>",
"password": "<password>",
}
The response returns a sessionId.
For example, you might receive the following response:
{
...
"sessionId": "95H4irGZd6glXndROHbniS",
"sessionExpireTime": "2025-01-01T00:00:00.000Z",
...
}
To authenticate your requests, add IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX in the request header.
The following example shows how IDS-SESSION-ID is used in the request header:
POST https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/model/export HTTP/1.1
Content-Type: application/json
Accept: application/json
IDS-SESSION-ID: 95H4irGZd6glXndROHbniS

{
"referenceDataSetIds":[
"56dbde1afe4d8257b6d7735e",
"a83fa4bda81df711caca4e71"
]
}