Receive a provider's webhook
The endpoint a provider or a client's own system pushes to, one per installation. The delivery is verified with the installation's app (for custom-push: x-ambar-timestamp in Unix seconds and x-ambar-signature = v1= and the hexadecimal HMAC-SHA256 of {timestamp}.{body} with the installation's webhook_signing_key, within five minutes of Ámbar's clock), kept unchanged and queued for the ingest worker, which reads and maps it later.
Use it from the provider's side only; people and agents never call it. Send the body with its media type (application/json, application/fhir+json, text/csv, …), at most 1 MiB. Retrying a delivery is safe: the same body is kept once and queued once.
Returns 202 with where the original is kept and whether it was queued now.
No bearer token: the signature authenticates the delivery.
UNAUTHORIZED: the installation is unknown or not active, its app takes no webhooks, or the signature is missing, stale or wrong; check the key and the clock, do not retry unchanged. INVALID_INPUT: no media type. BODY_TOO_LARGE: over 1 MiB. DATABASE_UNAVAILABLE or PIPELINE_UNAVAILABLE: retry with backoff.
https://api-ambar.getarbol.com/v1/hooks/{installationId}Path parameters
Request body JSON required
The delivery exactly as the provider sends it.