The following truncated webhook delivery example shows a single signature value after
you generate a signing secret:
{
"resource": "/{webhook+}",
"path": "/webhook/none",
"httpMethod": "POST",
"headers": {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate, zstd",
"Authorization": "Bearer qqq",
"Content-Type": "application/json",
"Host": "XXXXXXXXXXXXXXXXXXXXX",
"User-Agent": "python-requests/2.32.5",
"X-Amzn-Trace-Id": "Root=1-XXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"X-Forwarded-For": "192. l68.1.1",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Hub-Signature-256": "v1=*****************************02ff6b0151ba**********"
},
"multiValueHeaders": {
"Accept": [
"*/*"
],
"Accept-Encoding": [
"gzip, deflate, zstd"
],
"Authorization": [
"Bearer qqq"
],
"Content-Type": [
"application/json"
],
"Host": [
"XXXXXXXXXXXXXXXXXXXXXXXXXXX"
],
"User-Agent": [
"python-requests/2.32.5"
],
"X-Amzn-Trace-Id": [
"Root=1-XXXXXXXXXXXXXXXXXXXXXXXXXXX"
],
"X-Forwarded-For": [
"192. l68.1.1"
],
"X-Forwarded-Port": [
"443"
],
"X-Forwarded-Proto": [
"https"
],
"X-Hub-Signature-256": [
"v1=*****************************02ff6b0151ba**********"
]
},
.
.
.
.
The following truncated webhook delivery example shows two signature values after you
rotate the signing secret. During the 72-hour grace period, both the primary and
legacy signatures appear in the same header separated by a comma:
{
"resource": "/{webhook+}",
"path": "/webhook/bearer",
"httpMethod": "POST",
"headers": {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate, zstd",
"Authorization": "Bearer 896334fe750**************************",
"Content-Type": "application/json",
"Host": "XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"User-Agent": "python-requests/2.32.5",
"X-Amzn-Trace-Id": "Root=1-XXXXXXXXXXXXXXXXXXXXXXX",
"X-Forwarded-For": "192. l68.1.1",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Hub-Signature-256": "v1=***************************d9707a39db6f74d****************,v1=**************d8ea3a590f4e4c99******************************"
},
"multiValueHeaders": {
"Accept": [
"*/*"
],
"Accept-Encoding": [
"gzip, deflate, zstd"
],
"Authorization": [
"Bearer 896334fe750**************************"
],
"Content-Type": [
"application/json"
],
"Host": [
"XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
],
"User-Agent": [
"python-requests/2.32.5"
],
"X-Amzn-Trace-Id": [
"Root=1-XXXXXXXXXXXXXXXXXXXXXX"
],
"X-Forwarded-For": [
"34.94.132.219"
],
"X-Forwarded-Port": [
"443"
],
"X-Forwarded-Proto": [
"https"
],
"X-Hub-Signature-256": [
"v1=***************************d9707a39db6f74d****************,v1=**************d8ea3a590f4e4c99******************************"
]
},
.
.
.
.
.