Get Current Session Details

GET /public/v1/session

Headers

  • X-COMPANY-ID string Required

    The company's unique ID

Responses

  • 500 */*

    Internal Server Error

  • 200 */*

    OK

    Hide response attribute Show response attribute object
    • expiry string(date-time) Required

      Session expiry date time in UTC

GET /public/v1/session
curl \
 --request GET 'https://live.smartpmtech.com/public/v1/session' \
 --header "X-API-KEY: $API_KEY" \
 --header "X-COMPANY-ID: string"
Response examples (500)
{}
Response examples (200)
{
  "expiry": "2024-12-31T23:59:59+00:00"
}