External
Document Platform

Create a session token

Exchange an API key for a short-lived session token suitable for browser use.

post/building_owners/{buildingOwnerId}/sessions/

Request

  • Base URL: http://localhost:9000
  • URL: http://localhost:9000/building_owners/{buildingOwnerId}/sessions/
  • Auth: API key in header x-api-key

Path parameters

buildingOwnerIdstring required

Request body

expires_ininteger

Token lifetime in seconds (60–86400). Default 3600.

Response

Default Response

tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.