Readers

Reader heartbeat

Changed on

Keep a reader session alive and mark the reader as online in the Dashboard. Call it every 5 minutes with the current session token. Each successful heartbeat returns a new token and refresh token and invalidates the previous ones, so switch to the returned token immediately.

get/api/v1/readers/{id}/heartbeat

Request

  • Base URL
    https://api.passentry.com
  • URL
    https://api.passentry.com/api/v1/readers/{id}/heartbeat
  • Auth
    HTTP bearer

Path parameters

idstring required

Reader ID

Response

Successful

messagestring
tokenstring

New reader session token. Replaces the previous token immediately.

refresh_tokenstring

New refresh token. Replaces the previous refresh token immediately.

Changes