Log in with email and password
POST
/api/v1/auth/login
const url = 'https://dashboard.justcrawl.io/api/v1/auth/login';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.justcrawl.io/api/v1/auth/login \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "password": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
email
required
string format: email
password
required
string
Example generated
{ "email": "hello@example.com", "password": "example"}Responses
Section titled “ Responses ”Authenticated; returns user, accessToken, refreshToken
Missing email or password
Invalid email or password