Autional Autional
API Reference GitHub autional.com →

POST /internal/identity/validate-key

Gateway/other services call this endpoint to validate an API Key

API Key None application/json

Request Body

Schema: dto.ValidateKeyRequest

FieldTypeRequiredExampleConstraintsDescription
api_key string Yes

Responses

StatusDescriptionSchema
200Validation successfuldto.ValidateKeyResult
401Invalid Key

Referenced Schemas

dto.ValidateKeyResult

FieldTypeRequiredExampleConstraintsDescription
ip_restrictions array of

See dto.ipRestrictionDTO

No
key_id string No
scopes array of

string

No
status string No
tenant_id string No
user_id string No

dto.ipRestrictionDTO

FieldTypeRequiredExampleConstraintsDescription
id string No
label string No
status string No
value string No