API SpecificationPRIVATExeonr.auth.private.v1.AutomationService
Get Automation Key Info
Returns the application, covered clients, bound user and limits of the automation key presented as the bearer token.
Authorization
BearerAuth AuthorizationBearer <token>
JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.AutomationService/GetKeyInfo" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"keyId": "string",
"name": "string",
"applicationId": "string",
"applicationSlug": "string",
"applicationName": "string",
"clients": [
{
"clientId": "string",
"name": "string",
"supportsCode": true,
"supportsDevice": true,
"supportsRefresh": true,
"confidential": true
}
],
"user": {
"userId": "usr_a1b2c3d4e5f6",
"username": "johndoe",
"email": "[email protected]",
"avatarUrl": "https://cdn.example.com/avatars/abc123"
},
"scopes": [
"string"
],
"expiresAt": "2023-01-15T01:30:15.01Z",
"issuer": "string"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Authorize POST
Completes an OAuth authorization request on behalf of the key's bound user and returns the redirect URL, authorization code and state.
Mint Token POST
Issues an access token, and optionally an ID token and refresh token, for the key's bound user against one of the application's clients. Scopes are filtered exactly as consent would filter them.