Discover
Read /llms.txt or /openapi.json. No account or browser session is required for discovery.
SendInkwire for agents
Agent flow
The API returns rendered messages, complete normalized recipient addresses, validation findings, price, an approval hash, an MPP payment challenge, a private status token, and recipient-level state.
Read /llms.txt or /openapi.json. No account or browser session is required for discovery.
Submit one card or up to 100 recipients. Inspect each final message, warning, error, and the exact campaign price.
Return the approval hash for the reviewed content. Any content change creates a mismatch and blocks the send.
Call campaign preflight immediately before payment and stop before payment when preflight reports ready=false. Only an approved campaign may continue to its HTTP 402 challenge.
Use the opaque campaign token to retrieve recipient-level status without exposing mailing addresses.
The first request
// Render, normalize, and price every card before payment const quote = await fetch( 'https://api.sendinkwire.com/v1/campaign-quotes', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ messageTemplate: 'Thank you, {{firstName}}. Your support mattered.', recipients: [/* personalized recipients */] }) } ) // Show every message, complete address, price, and approvalHash. // Create the campaign, require ready=true, then request payment.
Machine Payments Protocol lets an API respond with HTTP 402 and a structured payment requirement. An authorized agent can satisfy that requirement and retry the request. In SendInkwire, payment happens only after content, the complete address, the quote, and campaign readiness have been reviewed.
What developers get
Human-readable discovery plus a structured contract for tools and agents.
A content fingerprint binds the reviewed message to the paid send.
Repeat the same request without creating another logical physical action.
Follow every recipient with a private token and an address-free status response.
Production API
Quotes, campaign creation, and preflight are unpaid. Do not satisfy a payment challenge unless the user approved the exact content, address, and total and preflight still reports ready=true.