Skip to content

Commit 9345ce6

Browse files
committed
webhooks: update example responses to include custom_headers
1 parent 8d54934 commit 9345ce6

4 files changed

Lines changed: 18 additions & 4 deletions

File tree

official/docs/responses/webhooks/webhooks-create.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"mode": "test",
55
"url": "http://example.com",
66
"created_at": "2024-01-24T00:07:52Z",
7-
"disabled_at": null
7+
"disabled_at": null,
8+
"custom_headers": [
9+
{
10+
"name": "X-Header-Name",
11+
"value": "header_value"
12+
}
13+
]
814
}

official/docs/responses/webhooks/webhooks-list.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"mode": "test",
77
"url": "http://example.com",
88
"created_at": "2024-01-24T00:07:54Z",
9-
"disabled_at": null
9+
"disabled_at": null,
10+
"custom_headers": []
1011
}
1112
]
1213
}

official/docs/responses/webhooks/webhooks-retrieve.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"mode": "test",
55
"url": "http://example.com",
66
"created_at": "2024-01-24T00:07:53Z",
7-
"disabled_at": null
7+
"disabled_at": null,
8+
"custom_headers": []
89
}

official/docs/responses/webhooks/webhooks-update.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"mode": "test",
55
"url": "http://example.com",
66
"created_at": "2024-01-24T00:07:56Z",
7-
"disabled_at": null
7+
"disabled_at": null,
8+
"custom_headers": [
9+
{
10+
"name": "X-Header-Name",
11+
"value": "header_value"
12+
}
13+
]
814
}

0 commit comments

Comments
 (0)