{ "opencollection": "1.0.0", "info": { "name": "Workflow Campaigns API", "version": "1.0.0" }, "items": [ { "info": { "name": "Campaigns", "type": "folder" }, "items": [ { "info": { "name": "Retrieve campaigns", "type": "http" }, "http": { "method": "GET", "url": "https://{your-bynder-domain}/api/workflow/campaigns", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires the CAMPAIGNOVERVIEW security role." }, { "info": { "name": "Create campaign", "type": "http" }, "http": { "method": "POST", "url": "https://{your-bynder-domain}/api/workflow/campaigns", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires the CAMPAIGNADD security role." }, { "info": { "name": "Retrieve specific campaign", "type": "http" }, "http": { "method": "GET", "url": "https://{your-bynder-domain}/api/workflow/campaigns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires the CAMPAIGNOVERVIEW security role." }, { "info": { "name": "Close campaign", "type": "http" }, "http": { "method": "POST", "url": "https://{your-bynder-domain}/api/workflow/campaigns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires the CAMPAIGNWRITE security role." }, { "info": { "name": "Modify campaign", "type": "http" }, "http": { "method": "PUT", "url": "https://{your-bynder-domain}/api/workflow/campaigns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires the CAMPAIGNEDIT security role." }, { "info": { "name": "Delete campaign", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your-bynder-domain}/api/workflow/campaigns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{your-bynder-domain}/v6/authentication/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires the CAMPAIGNREMOVE security role." } ] } ], "bundled": true }