Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.05 KB

README.md

File metadata and controls

53 lines (36 loc) · 2.05 KB

Config

(config)

Available Operations

subscribe_to_webhooks

Subscribe to webhooks.

Example Usage

import speakeasybar
from speakeasybar.models import operations, shared

s = speakeasybar.Speakeasybar(
    security=shared.Security(
        api_key="<YOUR_API_KEY>",
    ),
)

req = [
    operations.RequestBody(),
]

res = s.config.subscribe_to_webhooks(req)

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 Object Status Code Content Type
errors.BadRequest 400 application/json
errors.APIError 5XX application/json
errors.SDKError 4xx-5xx /