Logins

Fetch current login

get/login

Request

  • Base URL
    https://api.kisi.io
  • Auth
    • API key in header Authorization
    • or OAuth 2
      Authorization codehttps://api.kisi.io/oauth/authorize
      Token URLhttps://api.kisi.io/oauth/token
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

idsstring

Filter by object IDs

Response

OK

idinteger required

The ID of the login

created_atstring date-time required

When the login was created

updated_atstring date-time required

When the login was updated

type'api' | 'device' required

The type of the login.

namestring nullable required

The name for the login.

primaryboolean required

Whether the login is the primary login.

expireboolean required

Whether the login expires.

last_used_atstring date-time nullable required

When the login was last used.

device_brandstring nullable required

The brand of the device.

device_modelstring nullable required

The model of the device.

os_namestring nullable required

The name of the OS.

user_idinteger required

The user ID of the login

Changes

No recorded changes to this operation across all 13 revisions of this API.