Owner Token

Mint a fresh owner token and its derived owner id

Changed on

Returns {token, ownerId} where token is a 32-char base62 owner token and ownerId is its 64-char lowercase SHA-256 hex. Stateless: nothing is persisted. Send the returned token as X-Owner-Token when publishing to claim ownership.

get/api/owner-token

Request

  • Base URL
    https://brewpage.app
  • Auth
    none required

Response

Fresh owner token minted

OwnerTokenResponse required
token, string
ownerId, string

Changes

    • info

      added the optional property level to the response with the status

    • info

      added the optional property challengeUrl to the response with the status

    • info

      added the optional property siteKey to the response with the status