Hi, how can we help you today?

Authentication

Before making API requests, you'll need to set up authentication to securely access your Scenario account.

All API requests use Basic authentication, which requires including an Authorization header with every request. This header contains your API credentials encoded in Base64 format.

The header format is:Authorization: Basic <credentials>

Where <credentials> is the Base64 encoding of your API key and secret joined by a colon.

For example, if your API key is hello and your secret is world, you would:

  1. Combine them with a colon: hello:world

  2. Encode this string in Base64: aGVsbG86d29ybGQ=

  3. Include the header: Authorization: Basic aGVsbG86d29ybGQ=

Was this helpful?

Quentin

Quentin