OAuth
Validate access token
Request parameters
{
"accessToken": "example"
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{
"data": {
"identities": [
{},
{}
],
"userId": {},
"machineId": {},
"expiresAt": "2007-07-20T14:33:34Z"
}
}
Authenticate user and return access/refresh token
Request parameters
{
"apiKey": "example",
"secretKey": "example",
"identity": "example",
"password": "example"
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{
"data": {
"accessToken": {
"token": "example",
"expires": "1983-08-13T23:33:37Z"
},
"refreshToken": {
"token": "example",
"expires": "1983-08-13T23:33:37Z"
}
}
}
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
Revoke the refresh token.
Request parameters
{
"refreshToken": "example",
"allOfUser": false
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{}
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
Refresh tokens.
Request parameters
{
"apiKey": "example",
"secretKey": "example",
"accessToken": "example",
"refreshToken": "example"
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{
"data": {
"accessToken": {
"token": "example",
"expires": "1983-08-13T23:33:37Z"
},
"refreshToken": {
"token": "example",
"expires": "1983-08-13T23:33:37Z"
}
}
}
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
Get authentication token for machine/client
Request parameters
{
"apiKey": "example",
"secretKey": "example"
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{
"data": {
"token": "example",
"expires": "1983-08-13T23:33:37Z"
}
}
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
Forgot password request
Request parameters
{
"identity": "example"
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{}
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
Reset password
Request parameters
{
"resetToken": "example",
"password": "example"
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{}
Get permissions
Request parameters
{
"accessToken": "example"
}
Responses
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
{
"data": [
"example"
]
}
{
"errors": [
{
"i18N": "example",
"error": "example",
"type": "example"
}
]
}
Last modified: 17 August 2024