Register a new account
POST
/api/v1/auth/register
const url = 'https://dashboard.justcrawl.io/api/v1/auth/register';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","password":"example","name":"example","agreedToTerms":true}'};
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/register \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "password": "example", "name": "example", "agreedToTerms": true }'Request Body required
Section titled “Request Body required ” Media type application/json
object
email
required
string format: email
password
required
string
name
required
string
agreedToTerms
required
boolean
Example generated
{ "email": "hello@example.com", "password": "example", "name": "example", "agreedToTerms": true}Responses
Section titled “ Responses ”Account created successfully
Validation error
Email already registered