Record that the request was not genuine (ADMIN+, dashboard user)
const url = 'https://api.invogi.com/v1/bank-change-notices/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reject';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"note":"Our contact on file says they never sent this"}'};
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://api.invogi.com/v1/bank-change-notices/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reject \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "note": "Our contact on file says they never sent this" }'Needs a note. The selected accounts are reported for the workspace: an invoice paying to one of them, from any supplier, gets a BANK_ACCOUNT_REPORTED finding that blocks it. Default: every account in the email except ones already trusted (verified for any supplier, or on the request’s supplier’s invoices since at least 30 days before it arrived; any supplier’s when the request has none). Pass accountIds to choose instead.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Required to verify or reject: who you called, on which number from your own records, and when
The request’s accounts the decision applies to. Verification must include every account not labelled OLD; rejection may select a subset.
Example
{ "note": "Our contact on file says they never sent this"}Responses
Section titled “Responses”The request, REJECTED
object
Who sent the email to Invogi
object
Who the request claims to come from; null when a colleague forwarded it without the original header
object
Supplier name as printed (AI-read
object
Masked, e.g. GB29 •••• 6819 or 60-16-13 · ••••6819
Typed in by a person from the request rather than read from the email
The signed-in user entered this account by hand
True when the signed-in user entered this account by hand and the workspace requires a different admin or owner to verify it
Whoever verified the request had also entered this account by hand
object
object
object
The email text and PDF text that was read (first 32,000 characters). Unmasked only for a signed-in OWNER or ADMIN; otherwise IBANs and labelled account numbers are masked to the last four
Other requests naming any of these accounts (a duplicate forward, a repeat attempt, an account decided before), newest first, up to 10
object
Account numbers masked
Invoices paying to these accounts (or still held for one), newest first, up to 20, with their current decision. They are re-decided whenever the request is recorded or decided.
object
Example
{ "status": "OPEN", "sender": { "source": "HEADER" }, "supplierMatchMethod": "CONTACT_EMAIL", "accounts": [ { "kind": "UK", "role": "NEW" } ], "signals": [ { "code": "NO_ACCOUNT_FOUND" } ], "extractionMethods": [ "TEXT_PATTERNS" ], "relatedNotices": [ { "status": "OPEN" } ], "invoices": [ { "decision": "PASS" } ]}Invalid request
API key lacks required scope/role
Resource not found
Conflicting idempotency key or resource processing state