Authentication

Validate API key

Validate an API key and return its details.

Use this endpoint to verify that an API key is valid.

get/validate

Request

  • Base URL
    https://integrations.wellows.com/api/v1
  • Auth
    API key in header X-API-Key

Headers

X-Project-IDinteger

Project ID (optional - used to validate access to a specific project)

Response

API key is valid

successboolean
messagestring
codeinteger
errorsobject
meta_dataobject

Example response

{
  "success": true,
  "message": "API key is valid",
  "code": 200,
  "data": {
    "valid": true,
    "key_level": "USER",
    "user_id": 123,
    "project_id": 456,
    "expiry": "2025-12-31T23:59:59Z"
  }
}

Changes

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