Skip to content

Generate a webhook delivery verification helper #198

Description

@danielgaskins

The Python SDK can create and manage webhooks, but it does not currently verify or parse incoming deliveries. Users need to install and call standardwebhooks directly.

Since Browserbase already follows the Standard Webhooks format, could the SDK generate an unwrap helper?

event = client.webhooks.unwrap(
    body,
    headers,
)

Stainless supports this through a top-level OpenAPI webhooks section and a webhook_unwrap method in the SDK configuration. That could provide signature verification and typed event payloads without adding handwritten verification code to this repository.

I’d be glad to help with any Python-side tests, examples, or follow-up changes once the event schemas and generator configuration are in place.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions