post https://{OrangeLogicURL}/api/Authentication/v2.0/Login
Obtain a login token
The response to this call is a token that you can use to authenticate subsequent API calls. This token can be used only with HTTP requests from the IP address that requested the token.
Warning
This is the least secure authentication method.
Notes
- To use the User login endpoint, you must have the Authorize to log in using an API call Security Function.
- When you log in, either via API or with the Orange Logic interface, your web browser creates a session cookie that is valid for both the user interface and API calls. The cookie remains active for the duration of the session. As long as you remain logged in and continue to use the same browser, you don’t need to provide a token to authenticate API calls. If you provide an invalid token while a valid cookie is in effect, Orange Logic accepts the cookie and ignores the token.
Response headers
This API returns standard headers in an APIRequestInfo section.
In addition, this API returns an APIResponse section that shows how Orange Logic has interpreted the user information provided. This section of the response includes a user login name, password, and email. Use this information to verify that the token you receive is authentication for the intended user.