Links

Authorization Headers

Each request to the API (Cloud-API and Gateway-API) should include an Authorization header.

Get the Authorization Header from the Account Portal

For convenience, clients can find the Authorization Header under Account Details in the Account Portal and use it to send transactions and check account quota.

Reconstruct Authorization Header from the Parameters

Parameters

Reconstruction
Parameter
Description
Account ID
Account ID received when registering the account
Secret hash
Secret hash received when registering the account

Examples

Reconstruction
Authorization header construction code example in Python:
import base64
base64.b64encode(f"{account_id}:{secret_hash}".encode("utf-8")).decode("utf-8")
​
​