Auth

Validate API key

Confirms the supplied apikey header is valid and returns the owning account.

get/auth/validate

Request

  • Base URL: https://codequiry.com/api/v1
  • URL: https://codequiry.com/api/v1/auth/validate
  • Auth: API key in header apikey

Response

Key is valid

validboolean
user_idinteger
emailstring
namestring

Example response

{
  "valid": true,
  "user_id": 20481,
  "email": "d.whitfield@university.edu",
  "name": "Dana Whitfield"
}

Changes

No recorded changes to this operation across all 1 revision of this API.