Check API key πŸ”‘

GET /connect

Checks if the provided API key is valid.

Responses

  • 200 application/json

    Valid API key

    Hide response attributes Show response attributes object
  • 403 application/json

    Invalid API key

    Hide response attributes Show response attributes object
GET /connect
curl \
 -X GET https://api.ppe-analytics.com/api/v1/connect \
 -H "PPEApiKey: $API_KEY"
Response examples (200)
{
  "status": "OK",
  "message": "This API key is valid for coporation mi-6"
}
Response examples (403)
{
  "status": "ERROR",
  "message": "Invalid API key. Did you provide it as PPEAPIKey header? Check the doc at https://api-doc.ppe-analytics.com. Contact us at support@ppe-analytics.com if you need some help."
}