Test authentication

Verify that your authentication credentials are working correctly.

get/auth-test

Request

  • Base URL: https://api.diffchecker.com/public
  • URL: https://api.diffchecker.com/public/auth-test
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in query parameter email

Query parameters

emailstring email

Your email address. Required if not using an API key.

Headers

Diffchecker-Version'1'

API version to serve the request with. Defaults to the newest version, currently 1, when omitted. An unsupported version is rejected with 400 UNSUPPORTED_API_VERSION. See Versioning and Deprecation in the getting started guide.

Response

Authentication is working correctly.

creditsUsedinteger required
messagestring required

Example response

{
  "message": "Auth is working correctly."
}

Changes

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