{ "opencollection": "1.0.0", "info": { "name": "Wrike Access Roles Custom Fields API", "version": "4.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.wrike.com/oauth2/authorize", "accessTokenUrl": "https://www.wrike.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Custom Fields", "type": "folder" }, "items": [ { "info": { "name": "List Custom Fields", "type": "http" }, "http": { "method": "GET", "url": "https://www.wrike.com/api/v4/accounts/:accountId/customfields", "params": [ { "name": "accountId", "value": "", "type": "path" } ] }, "docs": "Returns all custom field definitions in the account." }, { "info": { "name": "Create Custom Field", "type": "http" }, "http": { "method": "POST", "url": "https://www.wrike.com/api/v4/accounts/:accountId/customfields", "params": [ { "name": "accountId", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "title", "value": "" }, { "name": "type", "value": "" }, { "name": "shareds", "value": "" } ] } }, "docs": "Creates a new custom field definition in the account." } ] } ], "bundled": true }