Register New User
POST
/v1/users/register
const url = 'https://example.com/api/v1/users/register';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example","name":"example","password":"example","token":"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://example.com/api/v1/users/register \ --header 'Content-Type: application/json' \ --data '{ "email": "example", "name": "example", "password": "example", "token": "example" }'Request Body required
Section titled “Request Body required ”User Data
Media type application/json
object
email
string
name
string
password
string
token
string
Example generated
{ "email": "example", "name": "example", "password": "example", "token": "example"}Responses
Section titled “ Responses ”No Content
Local login is not enabled
Media type application/json
string
Example generated
example