{ "opencollection": "1.0.0", "info": { "name": "Go1 Enrollments Webhooks API", "version": "2025-01-01" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.go1.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "List all webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.go1.com/webhooks", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.go1.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns a list of your webhooks." }, { "info": { "name": "Create a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.go1.com/webhooks", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.go1.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a new webhook that will fire events to the given url." }, { "info": { "name": "Update a webhook", "type": "http" }, "http": { "method": "PATCH", "url": "https://gateway.go1.com/webhooks/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.go1.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates any of the following fields on an existing webhook: name, url, secret_key, event_types and status." } ] } ], "bundled": true }