Skip to content

Get started

Authentication

Create an API key and send it with every request.

Every request is authenticated with an API key in the X-API-Key header.

curl https://byteit.ai/v1/jobs/ \
-H "X-API-Key: $BYTEIT_API_KEY"

Create your first key in ByteIt Studio, under Settings and then API keys. Once you have one, you can also manage keys through the API: create, list and delete.

A key has the form <id>.<secret>. Always send the complete key.

A missing or invalid key returns 401 with the UNAUTHORIZED error code. A valid key without access to the resource returns 403 with FORBIDDEN. See Errors.