login

description

Authenticates a user given a user email and password.

parameters

resource

{
	"email":"<buzzy email address>",
	"password":"<buzzy password>"
}

response

returns the Buzzy internal userid and authentication token.

example

POST /api/login 

{
	"email":"adam.ginsburg@gmail.com",
	"password":"password"
}

You should get back something like:

{
    "status": "success",
    "data":
    {
        "authToken": "<token>",
        "userId": "<user id returned>"
    }
}

Last updated