Auth is a special entity that is used to acquire authenticated access to store areas without actually asking the user to enter the access credentials in a login form.
This entity supports only
POST requests. In a response, it returns a generated session key and a ready-to-use link for the user to follow. This link can contain an optional
redirect_url param, which defines where the user will be redirected immediatelly after they follow the generated link.
- http://example.com/api/auth—request authentication key and link. Only
Supported params are given below (mandatory param is marked with *).
redirect_url—URL for the user to be redirected to immediatelly after following the link.
key—session key for the authenticated user.
link—authentication link for the user to follow. The link contains the session key (as the
redirect_urlparam was provided in the request, the link will contain the
redirect_urlparam, and the user will be immediately redirected to the provided URL.