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 MarkdownFields
publicIdstringNames the key: safe to show and to say to support, and what its token starts with after hmk_live_. It proves nothing
notestringIts 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 of
images:readimages:writefolders:readfolders:writeshares:readshares:writecomments:readcomments:writelikes:readlikes:writenotifications:readnotifications:writeusers:readusers:writeemailkeys:writeconstraintsobjectipsstring[]optionalThe only addresses it works from: single addresses and CIDR ranges, IPv4 or IPv6. From anywhere when left out
perMinuteintegeroptionalAt most this many requests a minute, across every endpoint; a 429 past it
folderIdintegeroptionalEvery image it uploads goes into this folder of yours, whatever the upload says
visibilityenumoptionalEvery image it uploads gets this visibility, whatever the upload says
One of
UnlistedPublicPrivate
usesLeftinteger | nullRequests left before it ends by itself, each request one; null for no limit
parentstring | nullThe public id of the key it was cut from, or null
createdAtdate-timeusedAtdate-timeexpiresAtdate-time | null
{
"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"
}Returned by
The endpoints whose data holds an ApiKey as it is, and where.
Extended by
The endpoints that return an ApiKey with fields of their own, and the fields they add.
- post
/keysMake a personal API key (`hmk_…`) for your own scripts, bots and the SDK, holding only the scopes you choose: the same ones apps ask for, and `keys:write` for a key that cuts child keys from itselfaddstoken - post
/keysCut a child key from an API key (concept 22 §7adds/:publicId /children token - get
/usersYour personal API keys that work, newest first, each with the child keys cut from itadds/:userId /keys childrento each