Accept invite
POST
/api/auth/accept-invite
const url = 'https://hitkeep.com/api/auth/accept-invite';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"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://hitkeep.com/api/auth/accept-invite \ --header 'Content-Type: application/json' \ --data '{ "password": "example", "token": "example" }'Sets password for invited user using invite token.
Request Body required
Section titled “Request Body required ” Media type application/json
object
password
required
string
token
required
string
Example generated
{ "password": "example", "token": "example"}Responses
Section titled “ Responses ”Status
Media type application/json
object
message
string
status
string
Example generated
{ "message": "example", "status": "example"}