Skip to content

Verify API key

POST
/api/v1/auth/verify-key
curl --request POST \
--url https://app.ayna.com/api/v1/auth/verify-key \
--header 'Content-Type: application/json' \
--data '{ "api_key": "example" }'

Exchange an API key for JWT access and refresh tokens.

Media typeapplication/json
APIKeyVerifyRequest
object
api_key
required
Api Key

API key to verify

string

Example generated

{
"api_key": "example"
}

OK

Media typeapplication/json
Response
object
key
additional properties
any

Example generated

{}