...
We send a maximum of 100 initialization webhook requests per minute, so it may take some time if you want to initialize a lot of data.
Request
Code Block | ||
---|---|---|
| ||
curl -X POST 'https://rest.doo.net/v1/webhooks/init/<resource_name>' \ -H 'Content-Type: application/json' \ -H 'x-api-key: <api_key>' \ -H 'Authorization: Bearer <access_token>' \ -d '{ "event_id": <event_id> "organization_id": <organization_id>, last_updated_after: "<last_updated_after>", last_updated_before "<last_updated_before>", "webhook_type": ["<webhook_type>", <webhook_type>, ...], last"webhook_updatedconfiguration_afterid": "<last<webhook_updatedconfiguration_after>id>", last_updated_before "<last_updated_before>""max_rate_per_min": <max_rate_per_min> }' |
Parameters
Parameter | Required | Description | |||
---|---|---|---|---|---|
| Yes | The resource type you want to initialize. Available options:
invitees See Supported resources and webhook types for available resource names. | |||
| Yes | see See Authorization | |||
| Yes | see See Authorization | |||
| Yes, only for the following resource types:
| ||||
| Yes, only for the following resource types:
|
| No | Use it if you want to initialize only a particular webhook types. Available options for
Available options for
Available options for
Available options for
Available options for
| |
| No | Use it if you want to initialize resources updated after a particular date and time. Format: Timezone: CET | |||
| No | Use it if you want to initialize resources updated before a particular date and time. Format: Timezone: CET | |||
| No | Use it if you want to initialize only particular webhook types. See Supported resources and webhook types for available webhook types for the selected resource. | |||
| No | In case you have multiple webhook configurations, you can specify the one for which you want to make the initialization. | |||
| No | Specifies the maximum number of requests per minute that we send for the webhook initialization. You can use this parameter to reduce the load to your system if required. Default value: 100 Minimum value: 1 Maximum value: 100 |
Response example
Code Block |
---|
...