Logo
AAH 2020.4 API Documentation

01 Authenticate PLATFORM

POST https://{{IPAddr}}/api/v1/authenticate

Authenticate a user. You can pass either a siteId or a siteName (not both) along with the email/password to log in to a specific site. If you pass neither the user will be logged into the site for which they have the oldest membership. Alternatively, set the siteName as platform to authenticate to the platform.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://IPAddr/api/v1/authenticate' -H 'Content-Type: application/json' -d '{"email":"AdminMail","password":"AdminPassword","siteName":"platform"}'

ENDPOINTS