Create a new User session and get the api_token.
{ "api_token": "0161851792e6fe45816488bbfc709c50", "email": "matteo@passdock.com", "success": true }
curl -i -d '{"user": {"email":"matteo@passdock.com","password":"the_secure_password"}}' https://api.passdock.com/api/v1/sessions
Param name | Description |
---|---|
user required |
The JSON containing the login informations. Value: Must be a Hash |
user[email] required |
Email used for every login Value: Must be String |
user[password] required |
Desired password Value: Must be String |