File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ curl -X POST "https://spectrum.photon.codes/projects/$PROJECT_ID/webhooks/" \
3131Standard Webhooks signatures. Choose ` normalized-events.v1 ` only when you need
3232the original normalized Spectrum event shape.
3333
34+ This management field is a string endpoint schema ID. It is distinct from the
35+ numeric ` schemaVersion: 1 ` inside a delivered raw event, which identifies only
36+ the revision of that envelope. Do not send the numeric value to this API or
37+ compare the two fields.
38+
3439The create response is the only time both ` signingSecret ` and
3540` standardSigningSecret ` are returned. Store both before discarding the response.
3641For a ` normalized-events.v1 ` endpoint, use ` signingSecret ` for current
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ Check the endpoint record first:
1616
1717- ` enabled ` must be ` true ` and ` status ` must be ` active ` .
1818- ` eventTypes ` must include ` message.received ` .
19- - ` schemaVersion ` should be ` raw-inbound.v1 ` for Standard Webhooks delivery.
19+ - The endpoint record's string ` schemaVersion ` must be ` raw-inbound.v1 ` for
20+ Standard Webhooks delivery. It is distinct from the delivered raw envelope's
21+ numeric ` schemaVersion: 1 ` .
2022- The event must belong to the same project as the registration.
2123
2224Then check the destination:
You can’t perform that action at this time.
0 commit comments