Skip to main content
Verify an API key for a registered user.
Requires a generated API key to verify.
x-api-key
string
required
Generated API key obtained from the /generated-key endpoint

Example Request

curl -X 'GET' \
  'https://data-extraction-971s.onrender.com/verify-key' \
  -H 'accept: application/json' \
  -H 'x-api-key: example_key'

Example Response

{
  "status": "success",
  "message": "API Key valide",
  "data": {
    "api_key": "example_key",
    "api_key_id": 0,
    "client_id": 0,
    "level": "free"
  }
}

Success Response

StatusDescription
200Returns

Error Responses

StatusDescriptionExample
401Invalid API keyjson { "detail": "Clé API invalide" }