/auth/login

View as Markdown
This endpoint is used to authenticate an individual user. A succcessful login will return a unique token along with the following user information: - user - user_id - email - first_name - last_name - subscription - part_number - expire_date

Authentication

Authorizationstring
API Key authentication via header

Query parameters

emailstringOptional
passwordstringOptional
md5 hashed password

Request

This endpoint expects an object.
emailstringRequiredformat: "email"
passwordstringRequired

Response headers

X-Frame-Optionsstring
X-XSS-Protectionstring
X-Content-Type-Optionsstring
Strict-Transport-Securitystring

Response

OK
userobject
tokenstring
subscriptionobject