toloka.client.TolokaClient.get_webhook_subscription | Source code
get_webhook_subscription(self, webhook_subscription_id: str)Gets the properties of a subscription from Toloka.
| Parameters | Type | Description |
|---|---|---|
webhook_subscription_id | str | The ID of the subscription. |
Returns:
The subscription.
Return type:
Examples:
subscription = toloka_client.get_webhook_subscription('62f29db0a451956b21e13ff2')print(subscription.event_type, subscription.webhook_url)Last updated: August 28, 2023