{ "swagger": "2.0", "info": { "description": "Enable integrations with your ActiveCampaign account.", "version": "1.0.0", "title": "ActiveCampaign", "x-ms-api-annotation": { "status": "Preview" }, "contact": { "name": "Microsoft", "email": "ci-3rdpartycontact@microsoft.com", "url": "https://admin.powerplatform.microsoft.com/support" } }, "host": "yourAccountName.api-us1.com", "basePath": "/api/3", "schemes": [ "https" ], "consumes": [], "produces": [], "paths": { "/import/bulk_import": { "post": { "summary": "Bulk import contacts", "description": "Bulk uploads contacts into your account.", "operationId": "ImportContactsUsingPost", "consumes": [ "application/json" ], "produces": [ "text/html" ], "parameters": [ { "name": "body", "in": "body", "required": false, "schema": { "type": "object", "properties": { "contacts": { "type": "array", "items": { "type": "object", "properties": { "email": { "type": "string", "description": "The email being uploaded.", "x-ms-visibility": "advanced" }, "first_name": { "type": "string", "description": "The first name being uploaded.", "x-ms-visibility": "advanced" }, "last_name": { "type": "string", "description": "The last name being uploaded.", "x-ms-visibility": "advanced" }, "phone": { "type": "string", "description": "The phone number being uploaded.", "x-ms-visibility": "advanced" }, "subscribe": { "type": "array", "items": { "type": "object", "properties": { "listid": { "type": "integer", "format": "int32", "description": "The list Id where the contact is being subscribed to." } } }, "description": "Array of lists where contact is being subscribed to.", "x-ms-visibility": "advanced" } } }, "description": "Contacts to import." } } } } ], "responses": { "200": { "description": "Import OK", "schema": { "type": "string" } } } } } }, "definitions": {}, "parameters": {}, "responses": {}, "securityDefinitions": { "API Key": { "type": "apiKey", "in": "header", "name": "Api-Token", "description": "Your ActiveCampaign API Token." } }, "security": [ { "API Key": [] } ], "tags": [], "x-ms-connector-metadata": [ { "propertyName": "Website", "propertyValue": "https://www.activecampaign.com/" }, { "propertyName": "Privacy policy", "propertyValue": "https://www.activecampaign.com/legal/privacy-policy" }, { "propertyName": "Categories", "propertyValue": "Marketing" } ] }