{ "opencollection": "1.0.0", "info": { "name": "Ostrom Auth Webhooks API", "version": "2023-11-01" }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Retrieve all webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.ostrom-api.io/webhooks", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Allowed role: `PARTNER`" }, { "info": { "name": "Create a new webhook", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.ostrom-api.io/webhooks", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Allowed role: `PARTNER`" }, { "info": { "name": "Retrieve a webhook", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox.ostrom-api.io/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the webhook" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Allowed role: `PARTNER`" }, { "info": { "name": "Delete a webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://sandbox.ostrom-api.io/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the webhook" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Allowed role: `PARTNER`" }, { "info": { "name": "Test a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox.ostrom-api.io/webhooks/:id/test", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the webhook" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Allowed role: `PARTNER`" } ] } ], "bundled": true }