Project Phil Documentation
Sign in

Authentication

Every /api/keys request must include your API key in the x-api-key HTTP header. The key is sent as a request header, not in the request body.

If the header is missing or the key is wrong, the API returns 403 with the message Not authorized to access this resource.

Note: /api/check does not use your API key. For that route, x-api-key holds the license key being checked.

Headers

  • x-api-keystringrequired
    Your API key.

Responses

  • 403Not authorized to access this resource.

Request

curl -X GET 'https://api.example.com/api/keys' \
  -H 'x-api-key: YOUR_API_KEY'

403 Not authorized to access this resource.

{
  "msg": "Not authorized to access this resource."
}
Written by !RAB Last updated 1 Dec 2026

Discussion 0

No comments yet. Sign in with Discord to start the conversation.