{ "item": [ { "id": "f923c44a-b491-40db-83cd-7821a280dd64", "name": "Automation", "description": { "content": "", "type": "text/plain" }, "item": [ { "id": "51304e62-a58b-4cf7-8007-dffbcd01f89c", "name": "Start an automation for a contact", "request": { "name": "Start an automation for a contact", "description": {}, "url": { "path": [ "automations", ":automation_id", "queue" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "automation_id", "description": "(Required) The ID of the automation." } ] }, "header": [ { "key": "Content-Type", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"list_id\": \"\",\n \"contact_id\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "2ef70c6b-f093-4be6-a717-87e02c2b01ac", "name": "The contact was queued into the automation.", "originalRequest": { "url": { "path": [ "automations", ":automation_id", "queue" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "automation_id", "description": "(Required) The ID of the automation." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"list_id\": \"00000000-0000-0000-0000-000000000000\",\n \"contact_id\": \"00000000-0000-0000-0000-000000000000\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Accepted", "code": 202, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] } ], "event": [], "variable": [ { "type": "string", "value": "https://api.emailoctopus.com", "key": "baseUrl" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] }, "info": { "_postman_id": "ad40b292-ff11-40ba-9859-08e70a6882c7", "name": "EmailOctopus v2 Automation API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "The EmailOctopus v2 REST API lets developers manage subscriber lists, contacts, custom fields, tags, campaigns, automations, and campaign reports. All requests are made over HTTPS to https://api.emailoctopus.com and authenticated with a Bearer API key in the Authorization header.\n\nContact Support:\n Name: EmailOctopus Support", "type": "text/plain" } } }