Access and authentication
Authentication Methods
JWT Authentication
Token Lifecycle:
Authentication Flow:
Body
usernamestringRequiredExample:
User's username
john.doepasswordstring · passwordRequiredExample:
User's password
SecurePass123!Responses
200
Successful authentication
application/json
Idstring · uuidOptionalExample:
12345678-1234-1234-1234-123456789abcCreatedstring · date-timeOptionalExample:
2023-01-15T10:30:42UsernamestringOptionalExample:
john.doeEmailstring · emailOptionalExample:
[email protected]FirstnamestringOptionalExample:
JohnLastnamestringOptionalExample:
DoeTokenstringOptionalExample:
JWT token for authentication
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...PasswordExpirationstring · date-timeOptionalExample:
2024-06-15T18:30:00401
Incorrect credentials
application/json
403
Password expired
application/json
post
/user/loginAPI Key authentication
Authorizations
AuthorizationstringRequired
JWT token obtained from /user/login endpoint
Body
namestringRequiredExample:
Name for the auth header
production-api-keyResponses
200
Auth header created successfully
application/json
idstringOptional
Auth header ID
namestringOptionalExample:
Auth header name
production-api-keytokenstringOptional
Auth header token value
createdstring · date-timeOptional
Creation timestamp
post
/authheader/add200
Auth header created successfully
Authorizations
AuthorizationstringRequired
JWT token obtained from /user/login endpoint
Responses
200
List of auth headers
application/json
idstringOptional
Auth header ID
namestringOptionalExample:
Auth header name
production-api-keytokenstringOptional
Auth header token value
createdstring · date-timeOptional
Creation timestamp
get
/authheader/list200
List of auth headers
Authorizations
AuthorizationstringRequired
JWT token obtained from /user/login endpoint
Body
textstringRequired
Auth header token to delete
Responses
200
Auth header deleted successfully
application/json
messagestringOptionalExample:
Successpost
/authheader/delete200
Auth header deleted successfully
Last updated
Was this helpful?