const options = {
method: 'POST',
headers: {
'x-api-key': '<your-api-key>',
'Content-Type': 'application/json',
},
body: JSON.stringify({
jobId: '123e4567-e89b-12d3-a456-426614174000',
reviewStatus: 'APPROVED',
}),
};
fetch('https://api.getomni.ai/review-status', options)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));