Skip to main content

GET /api/applications/key

Validate an API key and return associated project and application info and permissions.

Request

Headers
HeaderRequiredDescription
X-API-KeyYesThe API key to verify
No request body.

Response

200 OK

{
  "success": true,
  "message": "API key is valid",
  "data": {
    "project_id": "proj_xyz789",
    "application_id": "app_abc123",
    "name": "My Application",
    "permissions": {
      "tokenization": { "allowed": true },
      "provisioning": { "allowed": false }
    }
  }
}

Error responses

StatusExample message
401Invalid API key
See Status codes.