Skip to main content

Get Login Instructions

The getLoginInstructions API command retrieves the following information displayed on the login page:

  • User name label: The label for the username field.
  • Password label: The label for the password field.
  • Login page message: A custom message displayed on the login page.

Depending on system configurations, the returned data may include HTML and/or JavaScript. If present, these elements will be included in the response.

GET https://instance.securid.com/aveksa/command.submit?cmd=getLoginInstructions

Request

Parameters

getLoginInstructions
formatproperties - (Default) key=value. most useful when requesting a single object. If multiple objects are returned, values is a csv. ie key=value1,value2,value3 where value1 is the value for the first object, value2 is the value for the 2nd object, etc.

json - Useful format for parsing into javascript or other languages. See www.json.org for details.

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/json

Response

Parameters

username-labelThe label for the username field. This may include HTML or JavaScript for dynamic rendering.
password-labelThe label for the password field. Similar to the username label, it may contain HTML or JavaScript.
instructionsOptional login instructions displayed on the login page. This field may be empty or include HTML and JavaScript.

Examples

Request

curl -K -X GET \
"https://instance.securid.com/aveksa/command.submit?cmd=getLoginInstructions&format=json" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"

Response

{
"data": {
"type": "getLoginInstructions",
"instructions": "",
"username-label": "User Name",
"password-label": "Password"
}
}