{ "opencollection": "1.0.0", "info": { "name": "FreeAgent BankAccounts Contacts API", "version": "2" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.freeagent.com/v2/approve_app", "accessTokenUrl": "https://api.freeagent.com/v2/token_endpoint", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Contacts", "type": "folder" }, "items": [ { "info": { "name": "List contacts", "type": "http" }, "http": { "method": "GET", "url": "https://api.freeagent.com/v2/contacts", "params": [ { "name": "view", "value": "", "type": "query" }, { "name": "sort", "value": "", "type": "query" }, { "name": "updated_since", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" } ] }, "docs": "List contacts" }, { "info": { "name": "Create contact", "type": "http" }, "http": { "method": "POST", "url": "https://api.freeagent.com/v2/contacts" }, "docs": "Create contact" }, { "info": { "name": "Get contact", "type": "http" }, "http": { "method": "GET", "url": "https://api.freeagent.com/v2/contacts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get contact" }, { "info": { "name": "Update contact", "type": "http" }, "http": { "method": "PUT", "url": "https://api.freeagent.com/v2/contacts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Update contact" }, { "info": { "name": "Delete contact", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.freeagent.com/v2/contacts/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete contact" } ] } ], "bundled": true }