I4A API 2.0: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
'''Example''': | '''Example''': | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="bash"> | ||
curl --location --request POST 'https://<yourdomain.com>/i4a/api2/authenticate' \ | curl --location --request POST 'https://<yourdomain.com>/i4a/api2/authenticate' \ | ||
--form 'username="XXXXXXXX"' \ | --form 'username="XXXXXXXX"' \ |
Revision as of 13:29, 26 October 2022
Security
To access any of the API functionality, you must first authenticate. Information is available on the API Settings page on how to obtain the values needed to authenticate and update them, if need be.
REST Authentication
Example:
curl --location --request POST 'https://<yourdomain.com>/i4a/api2/authenticate' \
--form 'username="XXXXXXXX"' \
--form 'password="XXXXXXXX"' \
--form 'token="XXXXXX-XXXX-XXXXX-XXXXXXXXXXX"'
Response: