Authentication and authorization
Create and manage customer access tokens.
To generate an anonymous token, check out the 'Requesting an anonymous token' endpoint.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Customer account password.
Created
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Sends an authentication request and returns an anonymous token. This operation causes creation of a new session-context document.
Anonymous token is valid for one hour. After that time it should be refreshed in order to keep the same session ID associated.
Name of the tenant.
Note: Name of the tenant is always written in lowercase.
{tenant}Your Emporix API key - client ID.
{client_id}The request was successful. An anonymous token is returned.
The request was successful. An anonymous token is returned.
Sends an authentication request and returns new anonymous token with same session ID attached.
This operation causes update of a session-context document with given session ID.
Anonymous token is valid for one hour. After that time, another refresh anonymous token request should be sent.
Name of the tenant.
Note: Name of the tenant is always written in lowercase.
{tenant}NOTE: It's recommended to use refresh_token parameter instead. Anonymous token that needs to be refreshed so that the same session ID will be kept. Provide the value of the access_token you get in response to requesting a token request.
{GOToGKaEKFyR8DokPBwHH0Y3AKCo}A refresh token generated when the anonymous token is created.
{7FnviYrxvQWYdzUVBVTvXeNAA4Jy1HPe}Your Emporix API key - client ID.
{client_id}The request was successful. An anonymous token is returned.
The request was successful. An anonymous token is returned.
To generate an anonymous token, check out the 'Requesting an anonymous token' endpoint.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Customer email address.
Customer account password.
The request was successful. A customer token is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
To generate a customer access token, go to the 'Logging in a customer' endpoint.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Customer access token to be invalidated.
No Content
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
No content
To generate an anonymous token, check out the 'Requesting an anonymous token' endpoint.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Customer refresh token generated when a customer token is requested.
{customer_refresh_token}Identifier of the legal entity associated with the user session.
Customer access token generated when the customer token is created.
Bearer {customer_access_token}The request was successful. A refresh token is returned.
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Checks whether a token is valid. If the token is invalid, it returns a 401 status code. If the token is valid, it provides the token details.
To generate a customer access token, go to the 'Logging in a customer' endpoint.
Name of the tenant.
Note: Name of the tenant is always written in lowercase.
{tenant}Customer access token generated upon the customer token creation.
Bearer {customer_access_token}The request was successful. A token details are returned.
Unauthorized
To generate an anonymous token, check out the 'Requesting an anonymous token' endpoint.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$The authorization code received from the identity provider.
The redirect URI that was used in the initial authorization request.
Required only if using PKCE (Proof Key for Code Exchange) flow.
Anonymous customer unique session identifier.
OK
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
Last updated
Was this helpful?

