Skip to main content

Verifying a Request

How to verify the rtgs-global-sig signature on an HTTP response and on an incoming CloudEvent webhook.

← All recipes
Verify the response signature
curl -X POST "https://signing.api.example.com/v1/verify" \
-H "Content-Type: application/json" \
-d '{"Signature":"{rtgs-global-sig-from-response}","Message":"{response-body}"}'
Response
{
"Verified": true
}