Documentation > api >
POST Get your license key
Javascript example
const data = {
email: email,
password: password
};
fetch(
'https://screenshot.express/api/v1/account/login',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'your api key',
"accept": "application/json",
},
body: JSON.stringify(data),
})
.then((response) => response.json())
.then((data) => {
console.log('Success:', data);
// Do something
})
.catch((error) => {
console.error('Error:', error);
}
);
Example response
{
"code": 200,
"user_id": 3,
"licenses": [
"137968a29c7f506914a*************"
]
}