Authenticating your requests to the Bluerails API using your Organization ID and API Key.
401 Unauthorized
error.
We use standard HTTP Basic Authentication over HTTPS.
ORGANIZATION_ID
.API_KEY
.Authorization
header for every API request.
Constructing the Header:
ORGANIZATION_ID:API_KEY
(your Organization ID, followed by a colon, followed by your secret API key).Basic
(with a space) to the Base64 encoded string.blue_test_sk_...
.blue_live_sk_...
.curl
, letting it handle the Basic Auth encoding: