Acquire your API key
Bloodbath APIs use API keys to authenticate requests.
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
The easiest way to generate and get your API key is to sign-up on Bloodbath via our dashboard. Once you've signed up you can go to the settings section which will have your key.

You can use this key to communicate will all Bloodbath APIs.
To make sure your API key is valid and working, you can try the ping endpoint via cURL
curl <https://api.bloodbath.io/rest/ping> \\
-H "Authorization: Bearer <Replace this with your API key>"
# OK Response
{
"received_at": "2021-05-12T00:41:55.733297Z"
}
Last modified 1yr ago