Accounts API
OK
Bad Request
POST /v2/e01/api/accounts/cookies/login HTTP/1.1
Accept: */*
{
"AuthenticationSource": "text",
"Created": "text",
"CurrentBrowser": "text",
"CurrentBrowserVersion": "text",
"CurrentOrganization": "text",
"ID": "123e4567-e89b-12d3-a456-426614174000",
"ImpersonatorOrganization": "text",
"ImpersonatorUser": "text",
"IsAuthenticated": true,
"Language": "text",
"Modified": "text",
"OrganizationCode": "text",
"OrganizationIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"Session": "text",
"TimeZoneId": "text",
"UserEmail": "text",
"UserIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"ValidationKey": "text",
"Environment": "text"
}OK
No content
POST /v2/e01/api/accounts/cookies/logout HTTP/1.1
Accept: */*
OK
No content
Creates a new authentication cookie with the specified name and lifetime using the raw request body as the cookie value.
In contrast to security/cookies/generate endpoint, this endpoint makes no assumptions about the request body. This means you can POST whatever cookie name and cookie value you want (encoded/escaped or not) and this method tries to create a new cookie for you. This is useful for testing the behaviour of the API when it receives unexpected (or corrupted) cookie tokens. Please note this endpoint is available in localhost environments only!
The name of the cookie to create. If not provided, uses the default cookie name from API configuration settings.
The lifetime of the cookie in seconds. If not provided, uses the default lifetime from API configuration settings.
OK
Bad Request
POST /v2/e01/api/accounts/cookies/create HTTP/1.1
Accept: */*
{
"Value": "text"
}Introspects the current authentication cookie and returns detailed information about the authentication and authorization status.
OK
No content
GET /v2/e01/api/accounts/cookies/introspect HTTP/1.1
Accept: */*
OK
No content
OK
Bad Request
POST /v2/e01/api/accounts/cookies/validate HTTP/1.1
Accept: */*
{
"AuthenticationSource": "text",
"Created": "text",
"CurrentBrowser": "text",
"CurrentBrowserVersion": "text",
"CurrentOrganization": "text",
"ID": "123e4567-e89b-12d3-a456-426614174000",
"ImpersonatorOrganization": "text",
"ImpersonatorUser": "text",
"IsAuthenticated": true,
"Language": "text",
"Modified": "text",
"OrganizationCode": "text",
"OrganizationIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"Session": "text",
"TimeZoneId": "text",
"UserEmail": "text",
"UserIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"ValidationKey": "text",
"Environment": "text"
}OK
No content
POST /v2/e01/api/accounts/cookies/change-language/{language} HTTP/1.1
Bearer: YOUR_API_KEY
Accept: */*
OK
No content
OK
No content
POST /v2/e01/api/accounts/cookies/change-theme/{theme} HTTP/1.1
Bearer: YOUR_API_KEY
Accept: */*
OK
No content
OK
No content
POST /v2/e01/api/accounts/cookies/refresh-session HTTP/1.1
Bearer: YOUR_API_KEY
Accept: */*
OK
No content
OK
POST /v2/e01/api/accounts/passwords/hash HTTP/1.1
Accept: */*
OK
{
"Hash": "text"
}The number of days until the secret expires.
- Minimum: 1 Day
- Maximum: 365 Days
- Default (if omitted): 90 Days
OK
Bad Request
POST /v2/e01/api/accounts/secrets/generate HTTP/1.1
Bearer: YOUR_API_KEY
Accept: */*
{
"PersonId": "123e4567-e89b-12d3-a456-426614174000",
"SecretId": "123e4567-e89b-12d3-a456-426614174000",
"SecretName": "text",
"SecretType": "text",
"SecretValue": "text",
"SecretLifetimeLimit": 1,
"SecretExpiry": "2026-01-01T00:00:00.000Z"
}OK
No content
GET /v2/e01/api/accounts/secrets/introspect HTTP/1.1
Secret: YOUR_API_KEY
Accept: */*
OK
No content
OK
Unauthorized
POST /v2/e01/api/accounts/tokens/generate HTTP/1.1
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 207
{
"Debug": true,
"Paging": true,
"Secret": "text",
"Lifetime": 1,
"Organization": "123e4567-e89b-12d3-a456-426614174000",
"Agent": "123e4567-e89b-12d3-a456-426614174000",
"Subject": "123e4567-e89b-12d3-a456-426614174000"
}{
"AccessToken": "text",
"TokenType": "text",
"ExpiresIn": 1,
"Lifetime": "text",
"Paging": "text"
}OK
Unauthorized
POST /v2/e01/api/security/tokens/generate HTTP/1.1
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 207
{
"Debug": true,
"Paging": true,
"Secret": "text",
"Lifetime": 1,
"Organization": "123e4567-e89b-12d3-a456-426614174000",
"Agent": "123e4567-e89b-12d3-a456-426614174000",
"Subject": "123e4567-e89b-12d3-a456-426614174000"
}{
"AccessToken": "text",
"TokenType": "text",
"ExpiresIn": 1,
"Lifetime": "text",
"Paging": "text"
}OK
GET /v2/e01/api/accounts/tokens/introspect HTTP/1.1
Bearer: YOUR_API_KEY
Accept: */*
OK
{
"Jwt": null,
"Principal": null
}OK
POST /v2/e01/api/accounts/tokens/validate HTTP/1.1
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 16
{
"Token": "text"
}OK
{
"Subject": "text",
"SignatureVerification": "text",
"ExpiryVerification": "text",
"AudienceVerification": "text",
"IssuerVerification": "text"
}Last updated
Was this helpful?