Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

,“For sending this request, you have to be authorized. See the Authorization page for more details.

...

Code Block
languagebash
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>", ...],
  "webhook_configuration_id": "<webhook_configuration_id>",
  "max_rate_per_min": <max_rate_per_min>
}'

...