Account

Mint a long-lived device token

For background uploads and the share extension, where a Clerk session token (which lives about a minute) is impractical. A token unused for 90 days is dropped.

post/api/device-token

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/device-token
  • Auth: HTTP bearer

Query parameters

namestring

A label for the device.

Response

The new token; store it securely.

tokenstring required

A long-lived bearer credential, dtk_…

Changes

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