{ "opencollection": "1.0.0", "info": { "name": "Prolific Bonuses Hooks API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Hooks", "type": "folder" }, "items": [ { "info": { "name": "List subscribable event types", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/hooks/event-types/" }, "docs": "List subscribable event types" }, { "info": { "name": "List all secrets", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/hooks/secrets/" }, "docs": "List all secrets" }, { "info": { "name": "Create or replace a secret", "type": "http" }, "http": { "method": "POST", "url": "https://api.prolific.com/api/v1/hooks/secrets/", "body": { "type": "json", "data": "{}" } }, "docs": "Create or replace a secret" }, { "info": { "name": "List all subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/hooks/subscriptions/" }, "docs": "List all subscriptions" }, { "info": { "name": "Create a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.prolific.com/api/v1/hooks/subscriptions/", "body": { "type": "json", "data": "{}" } }, "docs": "Create a subscription" }, { "info": { "name": "Retrieve a subscription", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/hooks/subscriptions/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The hook subscription ID." } ] }, "docs": "Retrieve a subscription" }, { "info": { "name": "Update a subscription", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.prolific.com/api/v1/hooks/subscriptions/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The hook subscription ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a subscription" }, { "info": { "name": "Delete a subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.prolific.com/api/v1/hooks/subscriptions/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The hook subscription ID." } ] }, "docs": "Delete a subscription" }, { "info": { "name": "Confirm a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.prolific.com/api/v1/hooks/subscriptions/:id/confirm/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The hook subscription ID." } ] }, "docs": "Confirm a subscription" }, { "info": { "name": "Get subscription events", "type": "http" }, "http": { "method": "GET", "url": "https://api.prolific.com/api/v1/hooks/subscriptions/:id/events/", "params": [ { "name": "id", "value": "", "type": "path", "description": "The hook subscription ID." } ] }, "docs": "Get subscription events" } ] } ], "bundled": true }