users

Check the credentials and return the REST Token if the credentials are valid and authenticated. Calls Django Auth login method to register User ID in Django session framework

Accept the following POST parameters: username, password Return the REST Framework Token Object's key.

post/users/login/

Request

  • Base URL
    https://api.dash.crewtraka.com
  • URL
    https://api.dash.crewtraka.com/users/login/
  • Auth
    • API key in header Authorization
    • or none

Headers

X-Companystring

The company id to request data for

Request body

usernamestring
emailstring email
passwordstring required

Response

keystring required

Changes

No recorded changes to this operation across all 45 revisions of this API.