Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.58 KB

File metadata and controls

35 lines (26 loc) · 2.58 KB

CreateWebhookRequest

Properties

Name Type Description Notes
url str The url of the webhook where notifications will be sent. URL must be valid, unique and https.
description str description of the webhook. should not contain special characters. [optional]
events List[WebhookEvent] event types the webhook will subscribe to
enabled bool The status of the webhook. If false, the webhook will not receive notifications. [optional] [default to True]
mtls WebhookMtls [optional]
oauth WebhookOAuth [optional]
custom_headers Dict[str, object] Custom HTTP headers attached to every notification delivered by this webhook. A value is a string, sent as one header line, or an array of strings, sent as one header line per element under the same name. `Cookie` accepts only a string. An empty array is rejected — leave the name out instead. At most 10 header lines in total, counted per array element rather than per name. Names must be valid HTTP header tokens, are case-insensitive, and are at most 128 characters. Values are at most 1024 characters and may be empty. Reserved names: `Host`, `Content-Type`, `Content-Length`, `Transfer-Encoding`, `Connection`, `User-Agent`, `Accept`, `Accept-Encoding`, `Fireblocks-Signature`, `Fireblocks-Webhook-Signature`, `Authorization`. `Authorization` is reserved whether or not this webhook has OAuth credentials attached, because Fireblocks sets it once it does. Values are write-only; responses return only the header names. [optional]

Example

from fireblocks.models.create_webhook_request import CreateWebhookRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateWebhookRequest from a JSON string
create_webhook_request_instance = CreateWebhookRequest.from_json(json)
# print the JSON string representation of the object
print(CreateWebhookRequest.to_json())

# convert the object into a dict
create_webhook_request_dict = create_webhook_request_instance.to_dict()
# create an instance of CreateWebhookRequest from a dict
create_webhook_request_from_dict = CreateWebhookRequest.from_dict(create_webhook_request_dict)

[Back to Model list] [Back to API list] [Back to README]