Send a notification
Changed onFan out one notification to up to 500 recipients. Requires a Notify subscription: without one the call is refused with 403 NOTIFY_SUBSCRIPTION_REQUIRED, but for a replay of a send already accepted (its send_id), which is answered with the stored send when it repeats that request. Supply send_id to make retries safe — the call is idempotent on it within the account. An ingot send publishes a stored vault file, so, like the vault's own sharing routes, it requires proof the caller holds a key to that vault: a read-write VAT from POST /vaults/{id}/unseal (with the VMK or a read-write DVAK) in X-Vault-Access-Token. The send speaks in your organization's name, so the organization needs a name of its own. A send that would email someone (its channels name email and a recipient has an email address) goes out from your organization's own sender (GET /products/notify/email-sender), so it needs the organization's handle, and it is admitted against your hourly share of the platform's sending capacity: the last checks before anything is sealed, charged or stored. A replay of an accepted send is answered from that send without meeting any of them again.
Request
- Base URLhttps://api.sparkvault.com/v1
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
A read-write VAT for ingot.vault_id. Required on an ingot send and ignored on a content send. Missing, unknown, or minted by a since-revoked DVAK: 401 AUTHENTICATION_ERROR. Expired: 403 with details.reason VAT_EXPIRED (unseal again and retry). Read-only: 403 with details.reason VAT_READ_ONLY. Bound to another vault or account: 403 FORBIDDEN.
Request body
Response
Send accepted and queued for fan-out.
Changes
- info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info
- breaking
removed the enum value
pushof the request property/ - breaking
removed the enum value
rcsof the request property/ - breaking
removed the enum value
slackof the request property/ - breaking
removed the enum value
smsof the request property/ - breaking
removed the enum value
teamsof the request property/ - breaking
removed the enum value
voiceof the request property/ - breaking
removed the enum value
web_pushof the request property/ - breaking
removed the enum value
webhookof the request property/ - breaking
removed the enum value
whatsappof the request property/ - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - warning
the
///request property's maxLength was set to256 - warning
the
request property's maxLength was set to64 - warning
the
request property's max was set to3650.00 - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking