{ "opencollection": "1.0.0", "info": { "name": "Dynamic Allowlists Webhooks API", "version": "v0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Get webhooks for an environment.", "type": "http" }, "http": { "method": "GET", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/webhooks", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "The ID of the Dynamic environment (project)." } ] }, "docs": "Get webhooks for an environment." }, { "info": { "name": "Create a webhook.", "type": "http" }, "http": { "method": "POST", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/webhooks", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "The ID of the Dynamic environment (project)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Registers a new webhook endpoint subscribed to the given event scopes." }, { "info": { "name": "Get a webhook by ID.", "type": "http" }, "http": { "method": "GET", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/webhooks/:webhookId", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "The ID of the Dynamic environment (project)." }, { "name": "webhookId", "value": "", "type": "path", "description": "The ID of the webhook." } ] }, "docs": "Get a webhook by ID." }, { "info": { "name": "Update a webhook.", "type": "http" }, "http": { "method": "PUT", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/webhooks/:webhookId", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "The ID of the Dynamic environment (project)." }, { "name": "webhookId", "value": "", "type": "path", "description": "The ID of the webhook." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a webhook." }, { "info": { "name": "Delete a webhook.", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/webhooks/:webhookId", "params": [ { "name": "environmentId", "value": "", "type": "path", "description": "The ID of the Dynamic environment (project)." }, { "name": "webhookId", "value": "", "type": "path", "description": "The ID of the webhook." } ] }, "docs": "Delete a webhook." } ] } ], "bundled": true }