Authentication

You'll need to authenticate your requests to access any of the endpoints in Bodia API. In this guide we'll look at how authentication works.

API Key Authentication

You'll need to create an API Key - you will find it in the Bodia Settings under API settings. Here's how to add the API Key to the request header using cURL:

Example request with bearer token

curl https://api.bodia.ai/v1/finetunes \
  -H "Authorization: Bearer {API_KEY}"

Please don't commit your Bodia API Key to GitHub!