Documentation Index
Fetch the complete documentation index at: https://docs.gistmag.co.uk/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Verify that an API key is valid and get information about the associated account.
Request Body
Example Request
curl -X POST https://api.gistmag.co.uk/verify-key \
-H "Content-Type: application/json" \
-d '{
"api_key": "your_api_key_here"
}'
Response
Whether the API key is valid
The subscription tier associated with this API key (free, pro, enterprise)
The user ID associated with this API key
Example Response (Valid Key)
{
"valid": true,
"subscription_tier": "pro",
"user_id": "user_123456"
}
Example Response (Invalid Key)
{
"valid": false,
"error": "Invalid API key"
}
Use Cases
- Validate API keys before making requests
- Check subscription tier programmatically
- Verify API key status in your application
This endpoint does not consume credits and can be called freely to verify API keys.