Log in and get your access token.
- Your REST API app.
- User ID, password, and organization ID from Integral.
- Login URL.
Use the Login and get token endpoint.
https://3ac93db9-6290-458d-9482-0dc0a0e9607a.remockly.com/v2/sso/login
- Payload
- JavaScript
application/json
{ "user": "apiUserId", "pass": "This is a long password!", "org": "apiOrganizationId" }
Your access token is in SSO_TOKEN of the response header. Your token is valid for limited time.
Response header example:
[
...
{
"key": "Set-Cookie",
"value": "SSO_TOKEN=hidH61Uy63IYT08avDFEUUrEO_Sn-BZ6yEqyON5SJS_h0gU8vOaNItVGllwHTH; Domain=.integral.com; Path=/",
"description": "Sends cookies from the server to the user agent.",
"enabled": true,
"disableEdit": true,
"info": "Sends cookies from the server to the user agent."
},
{
"key": "Set-Cookie",
"value": "SSO_TOKEN=hidH61Uy63IYT08avDFEUUrEO_Sn-BZ6yEqyON5SJS_h0gU8vOaNItVGllwHTH; Path=/",
"description": "Sends cookies from the server to the user agent.",
"enabled": true,
"disableEdit": true,
"info": "Sends cookies from the server to the user agent."
},
...
]Pass the SSO_TOKEN cookie value with all of your subsequent API requests.