This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Body
application/json
Response
Webhook processed successfully
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/webhook/royalty/file-update/webhook \
  --header 'Content-Type: application/json' \
  --data '{
  "fileId": "file_123456",
  "status": "completed",
  "recordsProcessed": 15420,
  "totalAmount": 12450.75,
  "errors": []
}'This response does not have an example.Receives status updates for royalty file processing from external systems
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/webhook/royalty/file-update/webhook \
  --header 'Content-Type: application/json' \
  --data '{
  "fileId": "file_123456",
  "status": "completed",
  "recordsProcessed": 15420,
  "totalAmount": 12450.75,
  "errors": []
}'This response does not have an example.const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/webhook/royalty/file-update/webhook', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "fileId": "file_123456",
    "status": "completed",
    "recordsProcessed": 15420,
    "totalAmount": 12450.75,
    "errors": []
  })
});
const data = await response.json();
console.log(data);
Webhook processed successfully