...
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>, "webhook_type": ["<webhook_type>", <webhook_type>, ...], last_updated_after: "<last_updated_after>", last_updated_before "<last_updated_before>" }' |
...
Parameter | Required | Description |
---|---|---|
| Yes | The resource type you want to initialize. Available options:
|
| Yes | seeĀ Authorization |
| Yes | 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 |
...