Generate Bearer Token

Generates or retrieves a valid bearer token for a given public key. This token is used to authenticate requests and lasts for 1 hour.

post/api/b2b/auth/generate-bearer-token

Request

  • Base URL
    https://api-v2.honeycoin.app
  • URL
    https://api-v2.honeycoin.app/api/b2b/auth/generate-bearer-token
  • Auth
    none required

Headers

api-keystring

Request body

publicKeystring

Response

200

successboolean
tokenstring

Example response

{
  "success": true,
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.