REST API Reference > Informatica Intelligent Cloud Services REST API > Session IDs
  

Session IDs

When you log in to an Informatica Intelligent Cloud Services organization using the REST API, the login resource returns the REST API session ID. You include this session ID in most subsequent REST API requests during the session.
Prior to November 3, 2025, the session ID authentication type is always used after a user logs in. Effective November 3, 2025, the organization administrator can configure the organization to use one of following authentication types:
Include the session ID in the header for all API requests other than login requests. The attribute name in the header can vary depending on the resource:
The following example shows how icSessionId is used in the header for a REST API version 2 call::
GET https://app.informaticacloud.com/saas/api/v2/licenseInfo/org/<id>
Content-Type: application/xml
Accept: application/xml
icSessionId: <session ID>
The following example shows how INFA-SESSION-ID is used in the header for a REST API version 3 call:
GET https://app.informaticacloud.com/saas/public/core/v3/license/org/{orgId}
Content-Type: application/json
Accept: application/json
INFA-SESSION-ID: 9KA11tLGqxVcGeul8SQBK3
You can submit a POST request to determine the status of a session ID. Use the following URI to submit the request:
/api/v2/user/validSessionId
Include the following attributes in the request:
For example, you might use the following request:
POST https://app.informaticacloud.com/saas/api/v2/user/validSessionId
Content-Type: application/json
Accept: application/json

{
"@type": "validatedToken",
"userName": "user@informatica.com",
"icToken": "9KA11tLGqxVcGeul8SQBK3"
}
The response returns whether the session ID is valid or not and the number of minutes left before the session ID expires. For example, you might receive the following response:
{
"@type": "validatedToken",
"timeUntilExpire": 29,
"isValidToken": true
}
Note: The timeUntilExpire value changes to "0" when the session will expire in less than 1 minute. The isValidToken value changes to "false" when the session expires. To avoid the risk of authentication failure, reauthenticate when the timeUntilExpire value changes to 0.