• Home
  • Resources
  • Objects
  • Guide
    • What is an API
    • Creating an app
    • Using the API
    • Troubleshooting
    • Login
    • IQL query language
    • API Playground
    • Get started
    • Error messages
    • Access scopes
    • Introduction to general concepts
  • Home>
  • Resources>
  • auth/status/get

GET auth/status/get

Returns information about the current session based on access token.
If the accessToken field is undefined the user is not authenticated.

Resource information

Request method GET
Response object LoginStatus
Response format JSON, XML

Example

https://api.induct.no/v1/12345/auth/status

JSON result:
{
    "accessToken": {
        "id": 1,
        "token": "1234554321",
        "expiresIn": 43088,
        "tokenType": "bearer",
        "company": {
            "id": 1
        },
        "user": {
            "id": 2,
            "uri": "https://api.induct.no/v1/12345/users/2",
            "firstName": "Max",
            "lastName": "Power",
            "firstNameLastName": "Max Power"
        }
    },
    "companyHostname": "induct.induct.no"
   }

Induct API 1.0

Last API system update:
11/23/2020 8:43:56 AM

↑ Back to top

© Induct Software AS