Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 2.01 KB

README.md

File metadata and controls

51 lines (35 loc) · 2.01 KB

Config

(config)

Overview

Available Operations

subscribe_to_webhooks

Subscribe to webhooks.

Example Usage

from speakeasy_bar_py import BarPython
from speakeasy_bar_py.models import components

with BarPython(
    security=components.Security(
        api_key="<YOUR_API_KEY_HERE>",
    ),
) as s:
    res = s.config.subscribe_to_webhooks(request=[
        {},
    ])

    if res is not None:
        # handle response
        pass

Parameters

Parameter Type Required Description
request List[operations.RequestBody] ✔️ The request object to use for the request.
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

operations.SubscribeToWebhooksResponse

Errors

Error Type Status Code Content Type
errors.APIError 5XX application/json
errors.SDKError 4XX */*