API Reference
//
Trigger Webhook
Simulates a webhook event according to the payload. This will trigger requests to subscribed callback URLs, if any.
Security
HTTPBearer
A new UUID that you generate for each request, reads included. It is part of the request signature and prevents replay of a request. A value that was already sent in the last hour is rejected with 409 jiko.errors.DuplicateRequestError, even if the first request failed. When you retry a request, generate a new value and sign the request again.
Base64-encoded HMAC-SHA256 hash of x-jiko-idempotency + request pathname + body, keyed with your shared secret. See Authentication for the full algorithm and a code sample.
- Sandbox serverhttps://your-partner-name.sandbox-api.jikoservices.com/api/v1/sandbox/webhook/
- Production serverhttps://your-partner-name.partner-api.jikoservices.com/api/v1/sandbox/webhook/
curl -i -X POST \
https://your-partner-name.sandbox-api.jikoservices.com/api/v1/sandbox/webhook/ \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-jiko-idempotency: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'x-jiko-signature: string' \
-d '{
"event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",
"timestamp": "2019-08-24T14:15:22Z",
"payload": {
"application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c"
},
"event_type": "application.approved"
}'