Skip to main content
POST
/
sign-hawk
Sign HAWK authentication for BVNK API requests
curl --request POST \
  --url https://api.platform.dakota.xyz/sign-hawk \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "method": "GET",
  "url": "https://api.bvnk.com/platform/v1/customers",
  "body": ""
}
'
{
  "Authorization": "Hawk id=\"api-key-id\", ts=\"1640995200\", nonce=\"abc123\", mac=\"base64-encoded-mac\""
}

Authorizations

x-api-key
string
header
required

Body

application/json
method
string
required

HTTP method for the request to be signed

Example:

"GET"

url
string
required

Full URL of the request to be signed

Example:

"https://api.bvnk.com/platform/v1/customers"

body
string

Request body (empty string for GET requests)

Example:

""

Response

Successfully generated HAWK authorization header

Authorization
string

HAWK authorization header value

Example:

"Hawk id=\"api-key-id\", ts=\"1640995200\", nonce=\"abc123\", mac=\"base64-encoded-mac\""