Skip to main content

Get Form Token * * *

Generate a session specific form token representing a form name. This is required for security.

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

Request

Parameters

getFormToken
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.
The form name
The session token, usually retrieved in external form selectors using JavaScript as parent.afx.sessionToken

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/json

Response

Parameters

typeExecuted command name
formTokenThe form token to pass to parent.avxfs.launchForm (formToken).

Examples

Request

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

Response