{ "opencollection": "1.0.0", "info": { "name": "FirstPromoter Campaigns API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Campaigns", "type": "folder" }, "items": [ { "info": { "name": "Get all campaigns", "type": "http" }, "http": { "method": "GET", "url": "https://api.firstpromoter.com/api/v2/company/campaigns", "headers": [ { "name": "Account-ID", "value": "" } ] }, "docs": "With this endpoint you can list all campaigns. \n **HTTP Request**
`GET https://api.firstpromoter.com/api/v2/company/campaigns`
" }, { "info": { "name": "Create a campaign", "type": "http" }, "http": { "method": "POST", "url": "https://api.firstpromoter.com/api/v2/company/campaigns", "headers": [ { "name": "Account-ID", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "With this endpoint you can create a campaign. \n **HTTP Request**
`POST https://api.firstpromoter.com/api/v2/company/campaigns`
" }, { "info": { "name": "Get a campaign", "type": "http" }, "http": { "method": "GET", "url": "https://api.firstpromoter.com/api/v2/company/campaigns/:id", "headers": [ { "name": "Account-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "With this endpoint you can get a campaign.**HTTP Request**
`GET https://api.firstpromoter.com/api/v2/company/campaigns/{id}`
" }, { "info": { "name": "Update a campaign", "type": "http" }, "http": { "method": "PUT", "url": "https://api.firstpromoter.com/api/v2/company/campaigns/:id", "headers": [ { "name": "Account-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "With this endpoint you can update a campaign. \n **HTTP Request**
`PUT https://api.firstpromoter.com/api/v2/company/campaigns/{id}`
" }, { "info": { "name": "Delete a campaign", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.firstpromoter.com/api/v2/company/campaigns/:id", "headers": [ { "name": "Account-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "With this endpoint you can delete a campaign. \n **HTTP Request**
`DELETE https://api.firstpromoter.com/api/v2/company/campaigns/{id}`
" } ] } ], "bundled": true }