palbaseDocs

Palbase Stores · API

POST/stores/webhooks/apple/{app_id}

Take an App Store Connect webhook delivery

Where the app's App Store Connect webhook reports, with no key: each delivery is checked against Apple's signature (x-apple-signature, HMAC-SHA256 with the webhook's secret), and what it says is told as the environment's event. A delivery sent again is answered and told once. Apple's to call, no one else's.

Called by .

Path

app_idstring (uuid) · requiredThe app's id (the registry's: the same app in every environment).

Headers

x-apple-signaturestring · requiredApple's signature of the body: `hmacsha256=` and its hex.
curl
curl -X POST "https://<your-ref>.palbase.studio/stores/webhooks/apple/<app_id>" \
  -H "content-type: application/json" \
  -d '{}'

Responses

200Taken (or taken already)

400Validation failed or a required field is missing

401Not signed with the app's webhook secret

404No such secret, or no such version

413The body is too large

429Over the project's request limit or quota

503What the delivery names could not be read at App Store Connect; Apple sends it again

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation TakeAppleWebhook of stores's contract.