Bloodbath API
Search…
Acquire your API key
Bloodbath APIs use API keys to authenticate requests.

First things first

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.
Authentication to the API is performed via Bearer Authentication.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Where to find my API key?

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.

How to check my API key is valid?

To make sure your API key is valid and working, you can try the ping endpoint via cURL
1
curl <https://api.bloodbath.io/rest/ping> \\
2
-H "Authorization: Bearer <Replace this with your API key>"
3
4
# OK Response
5
{
6
"received_at": "2021-05-12T00:41:55.733297Z"
7
}
Copied!
Last modified 28d ago