The toloka.yandex.com
domain will be disabled starting April 1, 2023. Please use the toloka.dev
domain for API requests.
Gets subscription data.
GET https://toloka.dev/api/v1/webhook-subscriptions/<subscription_id>Authorization: OAuth <OAuth token>
Parameter | Overview |
---|---|
subscription_id | ID of the subscription. |
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
Contains information about the requested subscription in JSON format.
[ { "webhook_url": "https://awesome-requester.com/toloka-webhook", "event_type": "ASSIGNMENT_CREATED", "pool_id": "121212", "id": "webhook-subscription-1", "created": "2020-02-03T15:00:00" }]
Parameter | Overview |
---|---|
webhook_url | string The URL that notifications will be sent to. |
event_type | string
|
pool_id | string ID of the pool that the subscription was created for. |
id | string ID of the subscription. Generated automatically. |
created | string The date and time when the subscription was created (UTC). It uses ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss] . |