Forum Discussion

dsharma's avatar
dsharma
Adept
2 years ago

How to create API accessible user account with Community

I am new to Khoros platform and want to crawl data from community. For that I did signup process with one lithium community and got my username and password. 

I am trying to authenticate myself with via retrieve-the-session-key but api response says 

curl --location --request \
    POST 'https://community.alteryx.com/restapi/vc/authentication/sessions/login' \
    --form 'user.login=dshrm' \
    --form 'user.password=****'
<response status="error">
  <error code="302">
    <message>
      User authentication failed.
    </message>
  </error>
</response>

I am trying to get user details via LiQl basic query `select * from users limit 1`

What exactly process do I need to follow to authenticate myself ?

11 Replies