To start using the Privicore API, you first need to authenticate your account. You do this by sending your username and password to the /profile/atempt-authentication
endpoint.
Example:
javascriptCopy codeconst response = await axios.post(`${process.env.BASE_URL}/profile/atempt-authentication`, {
username: 'your_username',
password: 'your_password'
});
const commandId = response.data[0]; // Save the command ID
After authentication, you’ll get a command ID that will be used in the next steps.
Leave A Comment