MasChain API Authentication
The MasChain API uses a custom API key header for authentication.
Authentication Header
Include your MasChain API key in the maschain-api-key
header:
maschain-api-key: YOUR_MASCHAIN_API_KEY
API Key Management
MasChain API keys are managed by MasChain administrators. Contact the system administrator if you need a new MasChain API key or need to rotate existing keys.
warning
MasChain API keys have elevated privileges and can manage organisation API keys and contracts. Store them securely and never share them.
note
This authentication is different from the DApp API authentication which uses client_id and client_secret.