### Send Webhook via cURL Source: https://www.standardwebhooks.com/simulate Use this command to test your webhook handler endpoint with the required headers and payload. ```bash curl -X POST "https://example.com/api/webhook-handler" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "webhook-id: msg_22GCJTnJDKOun1Of" \ -H "webhook-timestamp: 1775531544" \ -H "webhook-signature: v1,IPp+gt2l30hbEbqWqDKK26SQc3zjToR589vRusoEqO4=" \ -d '{"event_type":"ping","data":{"success":true}}' ``` -------------------------------- ### Send Webhook via cURL Source: https://www.standardwebhooks.com/simulate/standard Use this command to test your webhook handler endpoint with the required headers and payload. ```bash curl -X POST "https://example.com/api/webhook-handler" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "webhook-id: msg_k56BjGjaCB6dnfVQ" \ -H "webhook-timestamp: 1775531578" \ -H "webhook-signature: v1,M0991n/RcXGGAQCYWnhGW7aaC0cvYwUXf+s5lLS4+7M=" \ -d '{"event_type":"ping","data":{"success":true}}' ``` -------------------------------- ### Standard Webhook Signature Generation Source: https://www.standardwebhooks.com/verify/standard Demonstrates the structure of the content used for HMAC-SHA256 signature generation in Standard webhooks. Concatenates ID, timestamp, and payload with a full stop. ```text HMACSHA256( id + '.' + timestamp + '.' + payload, secret ) ``` ```json {"event_type":"ping","data":{"success":true}} ``` -------------------------------- ### Generate HMAC SHA-256 signature Source: https://www.standardwebhooks.com/verify The signature is generated by concatenating the id, timestamp, and payload with full-stop separators, then hashing with HMAC-SHA256. ```text HMACSHA256( + '.' + + '.' + , ) ``` -------------------------------- ### Generate Webhook Signature Source: https://www.standardwebhooks.com/simulate The signature is generated using HMACSHA256 with the webhook ID, timestamp, and raw payload. ```text HMACSHA256( + '.' + + '.{raw_payload}', ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.