Toloka documentation


toloka.client.webhook_subscription.WebhookSubscription | Source code

    webhook_url: Optional[str] = None,
    event_type: Union[EventType, str, None] = None,
    pool_id: Optional[str] = None,
    secret_key: Optional[str] = None,
    id: Optional[str] = None,
    created: Optional[datetime] = None

Webhook subscription to make a callback to the given address when some event happen.

Parameters Description

Parameters Type Description
webhook_url Optional[str]

The URL to which notifications will be sent.

event_type Optional[EventType]

Event type.

pool_id Optional[str]

ID of the pool for which the subscription was created.

id Optional[str]

Pool ID. Read only field.

created Optional[datetime]

When this pool was created. Read only field.