{ "openapi": "3.1.0", "info": { "title": "ActiveCampaign API v3", "version": "3", "description": "The primary REST API for ActiveCampaign, organized around resources such as contacts, deals, accounts, automations, campaigns, messages, lists, tags, webhooks, custom objects, and ecommerce entities.", "x-generated-from": "documentation", "contact": { "name": "ActiveCampaign Support", "url": "https://www.activecampaign.com" }, "license": { "name": "Proprietary" } }, "servers": [ { "url": "https://{yourAccountName}.api-us1.com/api/3", "description": "ActiveCampaign API server (account-specific)", "variables": { "yourAccountName": { "default": "yourAccountName", "description": "Your ActiveCampaign account name" } } } ], "components": { "securitySchemes": { "sec0": { "type": "apiKey", "name": "Api-Token", "in": "header", "x-default": "" }, "ApiToken": { "type": "apiKey", "in": "header", "name": "Api-Token", "description": "Your ActiveCampaign API token found in account settings under Developer tab" } } }, "security": [ { "ApiToken": [] } ], "paths": { "/accounts": { "post": { "summary": "ActiveCampaign Create an Account", "description": "Create a new account", "operationId": "create-an-account-new", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "account": { "properties": { "name": { "type": "string", "description": "Account's name" }, "accountUrl": { "type": "string", "description": "Account's website" }, "owner": { "type": "integer", "description": "The userId of the account owner.", "default": 1, "format": "int32" }, "fields": { "type": "array", "description": "Account's custom field values `{customFieldId: int, fieldValue: string, fieldCurrency?:string}[]`", "items": { "properties": { "customFieldId": { "type": "integer", "description": "Field ID, ID of the Custom Field Meta Data", "format": "int32" }, "fieldValue": { "type": "string", "description": "Updated field value. For `currency` field, this needs to be in cents not dollars (or 100 x Base Unit)." }, "fieldCurrency": { "type": "string", "description": "Required only for the `currency` field type. The three letter currency code for the currency value" } }, "required": [ "customFieldId", "fieldValue" ], "type": "object" } } }, "required": [ "name" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "account": { "name": "Example Account", "accountUrl": "https://www.example.com", "owner": 1, "fields": [ { "customFieldId": 9, "fieldValue": "500-1000" }, { "customFieldId": 20, "fieldValue": 1234, "fieldCurrency": "GBP" } ] } } } } } } }, "responses": { "201": { "description": "201", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"account\": {\n \"name\": \"Example Account\",\n \"accountUrl\": \"https://www.example.com\",\n \"createdTimestamp\": \"2019-06-12T16:52:16-05:00\",\n \"updatedTimestamp\": \"2019-06-12T16:52:16-05:00\",\n \"links\": [],\n \"fields\": [\n {\n \"customFieldId\": 9,\n \"fieldValue\": \"501 - 1000\",\n \"accountId\": \"1\"\n },\n {\n \"customFieldId\": 20,\n \"fieldValue\": 1234,\n \t\t\t\t\"fieldCurrency\": \"GBP\",\n \"accountId\": \"1\"\n }\n ],\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "account": { "type": "object", "properties": { "name": { "type": "string", "example": "Example Account" }, "accountUrl": { "type": "string", "example": "https://www.example.com" }, "createdTimestamp": { "type": "string", "example": "2019-06-12T16:52:16-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-12T16:52:16-05:00" }, "links": { "type": "array" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "customFieldId": { "type": "integer", "example": 9, "default": 0 }, "fieldValue": { "type": "string", "example": "501 - 1000" }, "accountId": { "type": "string", "example": "1" } } } }, "id": { "type": "string", "example": "1" } } } } } } } }, "422": { "description": "422", "content": { "application/json": { "examples": { "Missing Data": { "value": "{\n \"errors\": [\n {\n \"title\": \"The account name was not provided.\",\n \"detail\": \"\",\n \"code\": \"field_missing\",\n \"source\": {\n \"pointer\": \"/data/attributes/name\"\n }\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "example": "The account name was not provided." }, "detail": { "type": "string", "example": "" }, "code": { "type": "string", "example": "field_missing" }, "source": { "type": "object", "properties": { "pointer": { "type": "string", "example": "/data/attributes/name" } } } } } } } } }, "text/plain": { "examples": { "Alredy Existing": { "value": "{\n \"errors\": [\n {\n \"title\": \"An account named \\\"Example Account\\\" already exists. Please choose a new name.\",\n \"detail\": \"\",\n \"code\": \"duplicate\",\n \"source\": {\n \"pointer\": \"/data/attributes/name\"\n }\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "example": "An account named \"Example Account\" already exists. Please choose a new name." }, "detail": { "type": "string", "example": "" }, "code": { "type": "string", "example": "duplicate" }, "source": { "type": "object", "properties": { "pointer": { "type": "string", "example": "/data/attributes/name" } } } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign List All Accounts", "description": "Retrieve all existing account", "operationId": "list-all-accounts", "parameters": [ { "name": "search", "in": "query", "description": "Search by name", "schema": { "type": "string" } }, { "name": "count_deals", "in": "query", "description": "Whether to compute the contactCount and dealCount counts for the number of contacts/deals associated with each account. Set it to true to include the right counts. If set to false or omitted from the call, then contactCount and dealCount will not be counted and be simply displayed as 0.", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accounts\": [\n {\n \"name\": \"First Example Account\",\n \"accountUrl\": null,\n \"createdTimestamp\": \"2019-04-29T07:51:31-05:00\",\n \"updatedTimestamp\": \"2019-04-29T07:51:31-05:00\",\n \"contactCount\": \"1\",\n \"dealCount\": \"3\",\n \"links\": [\n \"notes\": \"https://:account.api-us1.com/api/:version/accounts/1/notes\",\n \"accountCustomFieldData\": \"https://:account.api-us1.com/api/:version/accounts/1/accountCustomFieldData\",\n \"accountContacts\": \"https://:account.api-us1.com/api/:version/accounts/1/accountContacts\"],\n \"id\": \"1\"\n },\n {\n \"name\": \"Second Example Account\",\n \"accountUrl\": null,\n \"createdTimestamp\": \"2019-04-29T07:51:32-05:00\",\n \"updatedTimestamp\": \"2019-04-29T07:51:32-05:00\",\n \"contactCount\": \"2\",\n \"dealCount\": \"5\",\n \"links\": [\n \"notes\": \"https://:account.api-us1.com/api/:version/accounts/2/notes\",\n \"accountCustomFieldData\": \"https://:account.api-us1.com/api/:version/accounts/2/accountCustomFieldData\",\n \"accountContacts\": \"https://:account.api-us1.com/api/:version/accounts/2/accountContacts\"],\n \"id\": \"2\"\n }\n ],\n \"meta\": {\n \"total\": \"2\"\n }\n}" } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accounts/{id}": { "put": { "summary": "ActiveCampaign Update an Account", "description": "Update an existing account", "operationId": "update-an-account-new", "parameters": [ { "name": "id", "in": "path", "description": "Account's id", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "account": { "properties": { "name": { "type": "string", "description": "Account's name" }, "accountUrl": { "type": "string", "description": "Account's website" }, "fields": { "type": "array", "description": "Account's custom field values `{customFieldId: int, fieldValue: string, fieldCurrency?:string}[]`", "items": { "properties": { "customFieldId": { "type": "integer", "description": "Field ID, ID of the Custom Field Meta Data", "format": "int32" }, "fieldValue": { "type": "string", "description": "Updated field value. For `currency` field, this needs to be in cents not dollars (or 100 x Base Unit)." }, "fieldCurrency": { "type": "string", "description": "Required only for the `currency` field type. The three letter currency code for the currency value" } }, "required": [ "customFieldId", "fieldValue" ], "type": "object" } }, "owner": { "type": "integer", "description": "The userId of the Account owner.", "default": 1, "format": "int32" } }, "required": [], "type": "object" } } }, "examples": { "Request Example": { "value": { "account": { "name": "Exmaple Account", "accountUrl": "https://www.example.com", "fields": [ { "customFieldId": 9, "fieldValue": "500-1000" }, { "customFieldId": 20, "fieldValue": 1234, "fieldCurrency": "GBP" } ] } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"account\": {\n \"name\": \"Exmaple Account\",\n \"accountUrl\": \"https://www.example.com\",\n \"createdTimestamp\": \"2019-04-03T13:57:31-05:00\",\n \"updatedTimestamp\": \"2019-06-12T16:55:32-05:00\",\n \"links\": [],\n \"fields\": [\n {\n \"customFieldId\": 9,\n \"fieldValue\": \"501 - 1000\",\n \"accountId\": \"1\"\n },\n {\n \"customFieldId\": 20,\n \"fieldValue\": 1234,\n \t\"fieldCurrency\": \"GBP\",\n \"accountId\": \"1\"\n }\n ],\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "account": { "type": "object", "properties": { "name": { "type": "string", "example": "Exmaple Account" }, "accountUrl": { "type": "string", "example": "https://www.example.com" }, "createdTimestamp": { "type": "string", "example": "2019-04-03T13:57:31-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-12T16:55:32-05:00" }, "links": { "type": "array" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "customFieldId": { "type": "integer", "example": 9, "default": 0 }, "fieldValue": { "type": "string", "example": "501 - 1000" }, "accountId": { "type": "string", "example": "1" } } } }, "id": { "type": "string", "example": "1" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign Retrieve an Account", "description": "Retrieve an existing account", "operationId": "retrieve-an-account", "parameters": [ { "name": "id", "in": "path", "description": "Account's ID", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"account\": {\n \"name\": \"Example Account\",\n \"accountUrl\": \"https://www.example.com\",\n \"createdTimestamp\": \"2019-05-15T15:58:16-05:00\",\n \"updatedTimestamp\": \"2019-05-15T15:58:16-05:00\",\n \"links\": [],\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "account": { "type": "object", "properties": { "name": { "type": "string", "example": "Example Account" }, "accountUrl": { "type": "string", "example": "https://www.example.com" }, "createdTimestamp": { "type": "string", "example": "2019-05-15T15:58:16-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-05-15T15:58:16-05:00" }, "links": { "type": "array" }, "id": { "type": "string", "example": "1" } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "delete": { "summary": "ActiveCampaign Delete an Account", "description": "Delete an existing account", "operationId": "delete-an-account", "parameters": [ { "name": "id", "in": "path", "description": "Account's id", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accounts/{id}/notes": { "post": { "summary": "ActiveCampaign Create an Account Note", "description": "Create a new note for an account", "operationId": "create-an-account-note", "parameters": [ { "name": "id", "in": "path", "description": "Account's id to assign new note to", "schema": { "type": "string" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "note": { "properties": { "note": { "type": "string", "description": "Account note's content" } }, "required": [ "note" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "note": { "note": "Note for the account" } } } } } } }, "responses": { "201": { "description": "201", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accounts\": [\n {\n \"name\": \"Museuem of Science and Industry\",\n \"accountUrl\": \"www.msi.com\",\n \"createdTimestamp\": \"2019-04-03T13:29:35-05:00\",\n \"updatedTimestamp\": \"2019-06-12T16:59:54-05:00\",\n \"id\": \"1\"\n }\n ],\n \"note\": {\n \"cdate\": \"2017-05-31T09:54:30-05:00\",\n \"id\": \"2\",\n \"links\": {\n \"activities\": \"/api/3/notes/2/activities\",\n \"mentions\": \"/api/3/notes/2/mentions\",\n \"notes\": \"/api/3/notes/2/notes\",\n \"owner\": \"/api/3/notes/2/owner\",\n \"user\": \"/api/3/notes/2/user\"\n },\n \"mdate\": \"2017-05-31T09:54:30-05:00\",\n \"note\": \"Note for the account\",\n \"owner\": {\n \"id\": \"1\",\n \"type\": \"account\"\n },\n \"relid\": \"1\",\n \"reltype\": \"CustomerAccount\",\n \"user\": \"1\",\n \"userid\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "accounts": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "Museuem of Science and Industry" }, "accountUrl": { "type": "string", "example": "www.msi.com" }, "createdTimestamp": { "type": "string", "example": "2019-04-03T13:29:35-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-12T16:59:54-05:00" }, "id": { "type": "string", "example": "1" } } } }, "note": { "type": "object", "properties": { "cdate": { "type": "string", "example": "2017-05-31T09:54:30-05:00" }, "id": { "type": "string", "example": "2" }, "links": { "type": "object", "properties": { "activities": { "type": "string", "example": "/api/3/notes/2/activities" }, "mentions": { "type": "string", "example": "/api/3/notes/2/mentions" }, "notes": { "type": "string", "example": "/api/3/notes/2/notes" }, "owner": { "type": "string", "example": "/api/3/notes/2/owner" }, "user": { "type": "string", "example": "/api/3/notes/2/user" } } }, "mdate": { "type": "string", "example": "2017-05-31T09:54:30-05:00" }, "note": { "type": "string", "example": "Note for the account" }, "owner": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "type": { "type": "string", "example": "account" } } }, "relid": { "type": "string", "example": "1" }, "reltype": { "type": "string", "example": "CustomerAccount" }, "user": { "type": "string", "example": "1" }, "userid": { "type": "string", "example": "1" } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accounts/{id}/notes/{noteid}": { "put": { "summary": "ActiveCampaign Update an Account Note", "description": "Update an existing note for a account", "operationId": "update-a-account-note", "parameters": [ { "name": "id", "in": "path", "description": "Account's id to assign new note to", "schema": { "type": "string" }, "required": true }, { "name": "noteid", "in": "path", "description": "Account note's id to update", "schema": { "type": "string" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "note": { "properties": { "note": { "type": "string", "description": "Account note's content" } }, "required": [ "note" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "note": { "note": "Update with more info" } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accounts\": [\n {\n \"name\": \"Example Account\",\n \"accountUrl\": \"https://www.example.url\",\n \"createdTimestamp\": \"2019-04-03T13:29:35-05:00\",\n \"updatedTimestamp\": \"2019-06-12T16:59:54-05:00\",\n \"links\": {\n \"notes\": \"https://hosted.localdev/api/3/accounts/1/notes\"\n },\n \"id\": \"1\"\n }\n ],\n \"note\": {\n \"cdate\": \"2017-06-01T13:42:13-05:00\",\n \"id\": \"2\",\n \"links\": {\n \"activities\": \"/api/3/notes/2/activities\",\n \"mentions\": \"/api/3/notes/2/mentions\",\n \"notes\": \"/api/3/notes/2/notes\",\n \"owner\": \"/api/3/notes/2/owner\",\n \"user\": \"/api/3/notes/2/user\"\n },\n \"mdate\": \"2017-06-01T13:42:13-05:00\",\n \"note\": \"Update with more info\",\n \"owner\": {\n \"id\": \"1\",\n \"type\": \"account\"\n },\n \"relid\": \"1\",\n \"reltype\": \"CustomerAccount\",\n \"user\": \"1\",\n \"userid\": \"1\"\n }\n}\n" } }, "schema": { "type": "object", "properties": { "accounts": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "Example Account" }, "accountUrl": { "type": "string", "example": "https://www.example.url" }, "createdTimestamp": { "type": "string", "example": "2019-04-03T13:29:35-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-12T16:59:54-05:00" }, "links": { "type": "object", "properties": { "notes": { "type": "string", "example": "https://hosted.localdev/api/3/accounts/1/notes" } } }, "id": { "type": "string", "example": "1" } } } }, "note": { "type": "object", "properties": { "cdate": { "type": "string", "example": "2017-06-01T13:42:13-05:00" }, "id": { "type": "string", "example": "2" }, "links": { "type": "object", "properties": { "activities": { "type": "string", "example": "/api/3/notes/2/activities" }, "mentions": { "type": "string", "example": "/api/3/notes/2/mentions" }, "notes": { "type": "string", "example": "/api/3/notes/2/notes" }, "owner": { "type": "string", "example": "/api/3/notes/2/owner" }, "user": { "type": "string", "example": "/api/3/notes/2/user" } } }, "mdate": { "type": "string", "example": "2017-06-01T13:42:13-05:00" }, "note": { "type": "string", "example": "Update with more info" }, "owner": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "type": { "type": "string", "example": "account" } } }, "relid": { "type": "string", "example": "1" }, "reltype": { "type": "string", "example": "CustomerAccount" }, "user": { "type": "string", "example": "1" }, "userid": { "type": "string", "example": "1" } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accounts/bulk_delete": { "delete": { "summary": "ActiveCampaign Bulk Delete Accounts", "description": "Delete an existing account", "operationId": "bulk-delete-accounts", "parameters": [ { "name": "[]ids", "in": "query", "description": "An integer id of the account to be deleted", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"meta\": {\n \"success\": true\n }\n}" } }, "schema": { "type": "object", "properties": { "meta": { "type": "object", "properties": { "success": { "type": "boolean", "example": true, "default": true } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountContacts": { "post": { "summary": "ActiveCampaign Create an Association", "description": "Create a new account association", "operationId": "create-an-account-1", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "accountContact": { "properties": { "account": { "type": "integer", "description": "Account ID", "format": "int32" }, "contact": { "type": "integer", "description": "Contact ID", "format": "int32" }, "jobTitle": { "type": "string", "description": "Job Title of the contact at the account" } }, "required": [ "account", "contact" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "accountContact": { "contact": 2, "account": 1, "jobTitle": "Product Manager" } } } } } } }, "responses": { "201": { "description": "201", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountContact\": {\n \"account\": 2,\n \"contact\": 1,\n \"jobTitle\": \"Product Manager\",\n \"createdTimestamp\": \"2019-06-26T10:49:10-05:00\",\n \"updatedTimestamp\": \"2019-06-26T10:49:10-05:00\",\n \"links\": {\n \"account\": \"http://hosted.localdev/api/3/accountContacts/2/account\",\n \"contact\": \"http://hosted.localdev/api/3/accountContacts/1/contact\"\n },\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "accountContact": { "type": "object", "properties": { "account": { "type": "integer", "example": 2, "default": 0 }, "contact": { "type": "integer", "example": 1, "default": 0 }, "jobTitle": { "type": "string", "example": "Product Manager" }, "createdTimestamp": { "type": "string", "example": "2019-06-26T10:49:10-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-26T10:49:10-05:00" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/2/account" }, "contact": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/1/contact" } } }, "id": { "type": "string", "example": "1" } } } } } } } }, "422": { "description": "422", "content": { "application/json": { "examples": { "Missing Data": { "value": "{\n \"errors\": [\n {\n \"title\": \"The account attribute was not provided\",\n \"detail\": \"\",\n \"code\": \"field_missing\",\n \"source\": {\n \"pointer\": \"/data/attributes/account\"\n }\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "example": "The account attribute was not provided" }, "detail": { "type": "string", "example": "" }, "code": { "type": "string", "example": "field_missing" }, "source": { "type": "object", "properties": { "pointer": { "type": "string", "example": "/data/attributes/account" } } } } } } } } }, "text/plain": { "examples": { "Alredy Existing": { "value": "{\n \"errors\": [\n {\n \"title\": \"This contact is already associated with an account. We currently do not support contacts on multiple accounts.\",\n \"detail\": \"\",\n \"code\": \"field_invalid\",\n \"source\": {\n \"pointer\": \"/data/attributes/account,contact\"\n }\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "example": "This contact is already associated with an account. We currently do not support contacts on multiple accounts." }, "detail": { "type": "string", "example": "" }, "code": { "type": "string", "example": "field_invalid" }, "source": { "type": "object", "properties": { "pointer": { "type": "string", "example": "/data/attributes/account,contact" } } } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign List All Associations", "description": "Retrieve all existing account association", "operationId": "list-all-associations-1", "parameters": [ { "name": "filters[contact]", "in": "query", "description": "Filter by Contact ID", "schema": { "type": "integer", "format": "int32" } }, { "name": "filters[account]", "in": "query", "description": "Filter by Account ID", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountContacts\": [\n {\n \"account\": \"2\",\n \"contact\": \"3\",\n \"jobTitle\": \"Product Manager\",\n \"createdTimestamp\": \"2019-06-26T10:49:10-05:00\",\n \"updatedTimestamp\": \"2019-06-26T10:49:10-05:00\",\n \"links\": {\n \"account\": \"http://hosted.localdev/api/3/accountContacts/17/account\",\n \"contact\": \"http://hosted.localdev/api/3/accountContacts/17/contact\"\n },\n \"id\": \"17\"\n },\n {\n \"account\": \"2\",\n \"contact\": \"1\",\n \"jobTitle\": \"Product Manager\",\n \"createdTimestamp\": \"2019-06-26T11:26:09-05:00\",\n \"updatedTimestamp\": \"2019-06-26T11:26:09-05:00\",\n \"links\": {\n \"account\": \"http://hosted.localdev/api/3/accountContacts/18/account\",\n \"contact\": \"http://hosted.localdev/api/3/accountContacts/18/contact\"\n },\n \"id\": \"18\"\n },\n {\n \"account\": \"3\",\n \"contact\": \"2\",\n \"jobTitle\": \"Product Manager\",\n \"createdTimestamp\": \"2019-06-26T11:26:15-05:00\",\n \"updatedTimestamp\": \"2019-06-26T11:26:15-05:00\",\n \"links\": {\n \"account\": \"http://hosted.localdev/api/3/accountContacts/19/account\",\n \"contact\": \"http://hosted.localdev/api/3/accountContacts/19/contact\"\n },\n \"id\": \"19\"\n }\n ],\n \"meta\": {\n \"total\": \"3\",\n \"queryLog\": {\n \"queries\": [\n {\n \"stmt\": \"SELECT COUNT(DISTINCT t.id) AS `__count` FROM em_customer_account_subscriber t WHERE 1\",\n \"time\": 0.3669261932373\n },\n {\n \"stmt\": \"SELECT t.* FROM em_customer_account_subscriber t WHERE 1 LIMIT 0, 20\",\n \"time\": 0.17809867858887\n }\n ],\n \"by_time\": [\n {\n \"stmt\": \"SELECT COUNT(DISTINCT t.id) AS `__count` FROM em_customer_account_subscriber t WHERE 1\",\n \"time\": 0.3669261932373\n },\n {\n \"stmt\": \"SELECT t.* FROM em_customer_account_subscriber t WHERE 1 LIMIT 0, 20\",\n \"time\": 0.17809867858887\n }\n ],\n \"total\": 0.54502487182617,\n \"mode\": \"read/write\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountContacts": { "type": "array", "items": { "type": "object", "properties": { "account": { "type": "string", "example": "2" }, "contact": { "type": "string", "example": "3" }, "jobTitle": { "type": "string", "example": "Product Manager" }, "createdTimestamp": { "type": "string", "example": "2019-06-26T10:49:10-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-26T10:49:10-05:00" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/17/account" }, "contact": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/17/contact" } } }, "id": { "type": "string", "example": "17" } } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "3" }, "queryLog": { "type": "object", "properties": { "queries": { "type": "array", "items": { "type": "object", "properties": { "stmt": { "type": "string", "example": "SELECT COUNT(DISTINCT t.id) AS `__count` FROM em_customer_account_subscriber t WHERE 1" }, "time": { "type": "number", "example": 0.3669261932373, "default": 0 } } } }, "by_time": { "type": "array", "items": { "type": "object", "properties": { "stmt": { "type": "string", "example": "SELECT COUNT(DISTINCT t.id) AS `__count` FROM em_customer_account_subscriber t WHERE 1" }, "time": { "type": "number", "example": 0.3669261932373, "default": 0 } } } }, "total": { "type": "number", "example": 0.54502487182617, "default": 0 }, "mode": { "type": "string", "example": "read/write" } } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountContacts/{id}": { "get": { "summary": "ActiveCampaign Retrieve an Association", "description": "Retrieve an existing account association", "operationId": "retrieve-an-association", "parameters": [ { "name": "id", "in": "path", "description": "Association's ID", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountContact\": {\n \"account\": \"2\",\n \"contact\": \"1\",\n \"jobTitle\": \"Product Manager\",\n \"createdTimestamp\": \"2019-06-26T11:26:09-05:00\",\n \"updatedTimestamp\": \"2019-06-26T11:26:09-05:00\",\n \"links\": {\n \"account\": \"http://hosted.localdev/api/3/accountContacts/18/account\",\n \"contact\": \"http://hosted.localdev/api/3/accountContacts/18/contact\"\n },\n \"id\": \"18\"\n },\n \"meta\": {\n \"queryLog\": {\n \"queries\": [\n {\n \"stmt\": \"SELECT * FROM em_customer_account_subscriber t WHERE 1 AND id = '18' LIMIT 0, 1\",\n \"time\": 0.31304359436035\n }\n ],\n \"by_time\": [\n {\n \"stmt\": \"SELECT * FROM em_customer_account_subscriber t WHERE 1 AND id = '18' LIMIT 0, 1\",\n \"time\": 0.31304359436035\n }\n ],\n \"total\": 0.31304359436035,\n \"mode\": \"read/write\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountContact": { "type": "object", "properties": { "account": { "type": "string", "example": "2" }, "contact": { "type": "string", "example": "1" }, "jobTitle": { "type": "string", "example": "Product Manager" }, "createdTimestamp": { "type": "string", "example": "2019-06-26T11:26:09-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-26T11:26:09-05:00" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/18/account" }, "contact": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/18/contact" } } }, "id": { "type": "string", "example": "18" } } }, "meta": { "type": "object", "properties": { "queryLog": { "type": "object", "properties": { "queries": { "type": "array", "items": { "type": "object", "properties": { "stmt": { "type": "string", "example": "SELECT * FROM em_customer_account_subscriber t WHERE 1 AND id = '18' LIMIT 0, 1" }, "time": { "type": "number", "example": 0.31304359436035, "default": 0 } } } }, "by_time": { "type": "array", "items": { "type": "object", "properties": { "stmt": { "type": "string", "example": "SELECT * FROM em_customer_account_subscriber t WHERE 1 AND id = '18' LIMIT 0, 1" }, "time": { "type": "number", "example": 0.31304359436035, "default": 0 } } } }, "total": { "type": "number", "example": 0.31304359436035, "default": 0 }, "mode": { "type": "string", "example": "read/write" } } } } } } } } } }, "404": { "description": "404", "content": { "text/plain": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for CustomerAccountSubscriber with id 100\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for CustomerAccountSubscriber with id 100" } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "put": { "summary": "ActiveCampaign Update an Association", "description": "Update an existing account association", "operationId": "update-an-association-1", "parameters": [ { "name": "id", "in": "path", "description": "Association's ID", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "accountContact": { "properties": { "account": { "type": "integer", "description": "Account ID", "format": "int32" }, "contact": { "type": "integer", "description": "Contact ID", "format": "int32" }, "jobTitle": { "type": "string", "description": "Job Title of the contact at the account" } }, "required": [ "account", "contact" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "accountContact": { "jobTitle": "Product Manager" } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountContact\": {\n \"account\": \"3\",\n \"contact\": \"2\",\n \"jobTitle\": \"CEO\",\n \"createdTimestamp\": \"2019-06-26T11:26:15-05:00\",\n \"updatedTimestamp\": \"2019-06-26T11:29:57-05:00\",\n \"links\": {\n \"account\": \"http://hosted.localdev/api/3/accountContacts/19/account\",\n \"contact\": \"http://hosted.localdev/api/3/accountContacts/19/contact\"\n },\n \"id\": \"19\"\n }\n}" } }, "schema": { "type": "object", "properties": { "accountContact": { "type": "object", "properties": { "account": { "type": "string", "example": "3" }, "contact": { "type": "string", "example": "2" }, "jobTitle": { "type": "string", "example": "CEO" }, "createdTimestamp": { "type": "string", "example": "2019-06-26T11:26:15-05:00" }, "updatedTimestamp": { "type": "string", "example": "2019-06-26T11:29:57-05:00" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/19/account" }, "contact": { "type": "string", "example": "http://hosted.localdev/api/3/accountContacts/19/contact" } } }, "id": { "type": "string", "example": "19" } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "delete": { "summary": "ActiveCampaign Delete an Association", "description": "Delete an existing account association", "operationId": "delete-an-association-1", "parameters": [ { "name": "id", "in": "path", "description": "Association's ID", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for CustomerAccountSubscriber with id 100\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for CustomerAccountSubscriber with id 100" } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountCustomFieldMeta": { "post": { "summary": "ActiveCampaign Create a Custom Field", "description": "", "operationId": "create-a-customfieldmeta", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "accountCustomFieldMetum": { "properties": { "fieldLabel": { "type": "string", "description": "Name of the field" }, "fieldType": { "type": "string", "description": "Type of field. Possible values are: `text`, `textarea`, `date`, `datetime`, `dropdown`, `multiselect`, `radio`, `checkbox`, `hidden`, `currency`, or `number`." }, "fieldOptions": { "type": "array", "description": "Options for the field. Only necessary if `field_type` is `dropdown`, `multiselect`, `radio`, or `checkbox`.", "items": { "type": "string" } }, "fieldDefault": { "type": "string", "description": "Default value of the field" }, "fieldDefaultCurrency": { "type": "string", "description": "The 3-letter currency code of the default currency for the field. Only necessary if `field_type` is `currency`." }, "isFormVisible": { "type": "boolean", "description": "Whether or not the field is visible on forms" }, "displayOrder": { "type": "integer", "description": "Order for displaying the field on Manage Fields page and deal profiles", "format": "int32" } }, "required": [ "fieldLabel", "fieldType" ], "type": "object" } } }, "examples": { "text": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample text field2", "fieldType": "text", "fieldDefault": "Default Text", "isFormVisible": 1, "displayOrder": 1 } } }, "textarea": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample textarea field", "fieldType": "textarea", "fieldDefault": "Default Text in Text Area", "isFormVisible": 1, "displayOrder": 2 } } }, "date (ISO ONLY)": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample date field", "fieldType": "date", "fieldDefault": "2018-12-31 00:00:00", "isFormVisible": 1, "displayOrder": 3 } } }, "dropdown": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample dropdown field", "fieldType": "dropdown", "fieldDefault": "option 2", "fieldOptions": [ "option 1", "option 2", "option 3" ], "isFormVisible": 1, "displayOrder": 4 } } }, "multiselect": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample multiselect field", "fieldType": "multiselect", "fieldDefault": [ "option 2", "option 3" ], "fieldOptions": [ "option 1", "option 2", "option 3" ], "isFormVisible": 1, "displayOrder": 5 } } }, "radio": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample radio field", "fieldType": "radio", "fieldDefault": "option 2", "fieldOptions": [ "option 1", "option 2", "option 3" ], "isFormVisible": 1, "displayOrder": 6 } } }, "checkbox": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample checkbox field", "fieldType": "checkbox", "fieldDefault": [ "option 2", "option 3" ], "fieldOptions": [ "option 1", "option 2", "option 3" ], "isFormVisible": 1, "displayOrder": 7 } } }, "hidden": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample hidden field", "fieldType": "hidden", "fieldDefault": "Default Text in Hidden Field", "isFormVisible": 1, "displayOrder": 8 } } }, "number": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample number field", "fieldType": "number", "fieldDefault": "100.99", "isFormVisible": 1, "displayOrder": 9 } } }, "currency": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample money field", "fieldType": "currency", "fieldDefault": "10099", "fieldDefaultCurrency": "aud", "isFormVisible": 1, "displayOrder": 10 } } }, "datetime": { "value": { "accountCustomFieldMetum": { "fieldLabel": "sample datetime field", "fieldType": "datetime", "fieldDefault": "2020-05-16T03:15:00-05:00", "isFormVisible": 1, "displayOrder": 3 } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldMetum\": {\n \"id\": \"1\",\n \"fieldLabel\": \"title\",\n \"fieldType\": \"text\",\n \"fieldOptions\": null,\n \"fieldDefault\": \"Default Text\",\n \"isFormVisible\": 1,\n \"isRequired\": 0,\n \"displayOrder\": 1,\n \"createdTimestamp\": \"2018-10-22 19:57:37\",\n \"updatedTimestamp\": \"2018-10-22 19:57:37\",\n \"links\": {\n \"accountCustomFieldData\": \"https://:account.api-us1.com/api/:version/3/accountCustomFieldMeta/1/accountCustomFieldData\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldMetum": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "fieldLabel": { "type": "string", "example": "title" }, "fieldType": { "type": "string", "example": "text" }, "fieldOptions": {}, "fieldDefault": { "type": "string", "example": "Default Text" }, "isFormVisible": { "type": "integer", "example": 1, "default": 0 }, "isRequired": { "type": "integer", "example": 0, "default": 0 }, "displayOrder": { "type": "integer", "example": 1, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2018-10-22 19:57:37" }, "updatedTimestamp": { "type": "string", "example": "2018-10-22 19:57:37" }, "links": { "type": "object", "properties": { "accountCustomFieldData": { "type": "string", "example": "https://:account.api-us1.com/api/:version/3/accountCustomFieldMeta/1/accountCustomFieldData" } } } } } } } } } }, "422": { "description": "422", "content": { "application/json": { "examples": { "Result": { "value": "{\n\t\"errors\": [\n \t\"title\": \"The field type field is required.\",\n \"detail\": \"\",\n \"code\": 422\n ]\n}" } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign List All Custom Fields", "description": "", "operationId": "list-all-custom-fields-meta", "parameters": [ { "name": "limit", "in": "query", "description": "The number of fields returned per request.", "schema": { "type": "integer", "format": "int32", "default": 100 } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldMeta\": [\n {\n \"id\": \"1\",\n \"fieldLabel\": \"Text Example\",\n \"fieldType\": \"text\",\n \"fieldOptions\": null,\n \"fieldDefault\": 1,\n \"fieldDefaultCurrency\": null,\n \"isFormVisible\": 0,\n \"isRequired\": 0,\n \"displayOrder\": 1,\n \"personalization\": \"\",\n \"knownFieldId\": null,\n \"hideFieldFlag\": 0,\n \"createdTimestamp\": \"2019-04-23 15:34:00\",\n \"updatedTimestamp\": \"2019-05-03 15:16:51\",\n \"links\": {\n \"accountCustomFieldData\": \"https://:account.api-us1.com/api/:version/accountCustomFieldMeta/1/accountCustomFieldData\"\n }\n },\n {\n \"id\": \"2\",\n \"fieldLabel\": \"Multiple Choice Example\",\n \"fieldType\": \"multiselect\",\n \"fieldOptions\": [\n \t\"Option 1\",\n \t\"Option 2\",\n \t\"Option 3\"\n ],\n \"fieldDefault\": 1,\n \"fieldDefaultCurrency\": null,\n \"isFormVisible\": 0,\n \"isRequired\": 0,\n \"displayOrder\": 2,\n \"personalization\": \"\",\n \"knownFieldId\": null,\n \"hideFieldFlag\": 0,\n \"createdTimestamp\": \"2019-04-23 15:34:00\",\n \"updatedTimestamp\": \"2019-05-03 15:16:51\",\n \"links\": {\n \"accountCustomFieldData\": \"https://:account.api-us1.com/api/:version/accountCustomFieldMeta/1/accountCustomFieldData\"\n }\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldMeta": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "fieldLabel": { "type": "string", "example": "Text Example" }, "fieldType": { "type": "string", "example": "text" }, "fieldOptions": {}, "fieldDefault": { "type": "integer", "example": 1, "default": 0 }, "fieldDefaultCurrency": {}, "isFormVisible": { "type": "integer", "example": 0, "default": 0 }, "isRequired": { "type": "integer", "example": 0, "default": 0 }, "displayOrder": { "type": "integer", "example": 1, "default": 0 }, "personalization": { "type": "string", "example": "" }, "knownFieldId": {}, "hideFieldFlag": { "type": "integer", "example": 0, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2019-04-23 15:34:00" }, "updatedTimestamp": { "type": "string", "example": "2019-05-03 15:16:51" }, "links": { "type": "object", "properties": { "accountCustomFieldData": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldMeta/1/accountCustomFieldData" } } } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountCustomFieldMeta/{id}": { "get": { "summary": "ActiveCampaign Retrieve a Custom Field", "description": "", "operationId": "retrieve-a-custom-field-meta", "parameters": [ { "name": "id", "in": "path", "description": "ID of the field to retrieve", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldMetum\": {\n \"id\": \"1\",\n \"fieldLabel\": \"New Title\",\n \"fieldType\": \"text\",\n \"fieldOptions\": null,\n \"fieldDefault\": \"Default Text\",\n \"isFormVisible\": 1,\n \"isRequired\": 1,\n \"displayOrder\": 1,\n \"createdTimestamp\": \"2018-10-22 19:57:37\",\n \"updatedTimestamp\": \"2018-10-22 20:04:21\",\n \"links\": {\n \"accountCustomFieldData\": \"https://:account.api-us1.com/api/:version/accountCustomFieldMeta/1/accountCustomFieldData\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldMetum": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "fieldLabel": { "type": "string", "example": "New Title" }, "fieldType": { "type": "string", "example": "text" }, "fieldOptions": {}, "fieldDefault": { "type": "string", "example": "Default Text" }, "isFormVisible": { "type": "integer", "example": 1, "default": 0 }, "isRequired": { "type": "integer", "example": 1, "default": 0 }, "displayOrder": { "type": "integer", "example": 1, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2018-10-22 19:57:37" }, "updatedTimestamp": { "type": "string", "example": "2018-10-22 20:04:21" }, "links": { "type": "object", "properties": { "accountCustomFieldData": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldMeta/1/accountCustomFieldData" } } } } } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"errors\": [\n {\n \"status\": 404,\n \"title\": \"Not Found\"\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "integer", "example": 404, "default": 0 }, "title": { "type": "string", "example": "Not Found" } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "put": { "summary": "ActiveCampaign Update a Custom Field", "description": "", "operationId": "update-a-custom-field", "parameters": [ { "name": "id", "in": "path", "description": "ID of the custom field to update", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "accountCustomFieldMetum": { "properties": { "fieldLabel": { "type": "string", "description": "Name of the field" }, "fieldOptions": { "type": "array", "description": "Options for the field. Only necessary if field_type is dropdown, multiselect, radio, or checkbox.", "items": { "type": "string" } }, "fieldDefault": { "type": "string", "description": "Default value of the field" }, "isFormVisible": { "type": "boolean", "description": "Whether or not the field is visible on forms" }, "displayOrder": { "type": "integer", "description": "Order for displaying the field on Manage Fields page and deal profiles", "format": "int32" } }, "required": [], "type": "object" } } }, "examples": { "Request Example": { "value": { "accountCustomFieldMetum": { "fieldLabel": "New Title", "fieldDefault": "Default Text", "isFormVisible": 1, "displayOrder": 1 } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldMetum\": {\n \"id\": \"1\",\n \"fieldLabel\": \"New Title\",\n \"fieldType\": \"text\",\n \"fieldOptions\": null,\n \"fieldDefault\": \"Default Text\",\n \"isFormVisible\": 1,\n \"isRequired\": 1,\n \"displayOrder\": 1,\n \"createdTimestamp\": \"2018-10-22 19:57:37\",\n \"updatedTimestamp\": \"2018-10-22 20:04:21\",\n \"links\": {\n \"accountCustomFieldData\": \"https://:account.api-us1.com/api/:version/accountCustomFieldMeta/1/accountCustomFieldData\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldMetum": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "fieldLabel": { "type": "string", "example": "New Title" }, "fieldType": { "type": "string", "example": "text" }, "fieldOptions": {}, "fieldDefault": { "type": "string", "example": "Default Text" }, "isFormVisible": { "type": "integer", "example": 1, "default": 0 }, "isRequired": { "type": "integer", "example": 1, "default": 0 }, "displayOrder": { "type": "integer", "example": 1, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2018-10-22 19:57:37" }, "updatedTimestamp": { "type": "string", "example": "2018-10-22 20:04:21" }, "links": { "type": "object", "properties": { "accountCustomFieldData": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldMeta/1/accountCustomFieldData" } } } } } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"errors\": [\n {\n \"status\": 404,\n \"title\": \"Not Found\"\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "integer", "example": 404, "default": 0 }, "title": { "type": "string", "example": "Not Found" } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "delete": { "summary": "ActiveCampaign Delete a Custom Field", "description": "", "operationId": "delete-a-custom-field", "parameters": [ { "name": "id", "in": "path", "description": "ID of the field to delete", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"AccountCustomFieldMeta deleted.\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "AccountCustomFieldMeta deleted." } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"errors\": [\n {\n \"status\": 404,\n \"title\": \"Not Found\"\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "integer", "example": 404, "default": 0 }, "title": { "type": "string", "example": "Not Found" } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountCustomFieldData": { "post": { "summary": "ActiveCampaign Create a Custom Field Value", "description": "", "operationId": "create-a-custom-field-value", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "accountCustomFieldDatum": { "properties": { "customerAccountId": { "type": "integer", "description": "The ID of the account this field value relates to", "format": "int32" }, "customFieldId": { "type": "integer", "description": "The ID of the custom field metum this field value relates to", "format": "int32" }, "fieldValue": { "type": "string", "description": "Values for the field. (For `currency` field only, this needs to be in cents: eg, 10050 = 100.5)" }, "fieldCurrency": { "type": "string", "description": "Currency code for the money value", "default": "Default Currency for Field" } }, "required": [ "customerAccountId", "customFieldId", "fieldValue" ], "type": "object" } } }, "examples": { "text/textarea/hidden": { "value": { "accountCustomFieldDatum": { "accountId": "2", "customFieldId": "1", "fieldValue": "test title" } } }, "dropdown/radio": { "value": { "accountCustomFieldDatum": { "customerAccountId": "2", "customFieldId": "2", "fieldValue": "||option 1||option 2||option 3||" } } }, "mutliple multiselects/checkboxes": { "value": { "accountCustomFieldDatum": { "customerAccountId": "2", "customFieldId": "3", "fieldValue": [ "option 1", "option 3", "option 4" ] } } }, "currency": { "value": { "accountCustomFieldDatum": { "customerAccountId": "1", "customFieldId": "4", "fieldValue": 9999, "fieldCurrency": "cad" } } }, "number": { "value": { "accountCustomFieldDatum": { "customerAccountId": "1", "customFieldId": "5", "fieldValue": "100.99" } } }, "date": { "value": { "accountCustomFieldDatum": { "customerAccountId": "1", "customFieldId": "6", "fieldValue": "2018-12-31" } } }, "datetime": { "value": { "accountCustomFieldDatum": { "customerAccountId": "1", "customFieldId": "14", "fieldValue": "2020-05-19T02:45:00-05:00" } } }, "single multiselect/checkbox": { "value": { "accountCustomFieldDatum": { "customerAccountId": "2", "customFieldId": "3", "fieldValue": [ "option 1", "option 2", "option 3" ] } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldDatum\": {\n \"id\": \"5\",\n \"accountCustomFieldMetumId\": 1,\n \"accountId\": 2,\n \"customFieldId\": 1,\n \"createdTimestamp\": \"2018-11-06 02:27:05\",\n \"updatedTimestamp\": \"2018-11-06 02:27:05\",\n \"fieldValue\": \"test title\",\n \"links\": {\n \"account\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/5/account\",\n \"accountCustomFieldMetum\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/5/accountCustomFieldMetum\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldDatum": { "type": "object", "properties": { "id": { "type": "string", "example": "5" }, "accountCustomFieldMetumId": { "type": "integer", "example": 1, "default": 0 }, "accountId": { "type": "integer", "example": 2, "default": 0 }, "customFieldId": { "type": "integer", "example": 1, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2018-11-06 02:27:05" }, "updatedTimestamp": { "type": "string", "example": "2018-11-06 02:27:05" }, "fieldValue": { "type": "string", "example": "test title" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/5/account" }, "accountCustomFieldMetum": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/5/accountCustomFieldMetum" } } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign List All Custom Field Values", "description": "", "operationId": "list-all-custom-field-values-2", "parameters": [ { "name": "filters[customerAccountId]", "in": "query", "description": "Filter results by a specific account (note that Id uses a capital I)", "schema": { "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldData\": [\n {\n \"id\": \"3\",\n \"accountCustomFieldMetumId\": 1,\n \"accountId\": 1,\n \"customFieldId\": 1,\n \"createdTimestamp\": \"2018-11-06 02:26:07\",\n \"updatedTimestamp\": \"2018-11-06 02:26:07\",\n \"fieldValue\": \"test title\",\n \"links\": {\n \"account\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/3/account\",\n \"accountCustomFieldMetum\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/3/accountCustomFieldMetum\"\n }\n },\n {\n \"id\": \"4\",\n \"accountCustomFieldMetumId\": 1,\n \"accountId\": 3,\n \"customFieldId\": 1,\n \"createdTimestamp\": \"2018-11-06 02:26:51\",\n \"updatedTimestamp\": \"2018-11-06 02:26:51\",\n \"fieldValue\": \"test title\",\n \"links\": {\n \"account\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/4/account\",\n \"accountCustomFieldMetum\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/4/accountCustomFieldMetum\"\n }\n },\n {\n \"id\": \"5\",\n \"accountCustomFieldMetumId\": 1,\n \"accountId\": 2,\n \"customFieldId\": 1,\n \"createdTimestamp\": \"2018-11-06 02:27:05\",\n \"updatedTimestamp\": \"2018-11-06 02:27:05\",\n \"fieldValue\": \"test title\",\n \"links\": {\n \"account\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/5/account\",\n \"accountCustomFieldMetum\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/5/accountCustomFieldMetum\"\n }\n },\n {\n \"id\": \"1\",\n \"accountCustomFieldMetumId\": 5,\n \"accountId\": 2,\n \"customFieldId\": 5,\n \"createdTimestamp\": \"2018-10-29 20:40:38\",\n \"updatedTimestamp\": \"2018-11-06 02:21:36\",\n \"fieldValue\": \"New title\",\n \"links\": {\n \"account\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/1/account\",\n \"accountCustomFieldMetum\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/1/accountCustomFieldMetum\"\n }\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldData": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "example": "3" }, "accountCustomFieldMetumId": { "type": "integer", "example": 1, "default": 0 }, "accountId": { "type": "integer", "example": 1, "default": 0 }, "customFieldId": { "type": "integer", "example": 1, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2018-11-06 02:26:07" }, "updatedTimestamp": { "type": "string", "example": "2018-11-06 02:26:07" }, "fieldValue": { "type": "string", "example": "test title" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/3/account" }, "accountCustomFieldMetum": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/3/accountCustomFieldMetum" } } } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountCustomFieldData/bulkCreate": { "post": { "summary": "ActiveCampaign Bulk Create a Custom Account Field Value", "description": "", "operationId": "bulk-create-a-custom-account-field-value", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "array": { "properties": { "customerAccountId": { "type": "integer", "description": "The ID of the account this field value relates to", "format": "int32" }, "customFieldId": { "type": "integer", "description": "The ID of the custom field metum this field value relates to", "format": "int32" }, "fieldValue": { "type": "string", "description": "Values for the field. (For currency field only, this needs to be in cents: eg, 10050 = 100.5)" }, "fieldCurrency": { "type": "string", "description": "Currency code for the money value" } }, "required": [ "customerAccountId", "customFieldId", "fieldValue" ], "type": "object" } } }, "examples": { "Request Example": { "value": [ { "accountId": "1", "customFieldId": "1", "fieldValue": "test title" }, { "accountId": "1", "customFieldId": "2", "fieldValue": "test title" }, { "accountId": "1", "customFieldId": "3", "fieldValue": [ "option 1", "option 3", "option 4" ] }, { "accountId": "1", "customFieldId": "4", "fieldValue": 9999, "fieldCurrency": "cad" }, { "accountId": "1", "customFieldId": "5", "fieldValue": "100.99" }, { "accountId": "1", "customFieldId": "6", "fieldValue": "2018-12-31" }, { "accountId": "1", "customFieldId": "7", "fieldValue": "2020-05-19T02:45:00-05:00" } ] } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"the bulk insert was successful\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "the bulk insert was successful" } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountCustomFieldData/{id}": { "get": { "summary": "ActiveCampaign Retrieve a Custom Field Value", "description": "", "operationId": "retrieve-a-custom-field-value", "parameters": [ { "name": "id", "in": "path", "description": "ID of the dealCustomFieldData to retrieve", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldDatum\": {\n \"id\": \"1\",\n \"accountId\": 2,\n \"customFieldId\": 5,\n \"createdTimestamp\": \"2018-10-29 20:40:38\",\n \"updatedTimestamp\": \"2018-11-06 02:21:36\",\n \"fieldValue\": \"New title\",\n \"links\": {\n \"account\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/1/account\",\n \"accountCustomFieldMetum\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/1/accountCustomFieldMetum\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldDatum": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "accountId": { "type": "integer", "example": 2, "default": 0 }, "customFieldId": { "type": "integer", "example": 5, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2018-10-29 20:40:38" }, "updatedTimestamp": { "type": "string", "example": "2018-11-06 02:21:36" }, "fieldValue": { "type": "string", "example": "New title" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/1/account" }, "accountCustomFieldMetum": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/1/accountCustomFieldMetum" } } } } } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"errors\": [\n {\n \"status\": 404,\n \"title\": \"Not Found\"\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "integer", "example": 404, "default": 0 }, "title": { "type": "string", "example": "Not Found" } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "put": { "summary": "ActiveCampaign Update a Custom Field Value", "description": "", "operationId": "update-a-custom-field-value", "parameters": [ { "name": "id", "in": "path", "description": "ID of the custom fields value to update", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "accountCustomFieldDatum": { "properties": { "fieldValue": { "type": "string", "description": "Values for text" }, "fieldCurrency": { "type": "string", "description": "Currency code for the `currency` value", "default": "Default Currency for Field" } }, "required": [], "type": "object" } } }, "examples": { "text/textarea/hidden": { "value": { "accountCustomFieldDatum": { "fieldValue": "New title" } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"accountCustomFieldDatum\": {\n \"id\": \"1\",\n \"accountId\": 2,\n \"customFieldId\": 5,\n \"createdTimestamp\": \"2018-10-29 20:40:38\",\n \"updatedTimestamp\": \"2018-11-06 02:21:36\",\n \"fieldValue\": \"New title\",\n \"links\": {\n \"account\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/1/account\",\n \"accountCustomFieldMetum\": \"https://:account.api-us1.com/api/:version/accountCustomFieldData/1/accountCustomFieldMetum\"\n }\n }\n}" } }, "schema": { "type": "object", "properties": { "accountCustomFieldDatum": { "type": "object", "properties": { "id": { "type": "string", "example": "1" }, "accountId": { "type": "integer", "example": 2, "default": 0 }, "customFieldId": { "type": "integer", "example": 5, "default": 0 }, "createdTimestamp": { "type": "string", "example": "2018-10-29 20:40:38" }, "updatedTimestamp": { "type": "string", "example": "2018-11-06 02:21:36" }, "fieldValue": { "type": "string", "example": "New title" }, "links": { "type": "object", "properties": { "account": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/1/account" }, "accountCustomFieldMetum": { "type": "string", "example": "https://:account.api-us1.com/api/:version/accountCustomFieldData/1/accountCustomFieldMetum" } } } } } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"errors\": [\n {\n \"status\": 404,\n \"title\": \"Not Found\"\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "integer", "example": 404, "default": 0 }, "title": { "type": "string", "example": "Not Found" } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "delete": { "summary": "ActiveCampaign Delete a Custom Field Value", "description": "", "operationId": "delete-a-custom-field-value", "parameters": [ { "name": "id", "in": "path", "description": "ID of the dealCustomFieldData to retrieve", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"AccountCustomFieldData deleted.\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "AccountCustomFieldData deleted." } } } } } }, "404": { "description": "404", "content": { "text/plain": { "examples": { "Result": { "value": "{\n \"errors\": [\n {\n \"status\": 404,\n \"title\": \"Not Found\"\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "integer", "example": 404, "default": 0 }, "title": { "type": "string", "example": "Not Found" } } } } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/accountCustomFieldData/bulkUpdate": { "patch": { "summary": "ActiveCampaign Bulk Update a Custom Field Value", "description": "", "operationId": "bulk-update-a-custom-account-field-value", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "array": { "properties": { "id": { "type": "integer", "description": "ID of the dealCustomFieldData to update", "format": "int32" }, "fieldValue": { "type": "string", "description": "Values for the field. (For currency field only, this needs to be in cents: eg, 10050 = 100.5)" }, "fieldCurrency": { "type": "string", "description": "Currency code for the money value" } }, "required": [ "id", "fieldValue" ], "type": "object" } } }, "examples": { "Request Example": { "value": [ { "id": "1", "fieldValue": "test title" }, { "id": "2", "fieldValue": [ "option 1", "option 3", "option 4" ] }, { "id": "3", "fieldValue": 9999, "fieldCurrency": "cad" }, { "id": "4", "fieldValue": "100.99" }, { "id": "5", "fieldValue": "2018-12-31" }, { "id": "6", "fieldValue": "2020-05-19T02:45:00-05:00" } ] } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"AccountCustomFieldDatas with ID(s): 1, 2, 3, 4, 5 successfully bulk updated.\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "AccountCustomFieldDatas with ID(s): 1, 2, 3, 4, 5 successfully bulk updated." } } } } } } }, "deprecated": false, "tags": [ "Accounts" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/addresses": { "post": { "summary": "ActiveCampaign Create an Address", "description": "", "operationId": "create-an-address", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "address": { "properties": { "groupid": { "type": "integer", "format": "int32" }, "global": { "type": "string" }, "company_name": { "type": "string" }, "address_1": { "type": "string" }, "address_2": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "zip": { "type": "string" }, "district": { "type": "string", "description": "(Optional for countries that use it)" }, "country": { "type": "string", "description": "Accepts a (2) two character string - country code (eg 'US', 'CA', 'MX')" }, "allgroup": { "type": "integer", "format": "int32" }, "is_default": { "type": "boolean", "description": "Indicates default address" } }, "required": [ "company_name", "address_1", "country" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "address": { "company_name": "TEST NAME", "address_1": "TEST ADDRESS", "country": "US" } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"address\": {\n \"companyName\": \"TEST NAME\",\n \"address1\": \"TEST ADDRESS\",\n \"country\": 3,\n \"links\": {\n \"addressGroup\": \"https://:account.api-us1.com/api/3/addresses/3/addressGroup\",\n \"addressList\": \"https://:account.api-us1.com/api/3/addresses/3/addressList\",\n \"forms\": \"https://:account.api-us1.com/api/3/addresses/3/forms\"\n },\n \"id\": \"3\"\n }\n}" } }, "schema": { "type": "object", "properties": { "address": { "type": "object", "properties": { "companyName": { "type": "string", "example": "TEST NAME" }, "address1": { "type": "string", "example": "TEST ADDRESS" }, "country": { "type": "integer", "example": 3, "default": 0 }, "links": { "type": "object", "properties": { "addressGroup": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/3/addressGroup" }, "addressList": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/3/addressList" }, "forms": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/3/forms" } } }, "id": { "type": "string", "example": "3" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Addresses" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign List All Addresses", "description": "", "operationId": "list-all-addresses", "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "GET /addresses (Example RESPONSE)": { "value": "{\n \"addresses\": [\n {\n \"companyName\": \"Test Company Name\",\n \"address1\": \"Test Address\",\n \"address2\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"district\": \"\",\n \"zip\": \"\",\n \"country\": \"US\",\n \"allgroup\": \"0\",\n \"isDefault\": \"1\",\n \"links\": {\n \"addressGroup\": \"https://:account.api-us1.com/api/3/addresses/1/addressGroup\",\n \"addressList\": \"https://:account.api-us1.com/api/3/addresses/1/addressList\",\n \"forms\": \"https://:account.api-us1.com/api/3/addresses/1/forms\"\n },\n \"id\": \"1\"\n },\n {\n \"companyName\": \"TEST NAME\",\n \"address1\": \"TEST ADDRESS\",\n \"address2\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"district\": \"\",\n \"zip\": \"\",\n \"country\": \"US\",\n \"allgroup\": \"0\",\n \"isDefault\": \"0\",\n \"links\": {\n \"addressGroup\": \"https://:account.api-us1.com/api/3/addresses/2/addressGroup\",\n \"addressList\": \"https://:account.api-us1.com/api/3/addresses/2/addressList\",\n \"forms\": \"https://:account.api-us1.com/api/3/addresses/2/forms\"\n },\n \"id\": \"2\"\n }\n ],\n \"meta\": {\n \"total\": \"2\"\n }\n}" } }, "schema": { "type": "object", "properties": { "addresses": { "type": "array", "items": { "type": "object", "properties": { "companyName": { "type": "string", "example": "Test Company Name" }, "address1": { "type": "string", "example": "Test Address" }, "address2": { "type": "string", "example": "" }, "city": { "type": "string", "example": "" }, "state": { "type": "string", "example": "" }, "district": { "type": "string", "example": "" }, "zip": { "type": "string", "example": "" }, "country": { "type": "string", "example": "US" }, "allgroup": { "type": "string", "example": "0" }, "isDefault": { "type": "string", "example": "1" }, "links": { "type": "object", "properties": { "addressGroup": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/addressGroup" }, "addressList": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/addressList" }, "forms": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/forms" } } }, "id": { "type": "string", "example": "1" } } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "2" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Addresses" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/addresses/{id}": { "get": { "summary": "ActiveCampaign Retrieve an Address", "description": "", "operationId": "retrieve-an-address", "parameters": [ { "name": "id", "in": "path", "description": "ID of the Address to retrieve", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"address\": {\n \"companyName\": \"Test Company Name\",\n \"address1\": \"Test Address\",\n \"address2\": \"\",\n \"city\": \"\",\n \"state\": \"\",\n \"district\": \"\",\n \"zip\": \"\",\n \"country\": \"US\",\n \"allgroup\": \"0\",\n \"isDefault\": \"1\",\n \"links\": {\n \"addressGroup\": \"https://:account.api-us1.com/api/3/addresses/1/addressGroup\",\n \"addressList\": \"https://:account.api-us1.com/api/3/addresses/1/addressList\",\n \"forms\": \"https://:account.api-us1.com/api/3/addresses/1/forms\"\n },\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "address": { "type": "object", "properties": { "companyName": { "type": "string", "example": "Test Company Name" }, "address1": { "type": "string", "example": "Test Address" }, "address2": { "type": "string", "example": "" }, "city": { "type": "string", "example": "" }, "state": { "type": "string", "example": "" }, "district": { "type": "string", "example": "" }, "zip": { "type": "string", "example": "" }, "country": { "type": "string", "example": "US" }, "allgroup": { "type": "string", "example": "0" }, "isDefault": { "type": "string", "example": "1" }, "links": { "type": "object", "properties": { "addressGroup": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/addressGroup" }, "addressList": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/addressList" }, "forms": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/forms" } } }, "id": { "type": "string", "example": "1" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Addresses" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "put": { "summary": "ActiveCampaign Update an Address", "description": "", "operationId": "update-an-address", "parameters": [ { "name": "id", "in": "path", "description": "ID of the Address being changed", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "address": { "properties": { "groupid": { "type": "integer", "format": "int32" }, "global": { "type": "string" }, "company_name": { "type": "string" }, "address_1": { "type": "string" }, "address_2": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "zip": { "type": "string" }, "district": { "type": "string", "description": "(Optional for countries that use it)" }, "country": { "type": "string", "description": "Accepts a (2) two character string - country code (eg 'US', 'CA', 'MX')" }, "allgroup": { "type": "integer", "format": "int32" }, "is_default": { "type": "boolean", "description": "Indicates default address" } }, "required": [ "company_name", "address_1", "country" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "address": { "companyName": "New Test Company Name", "address1": "111 New Test Address", "address2": "", "city": "New Test City", "state": "Florida", "zip": "12345", "country": "US" } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"address\": {\n \"companyName\": \"New Test Company Name\",\n \"address1\": \"111 New Test Address\",\n \"address2\": \"\",\n \"city\": \"New Test City\",\n \"state\": \"Florida\",\n \"district\": \"\",\n \"zip\": \"12345\",\n \"country\": \"US\",\n \"allgroup\": \"0\",\n \"isDefault\": \"1\",\n \"links\": {\n \"addressGroup\": \"https://:account.api-us1.com/api/3/addresses/1/addressGroup\",\n \"addressList\": \"https://:account.api-us1.com/api/3/addresses/1/addressList\",\n \"forms\": \"https://:account.api-us1.com/api/3/addresses/1/forms\"\n },\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "address": { "type": "object", "properties": { "companyName": { "type": "string", "example": "New Test Company Name" }, "address1": { "type": "string", "example": "111 New Test Address" }, "address2": { "type": "string", "example": "" }, "city": { "type": "string", "example": "New Test City" }, "state": { "type": "string", "example": "Florida" }, "district": { "type": "string", "example": "" }, "zip": { "type": "string", "example": "12345" }, "country": { "type": "string", "example": "US" }, "allgroup": { "type": "string", "example": "0" }, "isDefault": { "type": "string", "example": "1" }, "links": { "type": "object", "properties": { "addressGroup": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/addressGroup" }, "addressList": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/addressList" }, "forms": { "type": "string", "example": "https://:account.api-us1.com/api/3/addresses/1/forms" } } }, "id": { "type": "string", "example": "1" } } } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for Address with id 3\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for Address with id 3" } } } } } } }, "deprecated": false, "tags": [ "Addresses" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "delete": { "summary": "ActiveCampaign Delete an Address", "description": "", "operationId": "delete-an-address", "parameters": [ { "name": "id", "in": "path", "description": "ID of the Address to delete", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for Address with id 3\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for Address with id 3" } } } } } } }, "deprecated": false, "tags": [ "Addresses" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/addressGroups/{id}": { "delete": { "summary": "ActiveCampaign Delete Address Associated with a Specific User Group", "description": "", "operationId": "delete-an-addressgroup", "parameters": [ { "name": "id", "in": "path", "description": "ID of the AddressGroup to delete", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for AddressGroup with id 19\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for AddressGroup with id 19" } } } } } } }, "deprecated": false, "tags": [ "Addresses" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/addressLists/{id}": { "delete": { "summary": "ActiveCampaign Delete Address Associated with a Specific List", "description": "", "operationId": "delete-an-addresslist", "parameters": [ { "name": "id", "in": "path", "description": "ID of the AddressList to delete", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for AddressList with id 6\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for AddressList with id 6" } } } } } } }, "deprecated": false, "tags": [ "Addresses" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/automations": { "get": { "summary": "ActiveCampaign List All Automations", "description": "", "operationId": "list-all-automations", "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"automations\": [\n {\n \"name\": \"Email Subscription\",\n \"cdate\": \"2018-08-06T16:28:43-05:00\",\n \"mdate\": \"2018-08-06T16:33:10-05:00\",\n \"userid\": \"1\",\n \"status\": \"2\",\n \"entered\": \"0\",\n \"exited\": \"0\",\n \"hidden\": \"0\",\n \"defaultscreenshot\": \"http://img-us1.com/default-series.gif\",\n \"screenshot\": \"https://d226aj4ao1t61q.cloudfront.net/k0x4h0lr_default-automation.png\",\n \"links\": {\n \"campaigns\": \"https://:account.api-us1.com/api/3/automations/1/campaigns\",\n \"contactGoals\": \"https://:account.api-us1.com/api/3/automations/1/contactGoals\",\n \"contactAutomations\": \"https://:account.api-us1.com/api/3/automations/1/contactAutomations\",\n \"blocks\": \"https://:account.api-us1.com/api/3/automations/1/blocks\",\n \"goals\": \"https://:account.api-us1.com/api/3/automations/1/goals\",\n \"sms\": \"https://:account.api-us1.com/api/3/automations/1/sms\",\n \"sitemessages\": \"https://:account.api-us1.com/api/3/automations/1/sitemessages\"\n },\n \"id\": \"1\"\n },\n {\n \"name\": \"Test SMS Send\",\n \"cdate\": \"2018-09-18T10:46:32-05:00\",\n \"mdate\": \"2018-09-18T10:54:30-05:00\",\n \"userid\": \"1\",\n \"status\": \"1\",\n \"entered\": \"2\",\n \"exited\": \"2\",\n \"hidden\": \"0\",\n \"defaultscreenshot\": \"http://img-us1.com/default-series.gif\",\n \"screenshot\": \"https://d226aj4ao1t61q.cloudfront.net/k0x4h0lr_default-automation.png\",\n \"links\": {\n \"campaigns\": \"https://:account.api-us1.com/api/3/automations/2/campaigns\",\n \"contactGoals\": \"https://:account.api-us1.com/api/3/automations/2/contactGoals\",\n \"contactAutomations\": \"https://:account.api-us1.com/api/3/automations/2/contactAutomations\",\n \"blocks\": \"https://:account.api-us1.com/api/3/automations/2/blocks\",\n \"goals\": \"https://:account.api-us1.com/api/3/automations/2/goals\",\n \"sms\": \"https://:account.api-us1.com/api/3/automations/2/sms\",\n \"sitemessages\": \"https://:account.api-us1.com/api/3/automations/2/sitemessages\"\n },\n \"id\": \"2\"\n }\n ],\n \"meta\": {\n \"total\": \"2\",\n \"starts\": [\n {\n \"id\": \"2\",\n \"series\": \"1\",\n \"type\": \"subscribe\"\n },\n {\n \"id\": \"4\",\n \"series\": \"2\",\n \"type\": \"subscribe\"\n }\n ],\n \"filtered\": false,\n \"smsLogs\": []\n }\n}" } }, "schema": { "type": "object", "properties": { "automations": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "Email Subscription" }, "cdate": { "type": "string", "example": "2018-08-06T16:28:43-05:00" }, "mdate": { "type": "string", "example": "2018-08-06T16:33:10-05:00" }, "userid": { "type": "string", "example": "1" }, "status": { "type": "string", "example": "2" }, "entered": { "type": "string", "example": "0" }, "exited": { "type": "string", "example": "0" }, "hidden": { "type": "string", "example": "0" }, "defaultscreenshot": { "type": "string", "example": "http://img-us1.com/default-series.gif" }, "screenshot": { "type": "string", "example": "https://d226aj4ao1t61q.cloudfront.net/k0x4h0lr_default-automation.png" }, "links": { "type": "object", "properties": { "campaigns": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/campaigns" }, "contactGoals": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/contactGoals" }, "contactAutomations": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/contactAutomations" }, "blocks": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/blocks" }, "goals": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/goals" }, "sms": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/sms" }, "sitemessages": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/sitemessages" } } }, "id": { "type": "string", "example": "1" } } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "2" }, "starts": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "example": "2" }, "series": { "type": "string", "example": "1" }, "type": { "type": "string", "example": "subscribe" } } } }, "filtered": { "type": "boolean", "example": false, "default": true }, "smsLogs": { "type": "array" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Automations" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/brandings/{id}": { "get": { "summary": "ActiveCampaign Retrieve a Branding", "description": "Retrieve an existing branding resource", "operationId": "get-branding", "parameters": [ { "name": "id", "in": "path", "schema": { "type": "integer", "format": "int32", "default": null }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n\t\"branding\": {\n\t\t\"groupid\": \"3\",\n\t\t\"siteName\": \"ActiveCampaign Email Marketing\",\n\t\t\"siteLogo\": \"http:\\/\\/mysite.com\\/logo.jpg\",\n\t\t\"siteLogoSmall\": \"http:\\/\\/mysite.com\\/logo_small.jpg\",\n\t\t\"headerTextValue\": \"my custom text header\",\n\t\t\"headerHtmlValue\": \"
my custom HTML header<\\/p>\",\n\t\t\"footerTextValue\": \"my custom text footer\",\n\t\t\"footerHtmlValue\": \"
my custom HTML footer<\\/p>\",\n\t\t\"copyright\": \"1\",\n\t\t\"version\": \"1\",\n\t\t\"license\": \"1\",\n\t\t\"links\": \"1\",\n\t\t\"help\": \"1\",\n\t\t\"adminTemplateHtm\": \"\",\n\t\t\"adminTemplateCss\": \"\",\n\t\t\"publicTemplateHtm\": \"\",\n\t\t\"publicTemplateCss\": \"\",\n\t\t\"favicon\": null,\n\t\t\"id\": \"1\"\n\t}\n}" } }, "schema": { "type": "object", "properties": { "branding": { "type": "object", "properties": { "groupid": { "type": "string", "example": "3" }, "siteName": { "type": "string", "example": "ActiveCampaign Email Marketing" }, "siteLogo": { "type": "string", "example": "http://mysite.com/logo.jpg" }, "siteLogoSmall": { "type": "string", "example": "http://mysite.com/logo_small.jpg" }, "headerTextValue": { "type": "string", "example": "my custom text header" }, "headerHtmlValue": { "type": "string", "example": "
my custom HTML header
" }, "footerTextValue": { "type": "string", "example": "my custom text footer" }, "footerHtmlValue": { "type": "string", "example": "my custom HTML footer
" }, "copyright": { "type": "string", "example": "1" }, "version": { "type": "string", "example": "1" }, "license": { "type": "string", "example": "1" }, "links": { "type": "string", "example": "1" }, "help": { "type": "string", "example": "1" }, "adminTemplateHtm": { "type": "string", "example": "" }, "adminTemplateCss": { "type": "string", "example": "" }, "publicTemplateHtm": { "type": "string", "example": "" }, "publicTemplateCss": { "type": "string", "example": "" }, "favicon": {}, "id": { "type": "string", "example": "1" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Branding" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "put": { "summary": "ActiveCampaign Update a Branding", "description": "Update an existing branding resource", "operationId": "update-branding", "parameters": [ { "name": "id", "in": "path", "description": "Branding ID", "schema": { "type": "integer", "format": "int32", "default": 1 }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "branding": { "properties": { "groupid": { "type": "integer", "description": "The group ID. This value will always be 3.", "default": 3, "format": "int32" }, "siteName": { "type": "string", "description": "Title of software. Example: 'ActiveCampaign Email Marketing'" }, "siteLogo": { "type": "string" }, "siteLogoSmall": { "type": "string", "description": "URL of small logo. Small logos appear in the header of the admin panel." }, "headerTextValue": { "type": "string", "description": "Content of non-removable header. Example: text header content" }, "headerHtmlValue": { "type": "string", "description": "Content of non-removable header. Example:header content here
" }, "footerTextValue": { "type": "string", "description": "Content of non-removeable footer. Example: text footer content" }, "footerHtmlValue": { "type": "string", "description": "Content of non-removeable footer. Example:footer content here
" }, "copyright": { "type": "boolean", "description": "unknown" }, "version": { "type": "boolean", "description": "unknown" }, "license": { "type": "boolean", "description": "unknown" }, "links": { "type": "boolean", "description": "External links. To enable (which is the default) exclude this parameter entirely. To disable (remove our branding), just pass this parameter with any value." }, "help": { "type": "string" }, "adminTemplateHtm": { "type": "string", "description": "The actual HTML template (ONLY AVAILABLE FOR CERTAIN PLANS)" }, "adminTemplateCss": { "type": "string", "description": "The actual CSS. Example: test color: green; (ONLY AVAILABLE FOR CERTAIN PLANS)" }, "publicTemplateHtm": { "type": "string", "description": "The actual HTML template (ONLY AVAILABLE FOR CERTAIN PLANS)" }, "publicTemplateCss": { "type": "string", "description": "The actual CSS. Example: test color: green; (ONLY AVAILABLE FOR CERTAIN PLANS)" }, "favicon": { "type": "string", "description": "URL of the favicon." } }, "required": [], "type": "object" } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n\t\"branding\": {\n\t\t\"groupid\": \"3\",\n\t\t\"siteName\": \"ActiveCampaign Email Marketing\",\n\t\t\"siteLogo\": \"http:\\/\\/mysite.com\\/logo.jpg\",\n\t\t\"siteLogoSmall\": \"http:\\/\\/mysite.com\\/logo_small.jpg\",\n\t\t\"headerTextValue\": \"my custom text header\",\n\t\t\"headerHtmlValue\": \"my custom HTML header<\\/p>\",\n\t\t\"footerTextValue\": \"my custom text footer\",\n\t\t\"footerHtmlValue\": \"
my custom HTML footer<\\/p>\",\n\t\t\"copyright\": \"1\",\n\t\t\"version\": \"1\",\n\t\t\"license\": \"1\",\n\t\t\"links\": \"1\",\n\t\t\"help\": \"1\",\n\t\t\"adminTemplateHtm\": \"\",\n\t\t\"adminTemplateCss\": \"\",\n\t\t\"publicTemplateHtm\": \"\",\n\t\t\"publicTemplateCss\": \"\",\n\t\t\"favicon\": null,\n\t\t\"id\": \"1\"\n\t}\n}" } }, "schema": { "type": "object", "properties": { "branding": { "type": "object", "properties": { "groupid": { "type": "string", "example": "3" }, "siteName": { "type": "string", "example": "ActiveCampaign Email Marketing" }, "siteLogo": { "type": "string", "example": "http://mysite.com/logo.jpg" }, "siteLogoSmall": { "type": "string", "example": "http://mysite.com/logo_small.jpg" }, "headerTextValue": { "type": "string", "example": "my custom text header" }, "headerHtmlValue": { "type": "string", "example": "
my custom HTML header
" }, "footerTextValue": { "type": "string", "example": "my custom text footer" }, "footerHtmlValue": { "type": "string", "example": "my custom HTML footer
" }, "copyright": { "type": "string", "example": "1" }, "version": { "type": "string", "example": "1" }, "license": { "type": "string", "example": "1" }, "links": { "type": "string", "example": "1" }, "help": { "type": "string", "example": "1" }, "adminTemplateHtm": { "type": "string", "example": "" }, "adminTemplateCss": { "type": "string", "example": "" }, "publicTemplateHtm": { "type": "string", "example": "" }, "publicTemplateCss": { "type": "string", "example": "" }, "favicon": {}, "id": { "type": "string", "example": "1" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Branding" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/brandings": { "get": { "summary": "ActiveCampaign List All Brandings", "description": "List all existing branding resources", "operationId": "brandings", "parameters": [ { "name": "api_key", "in": "query", "description": "ActiveCampaign API key", "schema": { "type": "string" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"brandings\": [\n {\n\t\t\"groupid\": \"3\",\n\t\t\"siteName\": \"ActiveCampaign Email Marketing\",\n\t\t\"siteLogo\": \"http:\\/\\/mysite.com\\/logo.jpg\",\n\t\t\"siteLogoSmall\": \"http:\\/\\/mysite.com\\/logo_small.jpg\",\n\t\t\"headerTextValue\": \"my custom text header\",\n\t\t\"headerHtmlValue\": \"my custom HTML header<\\/p>\",\n\t\t\"footerTextValue\": \"my custom text footer\",\n\t\t\"footerHtmlValue\": \"
my custom HTML footer<\\/p>\",\n\t\t\"copyright\": \"1\",\n\t\t\"version\": \"1\",\n\t\t\"license\": \"1\",\n\t\t\"links\": \"1\",\n\t\t\"help\": \"1\",\n\t\t\"adminTemplateHtm\": \"\",\n\t\t\"adminTemplateCss\": \"\",\n\t\t\"publicTemplateHtm\": \"\",\n\t\t\"publicTemplateCss\": \"\",\n\t\t\"favicon\": null,\n\t\t\"id\": \"1\"\n }\n ],\n \"meta\": {\n \"total\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "brandings": { "type": "array", "items": { "type": "object", "properties": { "groupid": { "type": "string", "example": "3" }, "siteName": { "type": "string", "example": "ActiveCampaign Email Marketing" }, "siteLogo": { "type": "string", "example": "http://mysite.com/logo.jpg" }, "siteLogoSmall": { "type": "string", "example": "http://mysite.com/logo_small.jpg" }, "headerTextValue": { "type": "string", "example": "my custom text header" }, "headerHtmlValue": { "type": "string", "example": "
my custom HTML header
" }, "footerTextValue": { "type": "string", "example": "my custom text footer" }, "footerHtmlValue": { "type": "string", "example": "my custom HTML footer
" }, "copyright": { "type": "string", "example": "1" }, "version": { "type": "string", "example": "1" }, "license": { "type": "string", "example": "1" }, "links": { "type": "string", "example": "1" }, "help": { "type": "string", "example": "1" }, "adminTemplateHtm": { "type": "string", "example": "" }, "adminTemplateCss": { "type": "string", "example": "" }, "publicTemplateHtm": { "type": "string", "example": "" }, "publicTemplateCss": { "type": "string", "example": "" }, "favicon": {}, "id": { "type": "string", "example": "1" } } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "1" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Branding" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/calendars": { "post": { "summary": "ActiveCampaign Create a Calendar Feed", "description": "", "operationId": "create-a-calendar-feed", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "calendar": { "properties": { "title": { "type": "string", "description": "Title of the calendar feed" }, "type": { "type": "string", "description": "Possible Values: 'All', 'Deals', or 'Contacts'" }, "notification": { "type": "boolean", "description": "Whether or not this calendar has notifications" } }, "required": [ "title", "type" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "calendar": { "title": "Calendar Title", "type": "All", "notification": 1 } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"calendar\": {\n \"title\": \"Calendar Title\",\n \"type\": \"All\",\n \"userid\": \"1\",\n \"notification\": 1,\n \"cdate\": \"2018-11-15T22:26:35-06:00\",\n \"mdate\": \"2018-11-15T22:26:35-06:00\",\n \"token\": \"5540950ac4ed4f11591db934b701aff8\",\n \"links\": {\n \"calendarRels\": \"https://:account.api-us1.com/api/:version/calendars/1/calendarRels\",\n \"calendarUsers\": \"https://:account.api-us1.com/api/:version/calendars/1/calendarUsers\"\n },\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "calendar": { "type": "object", "properties": { "title": { "type": "string", "example": "Calendar Title" }, "type": { "type": "string", "example": "All" }, "userid": { "type": "string", "example": "1" }, "notification": { "type": "integer", "example": 1, "default": 0 }, "cdate": { "type": "string", "example": "2018-11-15T22:26:35-06:00" }, "mdate": { "type": "string", "example": "2018-11-15T22:26:35-06:00" }, "token": { "type": "string", "example": "5540950ac4ed4f11591db934b701aff8" }, "links": { "type": "object", "properties": { "calendarRels": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/1/calendarRels" }, "calendarUsers": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/1/calendarUsers" } } }, "id": { "type": "string", "example": "1" } } } } } } } } }, "deprecated": false, "tags": [ "Calendars" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign List All Calendar Feeds", "description": "", "operationId": "list-all-calendar-feeds", "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"calendars\": [\n {\n \"userid\": \"1\",\n \"title\": \"Calendar Title\",\n \"type\": \"All\",\n \"token\": \"4d9af6b9d5056ef1ca4a31c12c0e105c\",\n \"notification\": \"0\",\n \"cdate\": \"2018-11-15T22:36:05-06:00\",\n \"mdate\": \"2018-11-15T22:36:05-06:00\",\n \"links\": {\n \"calendarRels\": \"https://:account.api-us1.com/api/:version/calendars/2/calendarRels\",\n \"calendarUsers\": \"https://:account.api-us1.com/api/:version/calendars/2/calendarUsers\"\n },\n \"id\": \"2\"\n }\n ],\n \"meta\": {\n \"total\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "calendars": { "type": "array", "items": { "type": "object", "properties": { "userid": { "type": "string", "example": "1" }, "title": { "type": "string", "example": "Calendar Title" }, "type": { "type": "string", "example": "All" }, "token": { "type": "string", "example": "4d9af6b9d5056ef1ca4a31c12c0e105c" }, "notification": { "type": "string", "example": "0" }, "cdate": { "type": "string", "example": "2018-11-15T22:36:05-06:00" }, "mdate": { "type": "string", "example": "2018-11-15T22:36:05-06:00" }, "links": { "type": "object", "properties": { "calendarRels": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/2/calendarRels" }, "calendarUsers": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/2/calendarUsers" } } }, "id": { "type": "string", "example": "2" } } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "1" } } } } } } } } }, "deprecated": false, "tags": [ "Calendars" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/calendars/{id}": { "get": { "summary": "ActiveCampaign Retrieve a Calendar Feed", "description": "", "operationId": "list-all-calendar-feeds-1", "parameters": [ { "name": "id", "in": "path", "description": "ID of the calendar feed to retrieve", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"calendar\": {\n \"userid\": \"1\",\n \"title\": \"Calendar Title\",\n \"type\": \"All\",\n \"token\": \"5540950ac4ed4f11591db934b701aff8\",\n \"notification\": \"1\",\n \"cdate\": \"2018-11-15T22:26:35-06:00\",\n \"mdate\": \"2018-11-15T22:26:35-06:00\",\n \"links\": {\n \"calendarRels\": \"https://:account.api-us1.com/api/:version/calendars/1/calendarRels\",\n \"calendarUsers\": \"https://:account.api-us1.com/api/:version/calendars/1/calendarUsers\"\n },\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "calendar": { "type": "object", "properties": { "userid": { "type": "string", "example": "1" }, "title": { "type": "string", "example": "Calendar Title" }, "type": { "type": "string", "example": "All" }, "token": { "type": "string", "example": "5540950ac4ed4f11591db934b701aff8" }, "notification": { "type": "string", "example": "1" }, "cdate": { "type": "string", "example": "2018-11-15T22:26:35-06:00" }, "mdate": { "type": "string", "example": "2018-11-15T22:26:35-06:00" }, "links": { "type": "object", "properties": { "calendarRels": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/1/calendarRels" }, "calendarUsers": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/1/calendarUsers" } } }, "id": { "type": "string", "example": "1" } } } } } } } }, "404": { "description": "404", "content": { "text/plain": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for Calendar with id 1\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for Calendar with id 1" } } } } } } }, "deprecated": false, "tags": [ "Calendars" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "put": { "summary": "ActiveCampaign Update a Calendar Feed", "description": "", "operationId": "update-a-calendar-feed", "parameters": [ { "name": "id", "in": "path", "description": "ID of the calendar feed to update", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "calendar": { "properties": { "title": { "type": "string", "description": "Title of the calendar feed" }, "type": { "type": "string", "description": "Possible Values: 'All', 'Deals', or 'Contacts'" }, "notification": { "type": "boolean", "description": "Whether or not this calendar has notifications" } }, "required": [], "type": "object" } } }, "examples": { "Request Example": { "value": { "calendar": { "title": "Calendar Title", "type": "Deals", "notification": 0 } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"calendar\": {\n \"userid\": \"1\",\n \"title\": \"Calendar Title\",\n \"type\": \"Deals\",\n \"token\": \"5540950ac4ed4f11591db934b701aff8\",\n \"notification\": 0,\n \"cdate\": \"2018-11-15T22:26:35-06:00\",\n \"mdate\": \"2018-11-16T02:11:40-06:00\",\n \"links\": {\n \"calendarRels\": \"https://:account.api-us1.com/api/:version/calendars/1/calendarRels\",\n \"calendarUsers\": \"https://:account.api-us1.com/api/:version/calendars/1/calendarUsers\"\n },\n \"id\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "calendar": { "type": "object", "properties": { "userid": { "type": "string", "example": "1" }, "title": { "type": "string", "example": "Calendar Title" }, "type": { "type": "string", "example": "Deals" }, "token": { "type": "string", "example": "5540950ac4ed4f11591db934b701aff8" }, "notification": { "type": "integer", "example": 0, "default": 0 }, "cdate": { "type": "string", "example": "2018-11-15T22:26:35-06:00" }, "mdate": { "type": "string", "example": "2018-11-16T02:11:40-06:00" }, "links": { "type": "object", "properties": { "calendarRels": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/1/calendarRels" }, "calendarUsers": { "type": "string", "example": "https://:account.api-us1.com/api/:version/calendars/1/calendarUsers" } } }, "id": { "type": "string", "example": "1" } } } } } } } } }, "deprecated": false, "tags": [ "Calendars" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "delete": { "summary": "ActiveCampaign Delete a Calendar Feed", "description": "", "operationId": "remove-a-calendar-feed", "parameters": [ { "name": "id", "in": "path", "description": "ID of the calendar feed to delete", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Calendars" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/campaigns": { "get": { "summary": "ActiveCampaign List All Campaigns", "description": "", "operationId": "list-all-campaigns", "parameters": [ { "name": "orders[sdate]", "in": "query", "description": "Order campaigns by send date", "schema": { "type": "string", "default": "ASC" } }, { "name": "orders[ldate]", "in": "query", "description": "Order campaigns by last send date", "schema": { "type": "string" } }, { "name": "filters[seriesid]", "in": "query", "description": "Filter to return the campaigns from the targeted automationId/seriesIds", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"campaigns\": [\n {\n \"type\": \"single\",\n \"userid\": \"1\",\n \"segmentid\": \"0\",\n \"bounceid\": \"-1\",\n \"realcid\": \"0\",\n \"sendid\": \"0\",\n \"threadid\": \"0\",\n \"seriesid\": \"0\",\n \"formid\": \"1\",\n \"basetemplateid\": \"90a1d1ab6ad33e95708caf6472dc1724f698c694\",\n \"basemessageid\": \"0\",\n \"addressid\": \"0\",\n \"source\": \"web\",\n \"name\": \"Opt In Email\",\n \"cdate\": \"2018-08-17T13:47:31-05:00\",\n \"mdate\": \"2018-08-17T13:47:31-05:00\",\n \"sdate\": null,\n \"ldate\": null,\n \"send_amt\": \"0\",\n \"total_amt\": \"0\",\n \"opens\": \"0\",\n \"uniqueopens\": \"0\",\n \"linkclicks\": \"0\",\n \"uniquelinkclicks\": \"0\",\n \"subscriberclicks\": \"0\",\n \"forwards\": \"0\",\n \"uniqueforwards\": \"0\",\n \"hardbounces\": \"0\",\n \"softbounces\": \"0\",\n \"unsubscribes\": \"0\",\n \"unsubreasons\": \"0\",\n \"updates\": \"0\",\n \"socialshares\": \"0\",\n \"replies\": \"0\",\n \"uniquereplies\": \"0\",\n \"status\": \"0\",\n \"public\": \"1\",\n \"mail_transfer\": \"0\",\n \"mail_send\": \"0\",\n \"mail_cleanup\": \"0\",\n \"mailer_log_file\": \"0\",\n \"tracklinks\": \"all\",\n \"tracklinksanalytics\": \"0\",\n \"trackreads\": \"1\",\n \"trackreadsanalytics\": \"1\",\n \"analytics_campaign_name\": \"\",\n \"tweet\": \"0\",\n \"facebook\": \"0\",\n \"survey\": \"\",\n \"embed_images\": \"0\",\n \"htmlunsub\": \"0\",\n \"textunsub\": \"0\",\n \"htmlunsubdata\": null,\n \"textunsubdata\": null,\n \"recurring\": \"day1\",\n \"willrecur\": \"0\",\n \"split_type\": \"even\",\n \"split_content\": \"0\",\n \"split_offset\": \"2\",\n \"split_offset_type\": \"day\",\n \"split_winner_messageid\": \"0\",\n \"split_winner_awaiting\": \"0\",\n \"responder_offset\": \"0\",\n \"responder_type\": \"subscribe\",\n \"responder_existing\": \"0\",\n \"reminder_field\": \"sdate\",\n \"reminder_format\": null,\n \"reminder_type\": \"month_day\",\n \"reminder_offset\": \"0\",\n \"reminder_offset_type\": \"day\",\n \"reminder_offset_sign\": \"+\",\n \"reminder_last_cron_run\": null,\n \"activerss_interval\": \"day1\",\n \"activerss_url\": null,\n \"activerss_items\": \"10\",\n \"ip4\": \"643992596\",\n \"laststep\": \"designer\",\n \"managetext\": \"0\",\n \"schedule\": \"0\",\n \"scheduleddate\": null,\n \"waitpreview\": \"0\",\n \"deletestamp\": null,\n \"replysys\": \"0\",\n \"links\": {\n \"user\": \"https://:account.api-us1.com/api/3/campaigns/1/user\",\n \"automation\": \"https://:account.api-us1.com/api/3/campaigns/1/automation\",\n \"campaignMessage\": \"https://:account.api-us1.com/api/3/campaigns/1/campaignMessage\",\n \"campaignMessages\": \"https://:account.api-us1.com/api/3/campaigns/1/campaignMessages\",\n \"links\": \"https://:account.api-us1.com/api/3/campaigns/1/links\",\n \"campaignLists\": \"https://:account.api-us1.com/api/3/campaigns/1/campaignLists\"\n },\n \"id\": \"1\",\n \"user\": \"1\",\n \"automation\": null\n }\n ],\n \"meta\": {\n \"total\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "campaigns": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "example": "single" }, "userid": { "type": "string", "example": "1" }, "segmentid": { "type": "string", "example": "0" }, "bounceid": { "type": "string", "example": "-1" }, "realcid": { "type": "string", "example": "0" }, "sendid": { "type": "string", "example": "0" }, "threadid": { "type": "string", "example": "0" }, "seriesid": { "type": "string", "example": "0" }, "formid": { "type": "string", "example": "1" }, "basetemplateid": { "type": "string", "example": "90a1d1ab6ad33e95708caf6472dc1724f698c694" }, "basemessageid": { "type": "string", "example": "0" }, "addressid": { "type": "string", "example": "0" }, "source": { "type": "string", "example": "web" }, "name": { "type": "string", "example": "Opt In Email" }, "cdate": { "type": "string", "example": "2018-08-17T13:47:31-05:00" }, "mdate": { "type": "string", "example": "2018-08-17T13:47:31-05:00" }, "sdate": {}, "ldate": {}, "send_amt": { "type": "string", "example": "0" }, "total_amt": { "type": "string", "example": "0" }, "opens": { "type": "string", "example": "0" }, "uniqueopens": { "type": "string", "example": "0" }, "linkclicks": { "type": "string", "example": "0" }, "uniquelinkclicks": { "type": "string", "example": "0" }, "subscriberclicks": { "type": "string", "example": "0" }, "forwards": { "type": "string", "example": "0" }, "uniqueforwards": { "type": "string", "example": "0" }, "hardbounces": { "type": "string", "example": "0" }, "softbounces": { "type": "string", "example": "0" }, "unsubscribes": { "type": "string", "example": "0" }, "unsubreasons": { "type": "string", "example": "0" }, "updates": { "type": "string", "example": "0" }, "socialshares": { "type": "string", "example": "0" }, "replies": { "type": "string", "example": "0" }, "uniquereplies": { "type": "string", "example": "0" }, "status": { "type": "string", "example": "0" }, "public": { "type": "string", "example": "1" }, "mail_transfer": { "type": "string", "example": "0" }, "mail_send": { "type": "string", "example": "0" }, "mail_cleanup": { "type": "string", "example": "0" }, "mailer_log_file": { "type": "string", "example": "0" }, "tracklinks": { "type": "string", "example": "all" }, "tracklinksanalytics": { "type": "string", "example": "0" }, "trackreads": { "type": "string", "example": "1" }, "trackreadsanalytics": { "type": "string", "example": "1" }, "analytics_campaign_name": { "type": "string", "example": "" }, "tweet": { "type": "string", "example": "0" }, "facebook": { "type": "string", "example": "0" }, "survey": { "type": "string", "example": "" }, "embed_images": { "type": "string", "example": "0" }, "htmlunsub": { "type": "string", "example": "0" }, "textunsub": { "type": "string", "example": "0" }, "htmlunsubdata": {}, "textunsubdata": {}, "recurring": { "type": "string", "example": "day1" }, "willrecur": { "type": "string", "example": "0" }, "split_type": { "type": "string", "example": "even" }, "split_content": { "type": "string", "example": "0" }, "split_offset": { "type": "string", "example": "2" }, "split_offset_type": { "type": "string", "example": "day" }, "split_winner_messageid": { "type": "string", "example": "0" }, "split_winner_awaiting": { "type": "string", "example": "0" }, "responder_offset": { "type": "string", "example": "0" }, "responder_type": { "type": "string", "example": "subscribe" }, "responder_existing": { "type": "string", "example": "0" }, "reminder_field": { "type": "string", "example": "sdate" }, "reminder_format": {}, "reminder_type": { "type": "string", "example": "month_day" }, "reminder_offset": { "type": "string", "example": "0" }, "reminder_offset_type": { "type": "string", "example": "day" }, "reminder_offset_sign": { "type": "string", "example": "+" }, "reminder_last_cron_run": {}, "activerss_interval": { "type": "string", "example": "day1" }, "activerss_url": {}, "activerss_items": { "type": "string", "example": "10" }, "ip4": { "type": "string", "example": "643992596" }, "laststep": { "type": "string", "example": "designer" }, "managetext": { "type": "string", "example": "0" }, "schedule": { "type": "string", "example": "0" }, "scheduleddate": {}, "waitpreview": { "type": "string", "example": "0" }, "deletestamp": {}, "replysys": { "type": "string", "example": "0" }, "links": { "type": "object", "properties": { "user": { "type": "string", "example": "https://:account.api-us1.com/api/3/campaigns/1/user" }, "automation": { "type": "string", "example": "https://:account.api-us1.com/api/3/campaigns/1/automation" }, "campaignMessage": { "type": "string", "example": "https://:account.api-us1.com/api/3/campaigns/1/campaignMessage" }, "campaignMessages": { "type": "string", "example": "https://:account.api-us1.com/api/3/campaigns/1/campaignMessages" }, "links": { "type": "string", "example": "https://:account.api-us1.com/api/3/campaigns/1/links" }, "campaignLists": { "type": "string", "example": "https://:account.api-us1.com/api/3/campaigns/1/campaignLists" } } }, "id": { "type": "string", "example": "1" }, "user": { "type": "string", "example": "1" }, "automation": {} } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "1" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Campaigns" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/campaigns/{id}/links": { "get": { "summary": "ActiveCampaign Retrieve Links Associated to Campaign", "description": "", "operationId": "retrieve-links-associated-campaign", "parameters": [ { "name": "id", "in": "path", "description": "ID of campaign to retrieve Links for", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"links\": [\n {\n \"campaignid\": \"1\",\n \"messageid\": \"3\",\n \"link\": \"open\",\n \"name\": \"Read Tracker\",\n \"ref\": \"\",\n \"tracked\": \"1\",\n \"links\": {\n \"campaign\": \"https://:account.api-us1.com/api/3/links/1/campaign\",\n \"message\": \"https://:account.api-us1.com/api/3/links/1/message\"\n },\n \"id\": \"1\",\n \"campaign\": \"1\",\n \"message\": \"3\"\n },\n {\n \"campaignid\": \"1\",\n \"messageid\": \"0\",\n \"link\": \"open\",\n \"name\": \"Read Tracker\",\n \"ref\": \"\",\n \"tracked\": \"1\",\n \"links\": {\n \"campaign\": \"https://:account.api-us1.com/api/3/links/2/campaign\",\n \"message\": \"https://:account.api-us1.com/api/3/links/2/message\"\n },\n \"id\": \"2\",\n \"campaign\": \"1\",\n \"message\": null\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "links": { "type": "array", "items": { "type": "object", "properties": { "campaignid": { "type": "string", "example": "1" }, "messageid": { "type": "string", "example": "3" }, "link": { "type": "string", "example": "open" }, "name": { "type": "string", "example": "Read Tracker" }, "ref": { "type": "string", "example": "" }, "tracked": { "type": "string", "example": "1" }, "links": { "type": "object", "properties": { "campaign": { "type": "string", "example": "https://:account.api-us1.com/api/3/links/1/campaign" }, "message": { "type": "string", "example": "https://:account.api-us1.com/api/3/links/1/message" } } }, "id": { "type": "string", "example": "1" }, "campaign": { "type": "string", "example": "1" }, "message": { "type": "string", "example": "3" } } } } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for Campaign with id 2\"\n}{\n \"links\": []\n}" } } } } } }, "deprecated": false, "tags": [ "Campaigns" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/campaigns/{id}": { "get": { "summary": "ActiveCampaign Retrieve a Campaign", "description": "", "operationId": "retrieve-a-campaign", "parameters": [ { "name": "id", "in": "path", "description": "ID of campaign to retrieve", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"campaign\": {\n \"type\": \"single\",\n \"userid\": \"1\",\n \"segmentid\": \"0\",\n \"bounceid\": \"-1\",\n \"realcid\": \"0\",\n \"sendid\": \"0\",\n \"threadid\": \"0\",\n \"seriesid\": \"0\",\n \"formid\": \"0\",\n \"basetemplateid\": \"13b1432dc41b75dda9ff86d84a8593d2b2b9419f\",\n \"basemessageid\": \"0\",\n \"addressid\": \"0\",\n \"source\": \"web\",\n \"name\": \"Matt Litmus test\",\n \"cdate\": \"2018-10-10T11:59:43-05:00\",\n \"mdate\": \"2018-10-10T12:00:23-05:00\",\n \"sdate\": null,\n \"ldate\": null,\n \"send_amt\": \"0\",\n \"total_amt\": \"0\",\n \"opens\": \"0\",\n \"uniqueopens\": \"0\",\n \"linkclicks\": \"0\",\n \"uniquelinkclicks\": \"0\",\n \"subscriberclicks\": \"0\",\n \"forwards\": \"0\",\n \"uniqueforwards\": \"0\",\n \"hardbounces\": \"0\",\n \"softbounces\": \"0\",\n \"unsubscribes\": \"0\",\n \"unsubreasons\": \"0\",\n \"updates\": \"0\",\n \"socialshares\": \"0\",\n \"replies\": \"0\",\n \"uniquereplies\": \"0\",\n \"status\": \"0\",\n \"public\": \"1\",\n \"mail_transfer\": \"0\",\n \"mail_send\": \"0\",\n \"mail_cleanup\": \"0\",\n \"mailer_log_file\": \"0\",\n \"tracklinks\": \"all\",\n \"tracklinksanalytics\": \"0\",\n \"trackreads\": \"1\",\n \"trackreadsanalytics\": \"1\",\n \"analytics_campaign_name\": \"\",\n \"tweet\": \"0\",\n \"facebook\": \"0\",\n \"survey\": \"\",\n \"embed_images\": \"0\",\n \"htmlunsub\": \"0\",\n \"textunsub\": \"0\",\n \"htmlunsubdata\": null,\n \"textunsubdata\": null,\n \"recurring\": \"day1\",\n \"willrecur\": \"0\",\n \"split_type\": \"even\",\n \"split_content\": \"0\",\n \"split_offset\": \"2\",\n \"split_offset_type\": \"day\",\n \"split_winner_messageid\": \"0\",\n \"split_winner_awaiting\": \"0\",\n \"responder_offset\": \"0\",\n \"responder_type\": \"subscribe\",\n \"responder_existing\": \"0\",\n \"reminder_field\": \"sdate\",\n \"reminder_format\": null,\n \"reminder_type\": \"month_day\",\n \"reminder_offset\": \"0\",\n \"reminder_offset_type\": \"day\",\n \"reminder_offset_sign\": \"+\",\n \"reminder_last_cron_run\": null,\n \"activerss_interval\": \"day1\",\n \"activerss_url\": null,\n \"activerss_items\": \"10\",\n \"ip4\": \"643992596\",\n \"laststep\": \"designer\",\n \"managetext\": \"0\",\n \"schedule\": \"0\",\n \"scheduleddate\": null,\n \"waitpreview\": \"0\",\n \"deletestamp\": null,\n \"replysys\": \"0\",\n \"links\": {\n \"user\": \"https://:account.api-us1.com/api/:version/campaigns/1/user\",\n \"automation\": \"https://:account.api-us1.com/api/:version/campaigns/1/automation\",\n \"campaignMessage\": \"https://:account.api-us1.com/api/:version/campaigns/1/campaignMessage\",\n \"links\": \"https://:account.api-us1.com/api/:version/campaigns/1/links\",\n \"aggregateRevenues\": \"https://:account.api-us1.com/api/:version/campaigns/1/aggregateRevenues\"\n },\n \"id\": \"1\",\n \"user\": \"1\",\n \"automation\": null\n }\n}" } }, "schema": { "type": "object", "properties": { "campaign": { "type": "object", "properties": { "type": { "type": "string", "example": "single" }, "userid": { "type": "string", "example": "1" }, "segmentid": { "type": "string", "example": "0" }, "bounceid": { "type": "string", "example": "-1" }, "realcid": { "type": "string", "example": "0" }, "sendid": { "type": "string", "example": "0" }, "threadid": { "type": "string", "example": "0" }, "seriesid": { "type": "string", "example": "0" }, "formid": { "type": "string", "example": "0" }, "basetemplateid": { "type": "string", "example": "13b1432dc41b75dda9ff86d84a8593d2b2b9419f" }, "basemessageid": { "type": "string", "example": "0" }, "addressid": { "type": "string", "example": "0" }, "source": { "type": "string", "example": "web" }, "name": { "type": "string", "example": "Matt Litmus test" }, "cdate": { "type": "string", "example": "2018-10-10T11:59:43-05:00" }, "mdate": { "type": "string", "example": "2018-10-10T12:00:23-05:00" }, "sdate": {}, "ldate": {}, "send_amt": { "type": "string", "example": "0" }, "total_amt": { "type": "string", "example": "0" }, "opens": { "type": "string", "example": "0" }, "uniqueopens": { "type": "string", "example": "0" }, "linkclicks": { "type": "string", "example": "0" }, "uniquelinkclicks": { "type": "string", "example": "0" }, "subscriberclicks": { "type": "string", "example": "0" }, "forwards": { "type": "string", "example": "0" }, "uniqueforwards": { "type": "string", "example": "0" }, "hardbounces": { "type": "string", "example": "0" }, "softbounces": { "type": "string", "example": "0" }, "unsubscribes": { "type": "string", "example": "0" }, "unsubreasons": { "type": "string", "example": "0" }, "updates": { "type": "string", "example": "0" }, "socialshares": { "type": "string", "example": "0" }, "replies": { "type": "string", "example": "0" }, "uniquereplies": { "type": "string", "example": "0" }, "status": { "type": "string", "example": "0" }, "public": { "type": "string", "example": "1" }, "mail_transfer": { "type": "string", "example": "0" }, "mail_send": { "type": "string", "example": "0" }, "mail_cleanup": { "type": "string", "example": "0" }, "mailer_log_file": { "type": "string", "example": "0" }, "tracklinks": { "type": "string", "example": "all" }, "tracklinksanalytics": { "type": "string", "example": "0" }, "trackreads": { "type": "string", "example": "1" }, "trackreadsanalytics": { "type": "string", "example": "1" }, "analytics_campaign_name": { "type": "string", "example": "" }, "tweet": { "type": "string", "example": "0" }, "facebook": { "type": "string", "example": "0" }, "survey": { "type": "string", "example": "" }, "embed_images": { "type": "string", "example": "0" }, "htmlunsub": { "type": "string", "example": "0" }, "textunsub": { "type": "string", "example": "0" }, "htmlunsubdata": {}, "textunsubdata": {}, "recurring": { "type": "string", "example": "day1" }, "willrecur": { "type": "string", "example": "0" }, "split_type": { "type": "string", "example": "even" }, "split_content": { "type": "string", "example": "0" }, "split_offset": { "type": "string", "example": "2" }, "split_offset_type": { "type": "string", "example": "day" }, "split_winner_messageid": { "type": "string", "example": "0" }, "split_winner_awaiting": { "type": "string", "example": "0" }, "responder_offset": { "type": "string", "example": "0" }, "responder_type": { "type": "string", "example": "subscribe" }, "responder_existing": { "type": "string", "example": "0" }, "reminder_field": { "type": "string", "example": "sdate" }, "reminder_format": {}, "reminder_type": { "type": "string", "example": "month_day" }, "reminder_offset": { "type": "string", "example": "0" }, "reminder_offset_type": { "type": "string", "example": "day" }, "reminder_offset_sign": { "type": "string", "example": "+" }, "reminder_last_cron_run": {}, "activerss_interval": { "type": "string", "example": "day1" }, "activerss_url": {}, "activerss_items": { "type": "string", "example": "10" }, "ip4": { "type": "string", "example": "643992596" }, "laststep": { "type": "string", "example": "designer" }, "managetext": { "type": "string", "example": "0" }, "schedule": { "type": "string", "example": "0" }, "scheduleddate": {}, "waitpreview": { "type": "string", "example": "0" }, "deletestamp": {}, "replysys": { "type": "string", "example": "0" }, "links": { "type": "object", "properties": { "user": { "type": "string", "example": "https://:account.api-us1.com/api/:version/campaigns/1/user" }, "automation": { "type": "string", "example": "https://:account.api-us1.com/api/:version/campaigns/1/automation" }, "campaignMessage": { "type": "string", "example": "https://:account.api-us1.com/api/:version/campaigns/1/campaignMessage" }, "links": { "type": "string", "example": "https://:account.api-us1.com/api/:version/campaigns/1/links" }, "aggregateRevenues": { "type": "string", "example": "https://:account.api-us1.com/api/:version/campaigns/1/aggregateRevenues" } } }, "id": { "type": "string", "example": "1" }, "user": { "type": "string", "example": "1" }, "automation": {} } } } } } } } }, "deprecated": false, "tags": [ "Campaigns" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/campaigns/{id}/edit": { "put": { "summary": "ActiveCampaign Edit Campaign", "description": "", "operationId": "edit-campaign", "parameters": [ { "name": "id", "in": "path", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "type": "string", "description": "Campaign name" }, "type": { "type": "string", "description": "Campaign type" }, "segmentId": { "type": "string", "description": "Id of selected segment. Both integer segment id's and string based segment id's are supported." }, "addressId": { "type": "integer", "description": "Id of selected address", "format": "int32" }, "listIds": { "type": "array", "description": "Array of selected lists ids", "items": { "type": "integer", "format": "int32" } }, "replyTrackingEnabled": { "type": "boolean", "description": "Turn on/off reply tracking" }, "linkTrackingEnabled": { "type": "boolean", "description": "Turn on/off link tracking" }, "googleAnalyticsLinkTrackingEnabled": { "type": "boolean", "description": "Turn on/off google analytics link tracking" }, "googleAnalyticsCampaignName": { "type": "string", "description": "Name of campaign in google analytics" }, "readTrackingEnabled": { "type": "boolean", "description": "Turn on/off read tracking" }, "sendToExistingSubscribers": { "type": "boolean", "description": "Should send only to existing customers" }, "canSplitContent": { "type": "boolean", "description": "Campaign can contains split content" }, "recurring": { "type": "boolean", "description": "Is campaign recurring" }, "responderDaysOffset": { "type": "integer", "description": "Determine value of responder offset in days", "format": "int32" }, "responderHoursOffset": { "type": "integer", "description": "Determine value of responder offset in hours", "format": "int32" }, "scheduledDate": { "type": "string", "description": "Date of sending" }, "reminderField": { "type": "string", "description": "Field basic on witch reminder will be triggered" }, "reminderOffset": { "type": "integer", "description": "Value of reminder offset", "format": "int32" }, "reminderOffsetType": { "type": "string", "description": "Type of reminder offset" }, "reminderType": { "type": "string", "description": "Format of reminder date" }, "rssInterval": { "type": "integer", "description": "Interval for RSS", "format": "int32" }, "splitType": { "type": "string", "description": "Type of split campaign" }, "splitWinnerWaitPeriod": { "type": "integer", "description": "Period wait time", "format": "int32" }, "splitWinnerWaitPeriodType": { "type": "string", "description": "Determine period type" }, "publicCampaignArchive": { "type": "boolean", "description": "Is campaign public" } } } } } }, "deprecated": false, "tags": [ "Campaigns" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/campaign": { "post": { "summary": "ActiveCampaign Create Campaign", "description": "", "operationId": "create-campaign", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "required": [ "name", "type" ], "properties": { "name": { "type": "string" }, "type": { "type": "string" }, "canSplitContent": { "type": "boolean", "default": false } } }, "examples": { "Create Campaign": { "value": { "canSplitContent": false, "type": "single", "name": "Campaign Name" } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"id\": 149,\n \"name\": \"Campaign Name\",\n \"type\": \"single\",\n \"canSplitContent\": false\n}" } }, "schema": { "type": "object", "properties": { "id": { "type": "integer", "example": 149, "default": 0 }, "name": { "type": "string", "example": "Campaign Name" }, "type": { "type": "string", "example": "single" }, "canSplitContent": { "type": "boolean", "example": false, "default": true } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"errors\": [\n \"Field name is required\",\n \"Field type must be of type string\"\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "string", "example": "Field name is required" } } } } } } } }, "deprecated": false, "tags": [ "Campaigns" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/campaigns/{id}/copy": { "post": { "summary": "ActiveCampaign Duplicate Campaign", "description": "", "operationId": "duplicate-campaign", "parameters": [ { "name": "id", "in": "path", "description": "id of the source campaign", "schema": { "type": "integer", "format": "int32" }, "required": true } ], "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n\t\"succeeded\":1,\n \"message\":\"Campaign draft copied.\",\n \"newCampaignId\":217\n}" } }, "schema": { "type": "object", "properties": { "succeeded": { "type": "integer", "example": 1, "default": 0 }, "message": { "type": "string", "example": "Campaign draft copied." }, "newCampaignId": { "type": "integer", "example": 217, "default": 0 } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "'Bad request. You are not allowed to copy this campaign.'" } } } } } }, "deprecated": false, "tags": [ "Campaigns" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/messages": { "post": { "summary": "ActiveCampaign Create a Message", "description": "", "operationId": "create-a-new-message", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "message": { "properties": { "fromname": { "type": "string", "description": "Name of sender" }, "email": { "type": "string", "description": "Email of sender" }, "reply2": { "type": "string", "description": "Reply email for the recipient to reply to" }, "subject": { "type": "string", "description": "Subject of message" }, "preheader_text": { "type": "string", "description": "Preheader Text" } }, "required": [ "fromname", "email", "reply2" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "message": { "fromname": "AC Admin", "fromemail": "noreply@example.com", "reply2": "hello@example.com", "subject": "You are subscribing to %LISTNAME%", "preheader_text": "Pre-header Text" } } } } } } }, "responses": { "201": { "description": "201", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": {\n \"fromname\": \"AC Admin\",\n \"fromemail\": \"noreply@example.com\",\n \"reply2\": \"hello@example.com\",\n \"subject\": \"You are subscribing to %LISTNAME%\",\n \"preheader_text\": \"Pre-header Text\",\n \"text\": \"hello\",\n \"html\": \"| \\n | |||||||||||||||||
\\n
| \\n |||||||||||||||||
| \\n |
|
| \n | |||||||||||||||||
\n
| \n |||||||||||||||||
| \n |
|
|
Please provide the information below and we'll be in touch soon.
\",\n \"class\": \"_x14271862\",\n \"required_options\": {}\n },\n {\n \"header\": \"Full Name\",\n \"type\": \"fullname\",\n \"default_text\": \"\",\n \"class\": \"_x13100531\",\n \"required_options\": {},\n \"required\": true\n },\n {\n \"header\": \"Email\",\n \"type\": \"email\",\n \"default_text\": \"\",\n \"required\": true,\n \"class\": \"_x37378733\",\n \"required_options\": {}\n },\n {\n \"type\": \"organization\",\n \"header\": \"Company\",\n \"default_text\": \"\",\n \"class\": \"_x16906569\",\n \"required_options\": {},\n \"required\": false\n },\n {\n \"id\": \"13\",\n \"header\": \"Role in Company\",\n \"required\": true,\n \"class\": \"_field13\",\n \"required_options\": {}\n },\n {\n \"id\": \"46\",\n \"header\": \"What do you need help with?\",\n \"required\": true,\n \"class\": \"_field46\",\n \"required_options\": {}\n }\n ],\n \"parentformid\": \"0\",\n \"userid\": \"1\",\n \"addressid\": \"0\",\n \"cdate\": \"2018-10-07T09:12:46-06:00\",\n \"udate\": \"2018-10-12T11:18:52-06:00\",\n \"entries\": \"0\",\n \"aid\": null,\n \"links\": {\n \"address\": \"https://:account.api-us1.com/api/3/forms/13/address\"\n },\n \"id\": \"13\",\n \"address\": null\n }\n}" } }, "schema": { "type": "object", "properties": { "form": { "type": "object", "properties": { "name": { "type": "string", "example": "Test Form" }, "action": { "type": "string", "example": "" }, "actiondata": { "type": "object", "properties": { "actions": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "example": "email-results" }, "email": { "type": "string", "example": "johndoe@example.com" }, "fromname": { "type": "string", "example": "John Doe" }, "fromemail": { "type": "string", "example": "johndoe@example.com" }, "subject": { "type": "string", "example": "Form submission results" } } } } } }, "submit": { "type": "string", "example": "show-thank-you" }, "submitdata": { "type": "object", "properties": { "url": { "type": "string", "example": "" } } }, "url": { "type": "string", "example": "" }, "layout": { "type": "string", "example": "inline-form" }, "title": { "type": "string", "example": "" }, "body": { "type": "string", "example": "" }, "button": { "type": "string", "example": "Submit" }, "thanks": { "type": "string", "example": "Thanks for signing up!" }, "style": { "type": "object", "properties": { "background": { "type": "string", "example": "FFFFFF" }, "dark": { "type": "boolean", "example": true, "default": true }, "fontcolor": { "type": "string", "example": "000000" }, "layout": { "type": "string", "example": "normal" }, "border": { "type": "object", "properties": { "width": { "type": "integer", "example": 0, "default": 0 }, "style": { "type": "string", "example": "solid" }, "color": { "type": "string", "example": "B0B0B0" }, "radius": { "type": "integer", "example": 0, "default": 0 } } }, "width": { "type": "integer", "example": 500, "default": 0 }, "ac_branding": { "type": "boolean", "example": true, "default": true }, "button": { "type": "object", "properties": { "padding": { "type": "integer", "example": 10, "default": 0 }, "background": { "type": "string", "example": "333333" }, "fontcolor": { "type": "string", "example": "FFFFFF" }, "border": { "type": "object", "properties": { "radius": { "type": "integer", "example": 4, "default": 0 }, "color": { "type": "string", "example": "333333" }, "style": { "type": "string", "example": "solid" }, "width": { "type": "integer", "example": 0, "default": 0 } } } } }, "customcss": { "type": "string", "example": "" } } }, "options": { "type": "object", "properties": { "blanks_overwrite": { "type": "boolean", "example": true, "default": true }, "confaction": { "type": "string", "example": "show-message" } } }, "cfields": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "example": "header" }, "header": { "type": "string", "example": "Contact Us" }, "class": { "type": "string", "example": "_x29498744" }, "required_options": { "type": "object", "properties": {} } } } }, "parentformid": { "type": "string", "example": "0" }, "userid": { "type": "string", "example": "1" }, "addressid": { "type": "string", "example": "0" }, "cdate": { "type": "string", "example": "2018-10-07T09:12:46-06:00" }, "udate": { "type": "string", "example": "2018-10-12T11:18:52-06:00" }, "entries": { "type": "string", "example": "0" }, "aid": {}, "links": { "type": "object", "properties": { "address": { "type": "string", "example": "https://:account.api-us1.com/api/3/forms/13/address" } } }, "id": { "type": "string", "example": "13" }, "address": {} } } } } } } }, "403": { "description": "403", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No Result found for Form with id 7\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No Result found for Form with id 7" } } } } } } }, "deprecated": false, "tags": [ "Forms" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "delete": { "description": "", "operationId": "delete_forms{id}", "responses": { "200": { "description": "", "content": { "application/json": { "examples": { "New Example": { "summary": "New Example", "value": "{}" } } } } } }, "parameters": [ { "name": "id", "in": "path", "required": true, "description": "form id", "schema": { "type": "integer", "default": "" } } ], "tags": [ "Forms" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "put": { "description": "", "operationId": "put_forms{id}", "responses": { "200": { "description": "" } }, "parameters": [ { "name": "id", "in": "path", "required": true, "description": "", "schema": { "type": "integer", "default": "" } } ], "tags": [ "Forms" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/forms": { "get": { "summary": "ActiveCampaign List All Forms", "description": "", "operationId": "forms-1", "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"forms\": [\n {\n \"name\": \"Testing\",\n \"action\": \"\",\n \"actiondata\": {\n \"actions\": [\n {\n \"type\": \"subscribe-to-list\",\n \"email\": \"johndoe@example.com\",\n \"list\": \"1\"\n }\n ]\n },\n \"submit\": \"show-thank-you\",\n \"submitdata\": {\n \"url\": \"\"\n },\n \"url\": \"\",\n \"layout\": \"inline-form\",\n \"title\": \"\",\n \"body\": \"\",\n \"button\": \"Submit\",\n \"thanks\": \"Thanks for signing up!\",\n \"style\": {\n \"background\": \"FFFFFF\",\n \"dark\": true,\n \"fontcolor\": \"000000\",\n \"layout\": \"normal\",\n \"border\": {\n \"width\": 0,\n \"style\": \"solid\",\n \"color\": \"B0B0B0\",\n \"radius\": 0\n },\n \"width\": 500,\n \"ac_branding\": true,\n \"button\": {\n \"padding\": 10,\n \"background\": \"333333\",\n \"fontcolor\": \"FFFFFF\",\n \"border\": {\n \"radius\": 4,\n \"color\": \"333333\",\n \"style\": \"solid\",\n \"width\": 0\n }\n }\n },\n \"options\": {\n \"blanks_overwrite\": true,\n \"confaction\": \"show-message\",\n \"sendoptin\": true,\n \"optin_id\": 1,\n \"optin_created\": true,\n \"confform\": \"2\"\n },\n \"cfields\": [\n {\n \"type\": \"header\",\n \"header\": \"Subscribe for Email Updates\",\n \"class\": \"_x41699710\"\n },\n {\n \"type\": \"html\",\n \"html\": \"Add a descriptive message telling what your visitor is signing up for here.
\",\n \"class\": \"_x50329289\"\n },\n {\n \"header\": \"Full Name\",\n \"type\": \"fullname\",\n \"default_text\": \"Type your name\",\n \"class\": \"_x67999677\"\n },\n {\n \"header\": \"Email\",\n \"type\": \"email\",\n \"default_text\": \"Type your email\",\n \"required\": true,\n \"class\": \"_x68140262\"\n }\n ],\n \"parentformid\": \"0\",\n \"userid\": \"1\",\n \"addressid\": \"0\",\n \"cdate\": \"2018-08-17T13:47:31-05:00\",\n \"udate\": \"2018-08-17T13:47:38-05:00\",\n \"entries\": \"0\",\n \"aid\": \"0\",\n \"defaultscreenshot\": \"http://img-us1.com/default-form.gif\",\n \"recent\": [],\n \"contacts\": 0,\n \"deals\": 0,\n \"links\": {\n \"address\": \"https://:account.api-us1.com/api/3/forms/1/address\"\n },\n \"id\": \"1\",\n \"address\": null\n }\n ],\n \"meta\": {\n \"total\": \"1\"\n }\n}" } }, "schema": { "type": "object", "properties": { "forms": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "Testing" }, "action": { "type": "string", "example": "" }, "actiondata": { "type": "object", "properties": { "actions": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "example": "subscribe-to-list" }, "email": { "type": "string", "example": "johndoe@example.com" }, "list": { "type": "string", "example": "1" } } } } } }, "submit": { "type": "string", "example": "show-thank-you" }, "submitdata": { "type": "object", "properties": { "url": { "type": "string", "example": "" } } }, "url": { "type": "string", "example": "" }, "layout": { "type": "string", "example": "inline-form" }, "title": { "type": "string", "example": "" }, "body": { "type": "string", "example": "" }, "button": { "type": "string", "example": "Submit" }, "thanks": { "type": "string", "example": "Thanks for signing up!" }, "style": { "type": "object", "properties": { "background": { "type": "string", "example": "FFFFFF" }, "dark": { "type": "boolean", "example": true, "default": true }, "fontcolor": { "type": "string", "example": "000000" }, "layout": { "type": "string", "example": "normal" }, "border": { "type": "object", "properties": { "width": { "type": "integer", "example": 0, "default": 0 }, "style": { "type": "string", "example": "solid" }, "color": { "type": "string", "example": "B0B0B0" }, "radius": { "type": "integer", "example": 0, "default": 0 } } }, "width": { "type": "integer", "example": 500, "default": 0 }, "ac_branding": { "type": "boolean", "example": true, "default": true }, "button": { "type": "object", "properties": { "padding": { "type": "integer", "example": 10, "default": 0 }, "background": { "type": "string", "example": "333333" }, "fontcolor": { "type": "string", "example": "FFFFFF" }, "border": { "type": "object", "properties": { "radius": { "type": "integer", "example": 4, "default": 0 }, "color": { "type": "string", "example": "333333" }, "style": { "type": "string", "example": "solid" }, "width": { "type": "integer", "example": 0, "default": 0 } } } } } } }, "options": { "type": "object", "properties": { "blanks_overwrite": { "type": "boolean", "example": true, "default": true }, "confaction": { "type": "string", "example": "show-message" }, "sendoptin": { "type": "boolean", "example": true, "default": true }, "optin_id": { "type": "integer", "example": 1, "default": 0 }, "optin_created": { "type": "boolean", "example": true, "default": true }, "confform": { "type": "string", "example": "2" } } }, "cfields": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "example": "header" }, "header": { "type": "string", "example": "Subscribe for Email Updates" }, "class": { "type": "string", "example": "_x41699710" } } } }, "parentformid": { "type": "string", "example": "0" }, "userid": { "type": "string", "example": "1" }, "addressid": { "type": "string", "example": "0" }, "cdate": { "type": "string", "example": "2018-08-17T13:47:31-05:00" }, "udate": { "type": "string", "example": "2018-08-17T13:47:38-05:00" }, "entries": { "type": "string", "example": "0" }, "aid": { "type": "string", "example": "0" }, "defaultscreenshot": { "type": "string", "example": "http://img-us1.com/default-form.gif" }, "recent": { "type": "array" }, "contacts": { "type": "integer", "example": 0, "default": 0 }, "deals": { "type": "integer", "example": 0, "default": 0 }, "links": { "type": "object", "properties": { "address": { "type": "string", "example": "https://:account.api-us1.com/api/3/forms/1/address" } } }, "id": { "type": "string", "example": "1" }, "address": {} } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "1" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "tags": [ "Forms" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "post": { "description": "", "operationId": "post_forms", "responses": { "200": { "description": "" } }, "parameters": [], "tags": [ "Forms" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/lists": { "post": { "summary": "ActiveCampaign Create a List", "description": "", "operationId": "create-new-list", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "list": { "properties": { "name": { "type": "string", "description": "Name of the list to create" }, "stringid": { "type": "string", "description": "URL-safe list name. Example: 'list-name-sample'" }, "sender_url": { "type": "string", "description": "The website URL this list is for." }, "sender_reminder": { "type": "string", "description": "A reminder for your contacts as to why they are on this list and you are messaging them." }, "send_last_broadcast": { "type": "boolean", "description": "Boolean value indicating whether or not to send the last sent campaign to this list to a new subscriber upon subscribing. 1 = yes, 0 = no", "default": false }, "carboncopy": { "type": "string", "description": "Comma-separated list of email addresses to send a copy of all mailings to upon send" }, "subscription_notify": { "type": "string", "description": "Comma-separated list of email addresses to notify when a new subscriber joins this list." }, "unsubscription_notify": { "type": "string", "description": "Comma-separated list of email addresses to notify when a subscriber unsubscribes from this list." }, "user": { "type": "integer", "description": "User Id of the list owner. A list owner is able to control campaign branding. A property of list.userid also exists on this object; both properties map to the same list owner field and are being maintained in the response object for backward compatibility. If you post values for both list.user and list.userid, the value of list.user will be used.", "format": "int32" }, "channel": { "type": "string", "description": "Type of channel for the list. Possible values are `email` or `sms`.", "default": "email" } }, "required": [ "name", "stringid", "sender_url", "sender_reminder" ], "type": "object" } } }, "examples": { "Request Example": { "value": { "list": { "name": "Name of List", "stringid": "Name-of-list", "sender_url": "http://activecampaign.com", "sender_reminder": "You are receiving this email as you subscribed to a newsletter when making an order on our site.", "send_last_broadcast": 0, "carboncopy": "", "subscription_notify": "", "unsubscription_notify": "", "user": 1 } } } } } } }, "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"list\": {\n \"name\": \"Name of List\",\n \"stringid\": \"Name-of-list\",\n \"cdate\": \"2019-02-27T19:06:23-05:00\",\n \"udate\": \"2019-02-27T19:06:23-05:00\",\n \"links\": {\n \"contactGoalLists\": \"https://:account.api-us1.com/api/:version/lists/6/contactGoalLists\",\n \"user\": \"https://:account.api-us1.com/api/:version/lists/6/user\",\n \"addressLists\": \"https://:account.api-us1.com/api/:version/lists/6/addressLists\"\n },\n \"id\": \"6\"\n }\n}" } }, "schema": { "type": "object", "properties": { "list": { "type": "object", "properties": { "name": { "type": "string", "example": "Name of List" }, "stringid": { "type": "string", "example": "Name-of-list" }, "cdate": { "type": "string", "example": "2019-02-27T19:06:23-05:00" }, "udate": { "type": "string", "example": "2019-02-27T19:06:23-05:00" }, "links": { "type": "object", "properties": { "contactGoalLists": { "type": "string", "example": "https://:account.api-us1.com/api/:version/lists/6/contactGoalLists" }, "user": { "type": "string", "example": "https://:account.api-us1.com/api/:version/lists/6/user" }, "addressLists": { "type": "string", "example": "https://:account.api-us1.com/api/:version/lists/6/addressLists" } } }, "id": { "type": "string", "example": "6" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } }, "403": { "description": "403", "content": { "text/plain": { "examples": { "Result": { "value": "{\n \"errors\": [\n {\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"detail\": \"You do not have permission to create lists.\"\n }\n ]\n}" } }, "schema": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "status": { "type": "integer", "example": 403, "default": 0 }, "title": { "type": "string", "example": "Forbidden" }, "detail": { "type": "string", "example": "You do not have permission to create lists." } } } } } } } } } }, "deprecated": false, "tags": [ "Lists" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign Retrieve All Lists", "description": "", "operationId": "retrieve-all-lists", "parameters": [ { "name": "filters[name]", "in": "query", "description": "Filter by the name of the list", "schema": { "type": "string" } }, { "name": "limit", "in": "query", "description": "Limit the number of returned results", "schema": { "type": "integer", "format": "int32" } }, { "name": "filters[name][Test html
\",\n \"css\": \"p { color: red; }\"\n}" } }, "schema": { "type": "object", "properties": { "html": { "type": "string", "example": "Test html
" }, "css": { "type": "string", "example": "p { color: red; }" } } } } } }, "404": { "description": "404", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"message\": \"No markup for message\"\n}" } }, "schema": { "type": "object", "properties": { "message": { "type": "string", "example": "No markup for message" } } } } } } }, "deprecated": false, "tags": [ "Other" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/form/optin": { "post": { "description": "", "operationId": "post_formoptin", "responses": { "200": { "description": "" } }, "parameters": [], "tags": [ "Forms" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/prism/urlWhitelistings": { "post": { "summary": "ActiveCampaign Add Domain to Whitelist", "description": "Add a domain to the site tracking whitelist", "operationId": "add-domain-to-whitelist", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { "properties": { "attributes": { "type": "object", "description": "", "properties": { "whitelisted_domain": { "type": "string", "default": "example.com", "description": "The domain name to add to the whitelist" }, "whitelisted_page": { "type": "string", "default": "*", "description": "The page to while list under the domain. `*` means all pages should be whitelisted. If only example.com/website needs to whitelisted, then the value should be `website`." }, "conversations_enabled": { "type": "boolean", "default": "false", "description": "Whether to enable conversations" }, "wp_enabled": { "type": "boolean", "default": "false", "description": "Whether to enable web personalization" }, "tracking_enabled": { "type": "boolean", "description": "Whether to enable site tracking", "default": "true" } }, "required": [ "whitelisted_domain", "whitelisted_page", "conversations_enabled", "wp_enabled", "tracking_enabled" ] }, "type": { "type": "string", "default": "urlWhitelistings" } }, "required": [ "attributes", "type" ], "type": "object" } }, "required": [ "data" ] }, "examples": { "Request Example": { "value": { "siteTrackingDomain": { "name": "example.com" } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "examples": { "Result": { "value": { "data": { "type": "urlWhitelistings", "id": "534756", "attributes": { "whitelisted_domain": "example.com", "whitelisted_page": "*", "tracking_enabled": true, "conversations_enabled": false, "wp_enabled": false, "url_regex": "#^example\\.com(\\/.*)?$#", "updated_at": "2025-07-29T05:40:11Z", "created_at": "2025-07-29T05:40:11Z" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Bad Request": { "value": "{}", "summary": "Bad Request" } }, "schema": { "type": "object", "properties": {} } } } }, "409": { "description": "Conflict", "content": { "application/json": { "examples": { "Conflict": { "value": "{}", "summary": "Conflict" } } } } } }, "deprecated": false, "tags": [ "Other" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } }, "get": { "summary": "ActiveCampaign List All Whitelisted Domains", "description": "List of all whitelisted site tracking domains", "operationId": "list-all-whitelisted-domains", "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "OK": { "value": { "data": [ { "type": "urlWhitelistings", "id": "490469", "attributes": { "whitelisted_domain": "example.com", "whitelisted_page": "*", "url_regex": "#^example\\.com(\\/.*)?$#", "conversations_enabled": 0, "tracking_enabled": 1, "created_at": "2024-01-03T17:19:36Z", "updated_at": "2025-04-24T19:11:32Z", "wp_enabled": 0 } } ] }, "summary": "OK" } }, "schema": { "type": "object", "properties": { "siteTrackingDomains": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "example.com" } } } }, "meta": { "type": "object", "properties": { "total": { "type": "integer", "example": 1, "default": 0 } } } } } } } } }, "deprecated": false, "tags": [ "Other" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/prism/urlWhitelistings/{domain_id}": { "delete": { "summary": "ActiveCampaign Remove Domain from Whitelist", "description": "Remove a domain from the site tracking whitelist", "operationId": "remove-domain-from-whitelist", "parameters": [ { "name": "domain_id", "in": "path", "required": true, "description": "The id of the whitelisted domain. Can be retrieved using the GET /prism/urlWhitelistings endpoint", "schema": { "type": "string", "default": "" } } ], "responses": { "204": { "description": "204", "content": { "application/json": { "examples": { "Result": { "value": "" }, "No Content": { "value": "{}", "summary": "No Content" } } } } } }, "deprecated": false, "tags": [ "Other" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/personalizations-1": {}, "/personalizations-2": {}, "/personalizations/bulkdelete-1": {}, "/personalizations/{variableID}/lock": { "patch": { "description": "", "operationId": "get_{personalizationId}lock", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean", "description": "" }, "message": { "type": "string" } } }, "examples": { "Success": { "summary": "Success", "value": { "success": true, "message": "Personalization updated successfully" } }, "No rights to lock (not an admin)": { "summary": "No rights to lock (not an admin)", "value": { "success": false, "message": "Only admin can lock/unlock personalizations" } } } } } } }, "parameters": [ { "in": "path", "name": "variableID", "schema": { "type": "string" }, "required": true } ], "tags": [ "Personalizations" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/personalizations/{variableID}/unlock": { "patch": { "description": "", "operationId": "patch_new-endpoint", "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "message": { "type": "string" } } }, "examples": { "New Example 1": { "summary": "New Example 1", "value": { "success": false, "message": "Only admin can lock/unlock personalizations" } }, "No rights to unlock (not an admin)": { "summary": "No rights to unlock (not an admin)", "value": { "success": true, "message": "Personalization updated successfully" } } } } } } }, "parameters": [ { "in": "path", "name": "variableID", "schema": { "type": "string" }, "required": true } ], "tags": [ "Personalizations" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/automations/{automationId}": { "get": { "summary": "ActiveCampaign Copy of List All Automations", "description": "", "operationId": "get_automations-1", "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Result": { "value": "{\n \"automations\": [\n {\n \"name\": \"Email Subscription\",\n \"cdate\": \"2018-08-06T16:28:43-05:00\",\n \"mdate\": \"2018-08-06T16:33:10-05:00\",\n \"userid\": \"1\",\n \"status\": \"2\",\n \"entered\": \"0\",\n \"exited\": \"0\",\n \"hidden\": \"0\",\n \"defaultscreenshot\": \"http://img-us1.com/default-series.gif\",\n \"screenshot\": \"https://d226aj4ao1t61q.cloudfront.net/k0x4h0lr_default-automation.png\",\n \"links\": {\n \"campaigns\": \"https://:account.api-us1.com/api/3/automations/1/campaigns\",\n \"contactGoals\": \"https://:account.api-us1.com/api/3/automations/1/contactGoals\",\n \"contactAutomations\": \"https://:account.api-us1.com/api/3/automations/1/contactAutomations\",\n \"blocks\": \"https://:account.api-us1.com/api/3/automations/1/blocks\",\n \"goals\": \"https://:account.api-us1.com/api/3/automations/1/goals\",\n \"sms\": \"https://:account.api-us1.com/api/3/automations/1/sms\",\n \"sitemessages\": \"https://:account.api-us1.com/api/3/automations/1/sitemessages\"\n },\n \"id\": \"1\"\n },\n {\n \"name\": \"Test SMS Send\",\n \"cdate\": \"2018-09-18T10:46:32-05:00\",\n \"mdate\": \"2018-09-18T10:54:30-05:00\",\n \"userid\": \"1\",\n \"status\": \"1\",\n \"entered\": \"2\",\n \"exited\": \"2\",\n \"hidden\": \"0\",\n \"defaultscreenshot\": \"http://img-us1.com/default-series.gif\",\n \"screenshot\": \"https://d226aj4ao1t61q.cloudfront.net/k0x4h0lr_default-automation.png\",\n \"links\": {\n \"campaigns\": \"https://:account.api-us1.com/api/3/automations/2/campaigns\",\n \"contactGoals\": \"https://:account.api-us1.com/api/3/automations/2/contactGoals\",\n \"contactAutomations\": \"https://:account.api-us1.com/api/3/automations/2/contactAutomations\",\n \"blocks\": \"https://:account.api-us1.com/api/3/automations/2/blocks\",\n \"goals\": \"https://:account.api-us1.com/api/3/automations/2/goals\",\n \"sms\": \"https://:account.api-us1.com/api/3/automations/2/sms\",\n \"sitemessages\": \"https://:account.api-us1.com/api/3/automations/2/sitemessages\"\n },\n \"id\": \"2\"\n }\n ],\n \"meta\": {\n \"total\": \"2\",\n \"starts\": [\n {\n \"id\": \"2\",\n \"series\": \"1\",\n \"type\": \"subscribe\"\n },\n {\n \"id\": \"4\",\n \"series\": \"2\",\n \"type\": \"subscribe\"\n }\n ],\n \"filtered\": false,\n \"smsLogs\": []\n }\n}" } }, "schema": { "type": "object", "properties": { "automations": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "Email Subscription" }, "cdate": { "type": "string", "example": "2018-08-06T16:28:43-05:00" }, "mdate": { "type": "string", "example": "2018-08-06T16:33:10-05:00" }, "userid": { "type": "string", "example": "1" }, "status": { "type": "string", "example": "2" }, "entered": { "type": "string", "example": "0" }, "exited": { "type": "string", "example": "0" }, "hidden": { "type": "string", "example": "0" }, "defaultscreenshot": { "type": "string", "example": "http://img-us1.com/default-series.gif" }, "screenshot": { "type": "string", "example": "https://d226aj4ao1t61q.cloudfront.net/k0x4h0lr_default-automation.png" }, "links": { "type": "object", "properties": { "campaigns": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/campaigns" }, "contactGoals": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/contactGoals" }, "contactAutomations": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/contactAutomations" }, "blocks": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/blocks" }, "goals": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/goals" }, "sms": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/sms" }, "sitemessages": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/sitemessages" } } }, "id": { "type": "string", "example": "1" } } } }, "meta": { "type": "object", "properties": { "total": { "type": "string", "example": "2" }, "starts": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "example": "2" }, "series": { "type": "string", "example": "1" }, "type": { "type": "string", "example": "subscribe" } } } }, "filtered": { "type": "boolean", "example": false, "default": true }, "smsLogs": { "type": "array" } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Result": { "value": "{}" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "parameters": [ { "in": "path", "name": "automationId", "schema": { "type": "string", "default": "Id of the automation to be retrieved" }, "required": true } ], "tags": [ "Automations" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } }, "/automations/{id}": { "get": { "summary": "ActiveCampaign Copy of List All Automations", "description": "", "operationId": "get_automations-1", "responses": { "200": { "description": "200", "content": { "application/json": { "examples": { "Response": { "value": { "automations": [ { "name": "Send Introductory Email", "cdate": "2025-10-15T14:08:05-05:00", "mdate": "2025-10-15T15:57:24-05:00", "userid": "1", "status": 2, "entered": "2", "exited": "2", "hidden": "0", "entitlements_violation": "0", "source": "0", "description": null, "exit_on_unsubscribe": "0", "exit_on_conversion": "0", "multientry": "1", "links": { "campaigns": "https://account.api-us1.com/api/3/automations/87/campaigns", "contactGoals": "https://account.api-us1.com/api/3/automations/87/contactGoals", "contactAutomations": "https://account.api-us1.com/api/3/automations/87/contactAutomations", "blocks": "https://account.api-us1.com/api/3/automations/87/blocks", "goals": "https://account.api-us1.com/api/3/automations/87/goals", "sms": "https://account.api-us1.com/api/3/automations/87/sms", "sitemessages": "https://account.api-us1.com/api/3/automations/87/sitemessages", "triggers": "https://account.api-us1.com/api/3/automations/87/triggers" }, "id": "87" }, { "name": "Send Text Message Reminder", "cdate": "2025-07-30T12:18:17-05:00", "mdate": "2025-10-15T14:07:32-05:00", "userid": "1", "status": 2, "entered": "63", "exited": "63", "hidden": "0", "entitlements_violation": "0", "source": "0", "description": "", "exit_on_unsubscribe": "0", "exit_on_conversion": "0", "multientry": "1", "links": { "campaigns": "https://account.api-us1.com/api/3/automations/83/campaigns", "contactGoals": "https://account.api-us1.com/api/3/automations/83/contactGoals", "contactAutomations": "https://account.api-us1.com/api/3/automations/83/contactAutomations", "blocks": "https://account.api-us1.com/api/3/automations/83/blocks", "goals": "https://account.api-us1.com/api/3/automations/83/goals", "sms": "https://account.api-us1.com/api/3/automations/83/sms", "sitemessages": "https://account.api-us1.com/api/3/automations/83/sitemessages", "triggers": "https://account.api-us1.com/api/3/automations/83/triggers" }, "id": "83" } ] }, "summary": "Response" } }, "schema": { "type": "object", "properties": { "automation": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "example": "Email Subscription" }, "cdate": { "type": "string", "example": "2018-08-06T16:28:43-05:00" }, "mdate": { "type": "string", "example": "2018-08-06T16:33:10-05:00" }, "userid": { "type": "string", "example": "1" }, "status": { "type": "string", "example": "2" }, "entered": { "type": "string", "example": "0" }, "exited": { "type": "string", "example": "0" }, "hidden": { "type": "string", "example": "0" }, "entitlements_violation": { "type": "string" }, "source": { "type": "string" }, "description": { "type": "string" }, "exit_on_unsubscribe": { "type": "string" }, "exit_on_conversion": { "type": "string" }, "multientry": { "type": "string" }, "links": { "type": "object", "properties": { "campaigns": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/campaigns" }, "contactGoals": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/contactGoals" }, "contactAutomations": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/contactAutomations" }, "blocks": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/blocks" }, "goals": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/goals" }, "sms": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/sms" }, "sitemessages": { "type": "string", "example": "https://:account.api-us1.com/api/3/automations/1/sitemessages" }, "triggers": { "type": "string" } } }, "id": { "type": "string", "example": "1" } } } } } } } } }, "400": { "description": "400", "content": { "application/json": { "examples": { "Response": { "value": "{}", "summary": "Response" } }, "schema": { "type": "object", "properties": {} } } } } }, "deprecated": false, "parameters": [ { "in": "path", "name": "id", "schema": { "type": "string", "default": "ID of the automation to be retrieved" }, "required": true } ], "tags": [ "Automations" ], "x-microcks-operation": { "delay": 0, "dispatcher": "FALLBACK" } } } }, "x-readme": { "headers": [], "explorer-enabled": false, "proxy-enabled": false }, "x-readme-fauxas": true, "tags": [ { "name": "Accounts" }, { "name": "Addresses" }, { "name": "Automations" }, { "name": "Branding" }, { "name": "Bulk Import" }, { "name": "Calendars" }, { "name": "Campaigns" }, { "name": "Contacts" }, { "name": "Custom Objects" }, { "name": "Deals" }, { "name": "Ecommerce" }, { "name": "Event Tracking" }, { "name": "Fields" }, { "name": "Forms" }, { "name": "Groups" }, { "name": "Lists" }, { "name": "Messages" }, { "name": "Notes" }, { "name": "Other" }, { "name": "Personalizations" }, { "name": "Saved Responses" }, { "name": "Scores" }, { "name": "Segments" }, { "name": "Site Tracking" }, { "name": "Tags" }, { "name": "Tasks" }, { "name": "Templates" }, { "name": "Users" }, { "name": "Webhooks" } ] }