Skip to content
Dashboard

developers / Models

ApiKey

A personal API key or a child key cut from one, as its owner sees it: its name, scopes, what narrows it, its uses left and when it ends. Never its token: only the response that makes it has that.

This page as Markdown

Fields

  • publicIdstring

    Names the key: safe to show and to say to support, and what its token starts with after hmk_live_. It proves nothing

  • notestring

    Its name, as Settings → API keys lists it

  • scopesenum[]

    What it may do: the apps' scopes, and keys:write for cutting child keys from itself

    One ofimages:readimages:writefolders:readfolders:writeshares:readshares:writecomments:readcomments:writelikes:readlikes:writenotifications:readnotifications:writeusers:readusers:writeemailkeys:write

  • constraintsobject
  • usesLeftinteger | null

    Requests left before it ends by itself, each request one; null for no limit

  • parentstring | null

    The public id of the key it was cut from, or null

  • createdAtdate-time
  • usedAtdate-time
  • expiresAtdate-time | null
Example
{
  "publicId": "m0plGGtn67kMZy6D",
  "note": "ShareX",
  "scopes": [
    "images:read"
  ],
  "constraints": {
    "ips": [
      "203.0.113.7"
    ],
    "perMinute": 0,
    "folderId": 1,
    "visibility": "Unlisted"
  },
  "usesLeft": 0,
  "parent": "string",
  "createdAt": "2026-11-10T18:24:00.000Z",
  "usedAt": "2026-11-10T18:24:00.000Z",
  "expiresAt": "2026-11-10T18:24:00.000Z"
}