Skip to main content
Call BlnkInit to create a client. It is synchronous — do not await it.

API key

Blnk Core reads the X-Blnk-Key header. The SDK sets it from the first argument to BlnkInit.
API key argumentX-Blnk-Key headerWhen to use
Non-empty stringSent with the key valueProduction, Blnk Cloud, or any secured Core instance
'' (empty string)OmittedLocal development when Core runs without auth
blnk.Hooks and blnk.ApiKeys require the master key (server.secret_key) — a scoped API key returns 403. Do not set X-Blnk-Key manually in your application code. Pass the key to BlnkInit and the SDK adds the header on every request.

Next steps

Use Client options to configure timeouts, retries, and logging, then open the method pages for the resource you want to call.