Skip to main content

Basic Authorization Block

Basic Authorization is a simple authentication scheme where the client sends username and password directly in the API request. The credentials are encoded (but not encrypted) using Base64 encoding.


Try it Out​

  1. In your Voiden file, type /auth-basic and press Enter to create a Basic Authorization Block.

Authorization Block Slash Command

  1. Fill the required params for the block.
  2. Hit Cmd + Enter (Mac) or Ctrl + Enter (Windows/Linux) to run the request
    or click the green Play button in the toolbar.

Authorization Block Response


Block Parameters​

ParameterValueDescription
usernamestringUser identifier for authentication
passwordstringUser password for authentication

Summary​

Basic Authorization sends your username and password Base64-encoded with every request — simple to set up with /auth-basic, just two fields, and ready to run. Keep in mind it's encoded, not encrypted, so it's best paired with HTTPS.