Skip to content

Commit d80d361

Browse files
dtmeadowsstainless-app[bot]
authored andcommitted
chore(docs): update README to include links to docs on Webhooks
1 parent c262e60 commit d80d361

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,8 @@ openai.FileNewParams{
634634

635635
Verifying webhook signatures is _optional but encouraged_.
636636

637+
For more information about webhooks, see [the API docs](https://platform.openai.com/docs/guides/webhooks).
638+
637639
### Parsing webhook payloads
638640

639641
For most use cases, you will likely want to verify the webhook and parse the payload at the same time. To achieve this, we provide the method `client.Webhooks.Unwrap()`, which parses a webhook request and verifies that it was sent by OpenAI. This method will return an error if the signature is invalid.

0 commit comments

Comments
 (0)