Agree.com · AsyncAPI Specification
Agree.com Webhooks
Version 1.0.0
Real-time event notifications from the Agree contract-to-cash platform. Agree POSTs a signed JSON body to endpoints you register through POST /api/v1/webhooks. Twelve event types are published, covering the invoice lifecycle, the agreement signature lifecycle, and a test event. Delivery is at-least-once with a five-attempt exponential backoff.
View Spec
View on GitHub
AgreementsElectronic SignatureContract ManagementInvoicingBillingPaymentsAccounts ReceivableFintechFinancial-ServicesWebhooksMCPagent-nativeAsyncAPIEventsWebhooks
Channels
webhookEndpoint
The single URL you register. All subscribed event types are delivered to it with the same envelope; the event type is carried in the body's "event" member, not in the path.
Messages
invoiceCreated
Invoice was created
Fires after POST /invoices.
invoiceSent
Invoice emailed to customer
Fires when delivery completes.
invoiceDue
Invoice reached due status
Fires when status becomes due - either the scheduled job runs after sent (past due_at), or the invoice is sent already at or past due_at (immediate due).
invoicePaid
Payment successful
Fires after payment confirmation.
invoiceFailed
Payment attempt failed
Fires after payment rejection. The invoice status becomes failed but the customer can retry payment using the same link.
invoiceCanceled
Invoice was canceled
Fires after DELETE /invoices.
invoiceRefunded
Invoice payment was refunded
Fires after a refund is processed.
agreementCreated
Agreement was created
Fires after POST /agreements.
agreementSent
Agreement was sent to recipients
Fires when status changes to sent.
agreementSigned
Agreement was signed by a recipient
Fires when a recipient signs. Emitted once per signer.
agreementExecuted
Agreement was fully executed
Fires when all signers have signed.
webhookTest
Test event
Fires when you trigger a test via POST /api/v1/webhooks/test.
Servers
https
subscriber
Your own HTTPS endpoint, registered via POST /api/v1/webhooks. HTTPS is required in production. Agree is the publisher; your endpoint is the server that receives.
AsyncAPI Specification
Work with this as data
Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.