Trigger a webhook event with a CSV attachment.
Send a multipart/form-data request with the CSV file and, optionally, the event
name and a message. Defaults to the file.deduction.ready event.
Notes:
fileis required and must be a non-empty.csv(max 10 MB).-
eventdefaults tofile.deduction.ready. It is validated by its root segment — the parent before the first dot (e.g. the root offile.publisherisfile) — which must be a registered topic; an unknown root returns400listing the valid roots. This mirrors delivery routing, so subscribers on"file"receive anyfile.*event. - The generated download URL is a pre-signed URL valid for 15 minutes.
Headers
- Type: stringAuthorizationrequired
Authentication JWT used to validate your session. Format: Bearer {token}
Body
required
application/json
Optional human-readable message included in the event payload.
Responses
Request Example for post/api/v1/webhook-trigger
curl https://sandbox.bmgmoney.com/law/api/v1/webhook-trigger \
--request POST \
--header 'Authorization: Bearer AAAAAAAAAAAAAAAAAAAAAMLheAAAAAAA0%2BuSeid%2BULvsea4JtiGRiSDSJSI%3DEUifiRBkKG5E2XzMDjRfl76ZC9Ub0wnz4XsNiRVBChTYbJcE3F' \
--header 'Content-Type: multipart/form-data' \
--form 'File=@filename' \
--form 'Event=' \
--form 'Message='
{
"event": "string",
"fileName": "string",
"downloadUrl": "string"
}