Authenticate each request

42videobricks API are protected by an authentication mechanism based on API key.

You need to set your API Key (as the "x-api-key" header) to each API call.

curl --request POST \
     --url <<SBX_SERVER>>/videos \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: <my-apy-key>' \
     --data '
{
  "title": "My video tilre",
  "description": "My video desctiption",
  "public": false
}

Getting your API Keys

You can manage your api keys in the apikeys section of the admin: ApiKeys Admin

More about ApIkeys.