Authentication
About Authentication
Most of the PixAI API require authentication. We use API Keys to authenticate requests. You can view and manage your API Keys in the profile edit page.
After creating an API Key, you need to pass it in the Authorization
header of each request. PixAI expects for the API key to be included in all API requests to the server in a header that looks like the following:
Failed authentication
If you try to use an API without a token or with a token that has insufficient permissions, you will receive a 404 Not Found or 403 Forbidden response. Authenticating with invalid credentials will initially return a 401 Unauthorized response.