openapi: 3.0.0 servers: - url: https://server.api.mailchimp.com/3.0 info: contact: email: apihelp@mailchimp.com name: Mailchimp API Support title: Mailchimp Marketing API version: 3.0.55 x-apisguru-categories: - messaging x-logo: url: https://eep.io/images/yzco4xsimv0y/10ZRu9hZ1QQ5u1QQMu7qN1/57f679c6e8f6dd60a01d54f870fae6b7/MC_50-50_-_Brand_Assets_03.png?w=980&fm=webp&q=70 x-origin: - format: swagger url: https://api.mailchimp.com/schema/3.0/Swagger.json?expand version: "2.0" x-permalink: https://github.com/mailchimp/mailchimp-client-lib-codegen/blob/main/spec/marketing.json x-providerName: mailchimp.com externalDocs: description: Learn more with the full Mailchimp API documentation. url: https://mailchimp.com/developer/marketing/ security: - basicAuth: [] paths: /: get: deprecated: false description: Get links to all other resources available in the API. operationId: getRoot parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields responses: "200": content: application/json: schema: description: The API root resource links to all other resources available in the API. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array account_id: description: The Mailchimp account ID. readOnly: true title: Account ID type: string account_industry: description: The user-specified industry associated with the account. readOnly: true title: Account Industry type: string account_name: description: The name of the account. readOnly: true title: Account Name type: string account_timezone: description: The timezone currently set for the account. readOnly: true title: Account Timezone type: string avatar_url: description: URL of the avatar for the user. readOnly: true title: Avatar URL type: string contact: description: Information about the account contact. properties: addr1: description: The street address for the account contact. readOnly: true title: Address Line 1 type: string addr2: description: The street address for the account contact. readOnly: true title: Address Line 2 type: string city: description: The city for the account contact. readOnly: true title: City type: string company: description: The company name for the account. readOnly: true title: Company type: string country: description: The country for the account contact. readOnly: true title: Country type: string state: description: The state for the account contact. readOnly: true title: State type: string zip: description: The zip code for the account contact. readOnly: true title: Zip Code type: string readOnly: true title: Account Contact type: object email: description: The account email address. readOnly: true title: Account Email type: string first_name: description: The first name tied to the account. readOnly: true title: First Name type: string first_payment: description: Date of first payment for monthly plans. example: 2010-01-01T23:59:59+00:00 format: date-time readOnly: true title: First Payment type: string industry_stats: description: The [average campaign statistics](https://mailchimp.com/resources/research/email-marketing-benchmarks/?utm_source=mc-api&utm_medium=docs&utm_campaign=apidocs) for all campaigns in the account's specified industry. properties: bounce_rate: description: The average bounce rate for all campaigns in the account's specified industry. readOnly: true title: Bounce Rate type: number click_rate: description: The average unique click rate for all campaigns in the account's specified industry. readOnly: true title: Click Rate type: number open_rate: description: The average unique open rate for all campaigns in the account's specified industry. readOnly: true title: Open Rate type: number readOnly: true title: Industry Stats type: object last_login: description: The date and time of the last login for this account in ISO 8601 format. format: date-time readOnly: true title: Last Login Date type: string last_name: description: The last name tied to the account. readOnly: true title: Last Name type: string login_id: description: The ID associated with the user who owns this API key. If you can login to multiple accounts, this ID will be the same for each account. readOnly: true title: Login ID type: string member_since: description: The date and time that the account was created in ISO 8601 format. example: 2010-01-01T23:59:59+00:00 format: date-time readOnly: true title: Account Creation Date type: string pricing_plan_type: description: The type of pricing plan the account is on. enum: - monthly - pay_as_you_go - forever_free readOnly: true title: Account Pricing Plan type: string pro_enabled: description: Legacy - whether the account includes [Mailchimp Pro](https://mailchimp.com/help/about-mailchimp-pro/). readOnly: true title: Mailchimp Pro type: boolean role: description: The [user role](https://mailchimp.com/help/manage-user-levels-in-your-account/) for the account. readOnly: true title: Role type: string total_subscribers: description: The total number of subscribers across all lists in the account. readOnly: true title: Total Subscribers type: integer username: description: The username tied to the account. example: freddie2000 readOnly: true title: User Name type: string title: API Root type: object application/problem+json: schema: description: The API root resource links to all other resources available in the API. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array account_id: description: The Mailchimp account ID. readOnly: true title: Account ID type: string account_industry: description: The user-specified industry associated with the account. readOnly: true title: Account Industry type: string account_name: description: The name of the account. readOnly: true title: Account Name type: string account_timezone: description: The timezone currently set for the account. readOnly: true title: Account Timezone type: string avatar_url: description: URL of the avatar for the user. readOnly: true title: Avatar URL type: string contact: description: Information about the account contact. properties: addr1: description: The street address for the account contact. readOnly: true title: Address Line 1 type: string addr2: description: The street address for the account contact. readOnly: true title: Address Line 2 type: string city: description: The city for the account contact. readOnly: true title: City type: string company: description: The company name for the account. readOnly: true title: Company type: string country: description: The country for the account contact. readOnly: true title: Country type: string state: description: The state for the account contact. readOnly: true title: State type: string zip: description: The zip code for the account contact. readOnly: true title: Zip Code type: string readOnly: true title: Account Contact type: object email: description: The account email address. readOnly: true title: Account Email type: string first_name: description: The first name tied to the account. readOnly: true title: First Name type: string first_payment: description: Date of first payment for monthly plans. example: 2010-01-01T23:59:59+00:00 format: date-time readOnly: true title: First Payment type: string industry_stats: description: The [average campaign statistics](https://mailchimp.com/resources/research/email-marketing-benchmarks/?utm_source=mc-api&utm_medium=docs&utm_campaign=apidocs) for all campaigns in the account's specified industry. properties: bounce_rate: description: The average bounce rate for all campaigns in the account's specified industry. readOnly: true title: Bounce Rate type: number click_rate: description: The average unique click rate for all campaigns in the account's specified industry. readOnly: true title: Click Rate type: number open_rate: description: The average unique open rate for all campaigns in the account's specified industry. readOnly: true title: Open Rate type: number readOnly: true title: Industry Stats type: object last_login: description: The date and time of the last login for this account in ISO 8601 format. format: date-time readOnly: true title: Last Login Date type: string last_name: description: The last name tied to the account. readOnly: true title: Last Name type: string login_id: description: The ID associated with the user who owns this API key. If you can login to multiple accounts, this ID will be the same for each account. readOnly: true title: Login ID type: string member_since: description: The date and time that the account was created in ISO 8601 format. example: 2010-01-01T23:59:59+00:00 format: date-time readOnly: true title: Account Creation Date type: string pricing_plan_type: description: The type of pricing plan the account is on. enum: - monthly - pay_as_you_go - forever_free readOnly: true title: Account Pricing Plan type: string pro_enabled: description: Legacy - whether the account includes [Mailchimp Pro](https://mailchimp.com/help/about-mailchimp-pro/). readOnly: true title: Mailchimp Pro type: boolean role: description: The [user role](https://mailchimp.com/help/manage-user-levels-in-your-account/) for the account. readOnly: true title: Role type: string total_subscribers: description: The total number of subscribers across all lists in the account. readOnly: true title: Total Subscribers type: integer username: description: The username tied to the account. example: freddie2000 readOnly: true title: User Name type: string title: API Root type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List api root resources tags: - root x-custom-config: methodNameCamel: getRoot methodNameSnake: get_root /account-exports: get: deprecated: false description: Get a list of account exports for a given account. operationId: getAccountExports parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset responses: "200": content: application/json: schema: description: An array of objects, each representing an account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array exports: description: An array of objects, each representing an account export. items: description: An account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array download_url: description: If the export is finished, the download URL for an export. URLs are only valid for 90 days after the export completes. title: Download URL type: string export_id: description: The ID for the export. title: Export ID type: integer finished: description: If finished, the finish time for the export. format: date-time title: Finish Time type: string size_in_bytes: description: The size of the uncompressed export in bytes. title: Export Size type: integer started: description: Start time for the export. format: date-time title: Start Time type: string type: object title: Account Exports type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object application/problem+json: schema: description: An array of objects, each representing an account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array exports: description: An array of objects, each representing an account export. items: description: An account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array download_url: description: If the export is finished, the download URL for an export. URLs are only valid for 90 days after the export completes. title: Download URL type: string export_id: description: The ID for the export. title: Export ID type: integer finished: description: If finished, the finish time for the export. format: date-time title: Finish Time type: string size_in_bytes: description: The size of the uncompressed export in bytes. title: Export Size type: integer started: description: Start time for the export. format: date-time title: Start Time type: string type: object title: Account Exports type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List account exports tags: - accountExports x-custom-config: methodNameCamel: listAccountExports methodNameSnake: list_account_exports post: deprecated: false description: Create a new account export in your Mailchimp account. operationId: postAccountExport requestBody: content: application/json: schema: description: Creates an account export with the given parameters. properties: include_stages: description: The stages of an account export to include. example: '["audiences", "gallery_files"]' items: enum: - audiences - campaigns - events - gallery_files - reports - templates type: string title: Include Stages type: array since_timestamp: description: An ISO 8601 date that will limit the export to only records created after a given time. For instance, the reports stage will contain any campaign sent after the given timestamp. Audiences, however, are excluded from this limit. example: 2021-08-23T14:15:09Z format: date-time title: Since Timestamp type: string required: - include_stages title: Create an account export type: object required: true responses: "200": content: application/json: schema: description: An account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array download_url: description: If the export is finished, the download URL for an export. URLs are only valid for 90 days after the export completes. title: Download URL type: string export_id: description: The ID for the export. title: Export ID type: integer finished: description: If finished, the finish time for the export. format: date-time title: Finish Time type: string size_in_bytes: description: The size of the uncompressed export in bytes. title: Export Size type: integer started: description: Start time for the export. format: date-time title: Start Time type: string type: object application/problem+json: schema: description: An account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array download_url: description: If the export is finished, the download URL for an export. URLs are only valid for 90 days after the export completes. title: Download URL type: string export_id: description: The ID for the export. title: Export ID type: integer finished: description: If finished, the finish time for the export. format: date-time title: Finish Time type: string size_in_bytes: description: The size of the uncompressed export in bytes. title: Export Size type: integer started: description: Start time for the export. format: date-time title: Start Time type: string type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Add export tags: - accountExports x-custom-config: methodNameCamel: createAccountExport methodNameSnake: create_account_export "/account-exports/{export_id}": get: deprecated: false description: Get information about a specific account export. operationId: getAccountExportId parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the account export. in: path name: export_id required: true schema: type: string x-title: Export ID responses: "200": content: application/json: schema: description: An account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array download_url: description: If the export is finished, the download URL for an export. URLs are only valid for 90 days after the export completes. title: Download URL type: string export_id: description: The ID for the export. title: Export ID type: integer finished: description: If finished, the finish time for the export. format: date-time title: Finish Time type: string size_in_bytes: description: The size of the uncompressed export in bytes. title: Export Size type: integer started: description: Start time for the export. format: date-time title: Start Time type: string type: object application/problem+json: schema: description: An account export. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array download_url: description: If the export is finished, the download URL for an export. URLs are only valid for 90 days after the export completes. title: Download URL type: string export_id: description: The ID for the export. title: Export ID type: integer finished: description: If finished, the finish time for the export. format: date-time title: Finish Time type: string size_in_bytes: description: The size of the uncompressed export in bytes. title: Export Size type: integer started: description: Start time for the export. format: date-time title: Start Time type: string type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get account export info tags: - accountExport x-custom-config: methodNameCamel: getAccountExports methodNameSnake: get_account_exports /activity-feed/chimp-chatter: get: description: Return the Chimp Chatter for this account ordered by most recent. operationId: getActivityFeedChimpChatter parameters: - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset responses: "200": content: application/json: schema: description: An array of Chimp Chatter messages. There's a maximum of 200 messages present for an account. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array chimp_chatter: description: An array of Chimp Chatter messages. There's a maximum of 200 messages present for an account. items: description: A Chimp Chatter message properties: campaign_id: description: If it exists, campaign ID for the associated campaign example: 2017-08-04T11:09:01+00:00 readOnly: true title: Campaign ID type: string list_id: description: If it exists, list ID for the associated list example: 2017-08-04T11:09:01+00:00 readOnly: true title: List ID type: string message: example: People are telling their friends about your campaign! readOnly: true title: Message type: string title: example: 1 new subscriber to Your New Campaign! readOnly: true title: Title type: string type: description: The type of activity enum: - lists:new-subscriber - lists:unsubscribes - lists:profile-updates - campaigns:facebook-likes - campaigns:forward-to-friend - lists:imports example: campaigns:forward-to-friend readOnly: true title: Type type: string update_time: description: The date and time this activity was updated. example: 2017-08-04T11:09:01+00:00 format: date-time readOnly: true title: Update Time type: string url: description: URL to a report that includes this activity example: http://dev.mailchimp.com/reports/summary?id=1 readOnly: true title: URL type: string title: ChimpChatter type: object readOnly: true type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object application/problem+json: schema: description: An array of Chimp Chatter messages. There's a maximum of 200 messages present for an account. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array chimp_chatter: description: An array of Chimp Chatter messages. There's a maximum of 200 messages present for an account. items: description: A Chimp Chatter message properties: campaign_id: description: If it exists, campaign ID for the associated campaign example: 2017-08-04T11:09:01+00:00 readOnly: true title: Campaign ID type: string list_id: description: If it exists, list ID for the associated list example: 2017-08-04T11:09:01+00:00 readOnly: true title: List ID type: string message: example: People are telling their friends about your campaign! readOnly: true title: Message type: string title: example: 1 new subscriber to Your New Campaign! readOnly: true title: Title type: string type: description: The type of activity enum: - lists:new-subscriber - lists:unsubscribes - lists:profile-updates - campaigns:facebook-likes - campaigns:forward-to-friend - lists:imports example: campaigns:forward-to-friend readOnly: true title: Type type: string update_time: description: The date and time this activity was updated. example: 2017-08-04T11:09:01+00:00 format: date-time readOnly: true title: Update Time type: string url: description: URL to a report that includes this activity example: http://dev.mailchimp.com/reports/summary?id=1 readOnly: true title: URL type: string title: ChimpChatter type: object readOnly: true type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object description: ChimpChatter Collection default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get latest chimp chatter tags: - activityFeed x-custom-config: methodNameCamel: getChimpChatter methodNameSnake: get_chimp_chatter /authorized-apps: get: deprecated: false description: Get a list of an account's registered, connected applications. operationId: getAuthorizedApps parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset responses: "200": content: application/json: schema: description: An array of objects, each representing an authorized application. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array apps: description: An array of objects, each representing an authorized application. items: description: An authorized app. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array description: description: A short description of the application. title: Application Description type: string id: description: The ID for the application. title: Client ID type: integer name: description: The name of the application. title: Application Name type: string users: description: An array of usernames for users who have linked the app. items: type: string title: Application Users type: array type: object title: Authorized Applications type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object application/problem+json: schema: description: An array of objects, each representing an authorized application. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array apps: description: An array of objects, each representing an authorized application. items: description: An authorized app. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array description: description: A short description of the application. title: Application Description type: string id: description: The ID for the application. title: Client ID type: integer name: description: The name of the application. title: Application Name type: string users: description: An array of usernames for users who have linked the app. items: type: string title: Application Users type: array type: object title: Authorized Applications type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List authorized apps tags: - authorizedApps x-custom-config: methodNameCamel: list methodNameSnake: list "/authorized-apps/{app_id}": get: deprecated: false description: Get information about a specific authorized application. operationId: getAuthorizedAppsId parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the connected authorized application. in: path name: app_id required: true schema: type: string x-title: App ID responses: "200": content: application/json: schema: description: An authorized app. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array description: description: A short description of the application. title: Application Description type: string id: description: The ID for the application. title: Client ID type: integer name: description: The name of the application. title: Application Name type: string users: description: An array of usernames for users who have linked the app. items: type: string title: Application Users type: array type: object application/problem+json: schema: description: An authorized app. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array description: description: A short description of the application. title: Application Description type: string id: description: The ID for the application. title: Client ID type: integer name: description: The name of the application. title: Application Name type: string users: description: An array of usernames for users who have linked the app. items: type: string title: Application Users type: array type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get authorized app info tags: - authorizedApps x-custom-config: methodNameCamel: get methodNameSnake: get /automations: get: deprecated: false description: Get a summary of an account's classic automations. operationId: getAutomations parameters: - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: "Restrict the response to automations created before this time. Uses the ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: before_create_time required: false schema: format: date-time type: string x-title: Before Create Time - description: "Restrict the response to automations created after this time. Uses the ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: since_create_time required: false schema: format: date-time type: string x-title: Since Create Time - description: "Restrict the response to automations started before this time. Uses the ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: before_start_time required: false schema: format: date-time type: string x-title: Before Start Time - description: "Restrict the response to automations started after this time. Uses the ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: since_start_time required: false schema: format: date-time type: string x-title: Since Start Time - description: Restrict the results to automations with the specified status. in: query name: status required: false schema: enum: - save - paused - sending type: string x-title: Status responses: "200": content: application/json: schema: description: An array of objects, each representing an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array automations: description: An array of objects, each representing an Automation workflow. items: description: A summary of an individual Automation workflow's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array create_time: description: The date and time the Automation was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string emails_sent: description: The total number of emails sent for the Automation. readOnly: true title: Emails Sent type: integer id: description: A string that identifies the Automation. readOnly: true title: Automation Campaign ID type: string recipients: description: List settings for the Automation. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: List Name. title: List Name type: string segment_opts: description: An object representing all segmentation options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object store_id: description: The id of the store. example: 1a2df69xxx title: Store ID type: string title: List type: object report_summary: description: A summary of opens and clicks for sent campaigns. properties: click_rate: description: The number of unique clicks, divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object settings: description: The settings for the Automation workflow. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the Automation. Defaults to `true`. title: Authentication type: boolean auto_footer: description: Whether to automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the Automation. title: Auto-Footer type: boolean from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string inline_css: description: Whether to automatically inline the CSS included with the Automation content. title: Inline CSS type: boolean reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string title: description: The title of the Automation. title: Automation Title type: string to_name: description: The Automation's custom 'To' name, typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Whether to use Mailchimp Conversation feature to manage replies title: Conversations type: boolean title: Automation Campaign Settings type: object start_time: description: The date and time the Automation was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the Automation. enum: - save - paused - sending readOnly: true title: Automation Status type: string tracking: description: The tracking options for the Automation. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the Automation. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the Automation. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Automation Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object title: Automation Workflow type: object title: Automation Workflows type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object application/problem+json: schema: description: An array of objects, each representing an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array automations: description: An array of objects, each representing an Automation workflow. items: description: A summary of an individual Automation workflow's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array create_time: description: The date and time the Automation was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string emails_sent: description: The total number of emails sent for the Automation. readOnly: true title: Emails Sent type: integer id: description: A string that identifies the Automation. readOnly: true title: Automation Campaign ID type: string recipients: description: List settings for the Automation. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: List Name. title: List Name type: string segment_opts: description: An object representing all segmentation options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object store_id: description: The id of the store. example: 1a2df69xxx title: Store ID type: string title: List type: object report_summary: description: A summary of opens and clicks for sent campaigns. properties: click_rate: description: The number of unique clicks, divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object settings: description: The settings for the Automation workflow. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the Automation. Defaults to `true`. title: Authentication type: boolean auto_footer: description: Whether to automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the Automation. title: Auto-Footer type: boolean from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string inline_css: description: Whether to automatically inline the CSS included with the Automation content. title: Inline CSS type: boolean reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string title: description: The title of the Automation. title: Automation Title type: string to_name: description: The Automation's custom 'To' name, typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Whether to use Mailchimp Conversation feature to manage replies title: Conversations type: boolean title: Automation Campaign Settings type: object start_time: description: The date and time the Automation was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the Automation. enum: - save - paused - sending readOnly: true title: Automation Status type: string tracking: description: The tracking options for the Automation. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the Automation. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the Automation. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Automation Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object title: Automation Workflow type: object title: Automation Workflows type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List automations tags: - automations x-custom-config: methodNameCamel: list methodNameSnake: list post: deprecated: false description: Create a new classic automation in your Mailchimp account. operationId: postAutomations requestBody: content: application/json: schema: description: A summary of an individual Automation workflow's settings and content. properties: recipients: description: List settings for the Automation. properties: list_id: description: The id of the List. example: 1a2df69xxx title: List ID type: string store_id: description: The id of the store. example: 1a2df69xxx title: Store ID type: string title: List type: object settings: description: The settings for the Automation workflow. properties: from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string title: Automation Campaign Settings type: object trigger_settings: description: Trigger settings for the Automation. properties: workflow_type: description: The type of Automation workflow. Currently only supports 'abandonedCart'. title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object required: - recipients - trigger_settings title: Automation Workflow type: object required: true responses: "200": content: application/json: schema: description: A summary of an individual Automation workflow's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array create_time: description: The date and time the Automation was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string emails_sent: description: The total number of emails sent for the Automation. readOnly: true title: Emails Sent type: integer id: description: A string that identifies the Automation. readOnly: true title: Automation Campaign ID type: string recipients: description: List settings for the Automation. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: List Name. title: List Name type: string segment_opts: description: An object representing all segmentation options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object store_id: description: The id of the store. example: 1a2df69xxx title: Store ID type: string title: List type: object report_summary: description: A summary of opens and clicks for sent campaigns. properties: click_rate: description: The number of unique clicks, divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object settings: description: The settings for the Automation workflow. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the Automation. Defaults to `true`. title: Authentication type: boolean auto_footer: description: Whether to automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the Automation. title: Auto-Footer type: boolean from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string inline_css: description: Whether to automatically inline the CSS included with the Automation content. title: Inline CSS type: boolean reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string title: description: The title of the Automation. title: Automation Title type: string to_name: description: The Automation's custom 'To' name, typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Whether to use Mailchimp Conversation feature to manage replies title: Conversations type: boolean title: Automation Campaign Settings type: object start_time: description: The date and time the Automation was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the Automation. enum: - save - paused - sending readOnly: true title: Automation Status type: string tracking: description: The tracking options for the Automation. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the Automation. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the Automation. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Automation Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object title: Automation Workflow type: object application/problem+json: schema: description: A summary of an individual Automation workflow's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array create_time: description: The date and time the Automation was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string emails_sent: description: The total number of emails sent for the Automation. readOnly: true title: Emails Sent type: integer id: description: A string that identifies the Automation. readOnly: true title: Automation Campaign ID type: string recipients: description: List settings for the Automation. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: List Name. title: List Name type: string segment_opts: description: An object representing all segmentation options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object store_id: description: The id of the store. example: 1a2df69xxx title: Store ID type: string title: List type: object report_summary: description: A summary of opens and clicks for sent campaigns. properties: click_rate: description: The number of unique clicks, divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object settings: description: The settings for the Automation workflow. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the Automation. Defaults to `true`. title: Authentication type: boolean auto_footer: description: Whether to automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the Automation. title: Auto-Footer type: boolean from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string inline_css: description: Whether to automatically inline the CSS included with the Automation content. title: Inline CSS type: boolean reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string title: description: The title of the Automation. title: Automation Title type: string to_name: description: The Automation's custom 'To' name, typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Whether to use Mailchimp Conversation feature to manage replies title: Conversations type: boolean title: Automation Campaign Settings type: object start_time: description: The date and time the Automation was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the Automation. enum: - save - paused - sending readOnly: true title: Automation Status type: string tracking: description: The tracking options for the Automation. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the Automation. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the Automation. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Automation Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object title: Automation Workflow type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Add automation tags: - automations x-custom-config: methodNameCamel: create methodNameSnake: create "/automations/{workflow_id}": get: description: Get a summary of an individual classic automation workflow's settings and content. The `trigger_settings` object returns information for the first email in the workflow. operationId: getAutomationsId parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string responses: "200": content: application/json: schema: description: A summary of an individual Automation workflow's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array create_time: description: The date and time the Automation was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string emails_sent: description: The total number of emails sent for the Automation. readOnly: true title: Emails Sent type: integer id: description: A string that identifies the Automation. readOnly: true title: Automation Campaign ID type: string recipients: description: List settings for the Automation. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: List Name. title: List Name type: string segment_opts: description: An object representing all segmentation options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object store_id: description: The id of the store. example: 1a2df69xxx title: Store ID type: string title: List type: object report_summary: description: A summary of opens and clicks for sent campaigns. properties: click_rate: description: The number of unique clicks, divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object settings: description: The settings for the Automation workflow. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the Automation. Defaults to `true`. title: Authentication type: boolean auto_footer: description: Whether to automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the Automation. title: Auto-Footer type: boolean from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string inline_css: description: Whether to automatically inline the CSS included with the Automation content. title: Inline CSS type: boolean reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string title: description: The title of the Automation. title: Automation Title type: string to_name: description: The Automation's custom 'To' name, typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Whether to use Mailchimp Conversation feature to manage replies title: Conversations type: boolean title: Automation Campaign Settings type: object start_time: description: The date and time the Automation was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the Automation. enum: - save - paused - sending readOnly: true title: Automation Status type: string tracking: description: The tracking options for the Automation. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the Automation. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the Automation. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Automation Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object title: Automation Workflow type: object application/problem+json: schema: description: A summary of an individual Automation workflow's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array create_time: description: The date and time the Automation was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string emails_sent: description: The total number of emails sent for the Automation. readOnly: true title: Emails Sent type: integer id: description: A string that identifies the Automation. readOnly: true title: Automation Campaign ID type: string recipients: description: List settings for the Automation. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: List Name. title: List Name type: string segment_opts: description: An object representing all segmentation options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object store_id: description: The id of the store. example: 1a2df69xxx title: Store ID type: string title: List type: object report_summary: description: A summary of opens and clicks for sent campaigns. properties: click_rate: description: The number of unique clicks, divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object settings: description: The settings for the Automation workflow. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the Automation. Defaults to `true`. title: Authentication type: boolean auto_footer: description: Whether to automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the Automation. title: Auto-Footer type: boolean from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string inline_css: description: Whether to automatically inline the CSS included with the Automation content. title: Inline CSS type: boolean reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string title: description: The title of the Automation. title: Automation Title type: string to_name: description: The Automation's custom 'To' name, typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Whether to use Mailchimp Conversation feature to manage replies title: Conversations type: boolean title: Automation Campaign Settings type: object start_time: description: The date and time the Automation was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the Automation. enum: - save - paused - sending readOnly: true title: Automation Status type: string tracking: description: The tracking options for the Automation. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the Automation. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the Automation. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Automation Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object title: Automation Workflow type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get automation info tags: - automations x-custom-config: methodNameCamel: get methodNameSnake: get "/automations/{workflow_id}/actions/archive": post: deprecated: false description: Archiving will permanently end your automation and keep the report data. You’ll be able to replicate your archived automation, but you can’t restart it. operationId: archiveAutomations parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Archive automation tags: - automations x-custom-config: methodNameCamel: archive methodNameSnake: archive "/automations/{workflow_id}/actions/pause-all-emails": post: deprecated: false description: Pause all emails in a specific classic automation workflow. operationId: postAutomationsIdActionsPauseAllEmails parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Pause automation emails tags: - automations x-custom-config: methodNameCamel: pauseAllEmails methodNameSnake: pause_all_emails "/automations/{workflow_id}/actions/start-all-emails": post: deprecated: false description: Start all emails in a classic automation workflow. operationId: postAutomationsIdActionsStartAllEmails parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Start automation emails tags: - automations x-custom-config: methodNameCamel: startAllEmails methodNameSnake: start_all_emails "/automations/{workflow_id}/emails": get: deprecated: false description: Get a summary of the emails in a classic automation workflow. operationId: getAutomationsIdEmails parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string responses: "200": content: application/json: schema: description: A summary of the emails in an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array emails: description: An array of objects, each representing an email in an Automation workflow. items: description: A summary of an individual Automation workflow email. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delay: description: The delay settings for an Automation email. properties: action: description: The action that triggers the delay of an Automation email. enum: - previous_campaign_sent - previous_campaign_opened - previous_campaign_not_opened - previous_campaign_clicked_any - previous_campaign_not_clicked_any - previous_campaign_specific_clicked - ecomm_bought_any - ecomm_bought_product - ecomm_bought_category - ecomm_not_bought_any - ecomm_abandoned_cart - campaign_sent - opened_email - not_opened_email - clicked_email - not_clicked_email - campaign_specific_clicked - manual - signup - merge_changed - group_add - group_remove - mandrill_sent - mandrill_opened - mandrill_clicked - mandrill_any - api - goal - annual - birthday - date - date_added - tag_add title: Delay Action type: string action_description: description: The user-friendly description of the action that triggers an Automation email. example: subscribers purchase anything from your store readOnly: true title: Delay Action Description type: string amount: description: The delay amount for an Automation email. readOnly: true title: Delay Amount type: integer direction: description: Whether the delay settings describe before or after the delay action of an Automation email. enum: - before - after title: Delay Direction type: string full_description: description: The user-friendly description of the delay and trigger action settings for an Automation email. example: 1 day after subscribers purchase anything from your store readOnly: true title: Full Delay Description type: string type: description: The type of delay for an Automation email. enum: - now - day - hour - week title: Delay Type type: string title: Automation Delay type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer has_logo_merge_tag: description: Determines if the campaign contains the *|BRAND:LOGO|* merge tag. example: true readOnly: true title: Has Logo Merge Tag type: boolean id: description: A string that uniquely identifies the Automation email. readOnly: true title: Automation Email ID type: string needs_block_refresh: description: Determines if the automation email needs its blocks refreshed by opening the web-based campaign editor. example: true readOnly: true title: Needs Block Refresh type: boolean position: description: The position of an Automation email in a workflow. readOnly: true title: Email Position type: integer recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/getting-started-with-groups/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object send_time: description: " The date and time a campaign was sent in ISO 8601 format" format: date-time readOnly: true title: Send Time type: string settings: description: Settings for the campaign including the email subject, from name, and from email address. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object start_time: description: The date and time the campaign was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the campaign. enum: - save - paused - sending readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [Click Tale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object web_id: description: The ID used in the Mailchimp web application. View this automation in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. example: 33345484 readOnly: true title: Automation Web ID type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Automation Workflow Email type: object title: Emails type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer title: Automation Emails type: object application/problem+json: schema: description: A summary of the emails in an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array emails: description: An array of objects, each representing an email in an Automation workflow. items: description: A summary of an individual Automation workflow email. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delay: description: The delay settings for an Automation email. properties: action: description: The action that triggers the delay of an Automation email. enum: - previous_campaign_sent - previous_campaign_opened - previous_campaign_not_opened - previous_campaign_clicked_any - previous_campaign_not_clicked_any - previous_campaign_specific_clicked - ecomm_bought_any - ecomm_bought_product - ecomm_bought_category - ecomm_not_bought_any - ecomm_abandoned_cart - campaign_sent - opened_email - not_opened_email - clicked_email - not_clicked_email - campaign_specific_clicked - manual - signup - merge_changed - group_add - group_remove - mandrill_sent - mandrill_opened - mandrill_clicked - mandrill_any - api - goal - annual - birthday - date - date_added - tag_add title: Delay Action type: string action_description: description: The user-friendly description of the action that triggers an Automation email. example: subscribers purchase anything from your store readOnly: true title: Delay Action Description type: string amount: description: The delay amount for an Automation email. readOnly: true title: Delay Amount type: integer direction: description: Whether the delay settings describe before or after the delay action of an Automation email. enum: - before - after title: Delay Direction type: string full_description: description: The user-friendly description of the delay and trigger action settings for an Automation email. example: 1 day after subscribers purchase anything from your store readOnly: true title: Full Delay Description type: string type: description: The type of delay for an Automation email. enum: - now - day - hour - week title: Delay Type type: string title: Automation Delay type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer has_logo_merge_tag: description: Determines if the campaign contains the *|BRAND:LOGO|* merge tag. example: true readOnly: true title: Has Logo Merge Tag type: boolean id: description: A string that uniquely identifies the Automation email. readOnly: true title: Automation Email ID type: string needs_block_refresh: description: Determines if the automation email needs its blocks refreshed by opening the web-based campaign editor. example: true readOnly: true title: Needs Block Refresh type: boolean position: description: The position of an Automation email in a workflow. readOnly: true title: Email Position type: integer recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/getting-started-with-groups/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object send_time: description: " The date and time a campaign was sent in ISO 8601 format" format: date-time readOnly: true title: Send Time type: string settings: description: Settings for the campaign including the email subject, from name, and from email address. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object start_time: description: The date and time the campaign was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the campaign. enum: - save - paused - sending readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [Click Tale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object web_id: description: The ID used in the Mailchimp web application. View this automation in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. example: 33345484 readOnly: true title: Automation Web ID type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Automation Workflow Email type: object title: Emails type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer title: Automation Emails type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List automated emails tags: - automations x-custom-config: methodNameCamel: listAllWorkflowEmails methodNameSnake: list_all_workflow_emails "/automations/{workflow_id}/emails/{workflow_email_id}": delete: deprecated: false description: Removes an individual classic automation workflow email. Emails from certain workflow types, including the Abandoned Cart Email (abandonedCart) and Product Retargeting Email (abandonedBrowse) Workflows, cannot be deleted. operationId: deleteAutomationsIdEmailsId parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Delete workflow email tags: - automations x-custom-config: methodNameCamel: deleteWorkflowEmail methodNameSnake: delete_workflow_email get: deprecated: false description: Get information about an individual classic automation workflow email. operationId: getAutomationsIdEmailsId parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string responses: "200": content: application/json: schema: description: A summary of an individual Automation workflow email. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delay: description: The delay settings for an Automation email. properties: action: description: The action that triggers the delay of an Automation email. enum: - previous_campaign_sent - previous_campaign_opened - previous_campaign_not_opened - previous_campaign_clicked_any - previous_campaign_not_clicked_any - previous_campaign_specific_clicked - ecomm_bought_any - ecomm_bought_product - ecomm_bought_category - ecomm_not_bought_any - ecomm_abandoned_cart - campaign_sent - opened_email - not_opened_email - clicked_email - not_clicked_email - campaign_specific_clicked - manual - signup - merge_changed - group_add - group_remove - mandrill_sent - mandrill_opened - mandrill_clicked - mandrill_any - api - goal - annual - birthday - date - date_added - tag_add title: Delay Action type: string action_description: description: The user-friendly description of the action that triggers an Automation email. example: subscribers purchase anything from your store readOnly: true title: Delay Action Description type: string amount: description: The delay amount for an Automation email. readOnly: true title: Delay Amount type: integer direction: description: Whether the delay settings describe before or after the delay action of an Automation email. enum: - before - after title: Delay Direction type: string full_description: description: The user-friendly description of the delay and trigger action settings for an Automation email. example: 1 day after subscribers purchase anything from your store readOnly: true title: Full Delay Description type: string type: description: The type of delay for an Automation email. enum: - now - day - hour - week title: Delay Type type: string title: Automation Delay type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer has_logo_merge_tag: description: Determines if the campaign contains the *|BRAND:LOGO|* merge tag. example: true readOnly: true title: Has Logo Merge Tag type: boolean id: description: A string that uniquely identifies the Automation email. readOnly: true title: Automation Email ID type: string needs_block_refresh: description: Determines if the automation email needs its blocks refreshed by opening the web-based campaign editor. example: true readOnly: true title: Needs Block Refresh type: boolean position: description: The position of an Automation email in a workflow. readOnly: true title: Email Position type: integer recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/getting-started-with-groups/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object send_time: description: " The date and time a campaign was sent in ISO 8601 format" format: date-time readOnly: true title: Send Time type: string settings: description: Settings for the campaign including the email subject, from name, and from email address. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object start_time: description: The date and time the campaign was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the campaign. enum: - save - paused - sending readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [Click Tale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object web_id: description: The ID used in the Mailchimp web application. View this automation in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. example: 33345484 readOnly: true title: Automation Web ID type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Automation Workflow Email type: object application/problem+json: schema: description: A summary of an individual Automation workflow email. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delay: description: The delay settings for an Automation email. properties: action: description: The action that triggers the delay of an Automation email. enum: - previous_campaign_sent - previous_campaign_opened - previous_campaign_not_opened - previous_campaign_clicked_any - previous_campaign_not_clicked_any - previous_campaign_specific_clicked - ecomm_bought_any - ecomm_bought_product - ecomm_bought_category - ecomm_not_bought_any - ecomm_abandoned_cart - campaign_sent - opened_email - not_opened_email - clicked_email - not_clicked_email - campaign_specific_clicked - manual - signup - merge_changed - group_add - group_remove - mandrill_sent - mandrill_opened - mandrill_clicked - mandrill_any - api - goal - annual - birthday - date - date_added - tag_add title: Delay Action type: string action_description: description: The user-friendly description of the action that triggers an Automation email. example: subscribers purchase anything from your store readOnly: true title: Delay Action Description type: string amount: description: The delay amount for an Automation email. readOnly: true title: Delay Amount type: integer direction: description: Whether the delay settings describe before or after the delay action of an Automation email. enum: - before - after title: Delay Direction type: string full_description: description: The user-friendly description of the delay and trigger action settings for an Automation email. example: 1 day after subscribers purchase anything from your store readOnly: true title: Full Delay Description type: string type: description: The type of delay for an Automation email. enum: - now - day - hour - week title: Delay Type type: string title: Automation Delay type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer has_logo_merge_tag: description: Determines if the campaign contains the *|BRAND:LOGO|* merge tag. example: true readOnly: true title: Has Logo Merge Tag type: boolean id: description: A string that uniquely identifies the Automation email. readOnly: true title: Automation Email ID type: string needs_block_refresh: description: Determines if the automation email needs its blocks refreshed by opening the web-based campaign editor. example: true readOnly: true title: Needs Block Refresh type: boolean position: description: The position of an Automation email in a workflow. readOnly: true title: Email Position type: integer recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/getting-started-with-groups/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object send_time: description: " The date and time a campaign was sent in ISO 8601 format" format: date-time readOnly: true title: Send Time type: string settings: description: Settings for the campaign including the email subject, from name, and from email address. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object start_time: description: The date and time the campaign was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the campaign. enum: - save - paused - sending readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [Click Tale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object web_id: description: The ID used in the Mailchimp web application. View this automation in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. example: 33345484 readOnly: true title: Automation Web ID type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Automation Workflow Email type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get workflow email info tags: - automations x-custom-config: methodNameCamel: getWorkflowEmail methodNameSnake: get_workflow_email patch: description: "Update settings for a classic automation workflow email. Only works with workflows of type: abandonedBrowse, abandonedCart, emailFollowup, or singleWelcome." operationId: patchAutomationEmailWorkflowId parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string requestBody: content: application/json: schema: description: Update information about an individual Automation workflow email. properties: delay: description: The delay settings for an automation email. properties: action: description: The action that triggers the delay of an automation emails. enum: - signup - ecomm_abandoned_browse - ecomm_abandoned_cart example: signup title: Delay Action type: string amount: description: The delay amount for an automation email. example: 1 title: Delay Amount type: integer direction: description: Whether the delay settings describe before or after the delay action of an automation email. enum: - after example: after title: Delay Direction type: string type: description: The type of delay for an automation email. enum: - now - day - hour - week example: day title: Delay Type type: string required: - action title: Automation Delay type: object settings: description: Settings for the campaign including the email subject, from name, and from email address. properties: from_name: description: The 'from' name for the Automation (not an email address). title: From Name type: string preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the Automation. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string title: description: The title of the Automation. title: Automation Title type: string title: Campaign Settings type: object title: Update information about a specific workflow email type: object required: true responses: "200": content: application/json: schema: description: A summary of an individual Automation workflow email. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delay: description: The delay settings for an Automation email. properties: action: description: The action that triggers the delay of an Automation email. enum: - previous_campaign_sent - previous_campaign_opened - previous_campaign_not_opened - previous_campaign_clicked_any - previous_campaign_not_clicked_any - previous_campaign_specific_clicked - ecomm_bought_any - ecomm_bought_product - ecomm_bought_category - ecomm_not_bought_any - ecomm_abandoned_cart - campaign_sent - opened_email - not_opened_email - clicked_email - not_clicked_email - campaign_specific_clicked - manual - signup - merge_changed - group_add - group_remove - mandrill_sent - mandrill_opened - mandrill_clicked - mandrill_any - api - goal - annual - birthday - date - date_added - tag_add title: Delay Action type: string action_description: description: The user-friendly description of the action that triggers an Automation email. example: subscribers purchase anything from your store readOnly: true title: Delay Action Description type: string amount: description: The delay amount for an Automation email. readOnly: true title: Delay Amount type: integer direction: description: Whether the delay settings describe before or after the delay action of an Automation email. enum: - before - after title: Delay Direction type: string full_description: description: The user-friendly description of the delay and trigger action settings for an Automation email. example: 1 day after subscribers purchase anything from your store readOnly: true title: Full Delay Description type: string type: description: The type of delay for an Automation email. enum: - now - day - hour - week title: Delay Type type: string title: Automation Delay type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer has_logo_merge_tag: description: Determines if the campaign contains the *|BRAND:LOGO|* merge tag. example: true readOnly: true title: Has Logo Merge Tag type: boolean id: description: A string that uniquely identifies the Automation email. readOnly: true title: Automation Email ID type: string needs_block_refresh: description: Determines if the automation email needs its blocks refreshed by opening the web-based campaign editor. example: true readOnly: true title: Needs Block Refresh type: boolean position: description: The position of an Automation email in a workflow. readOnly: true title: Email Position type: integer recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/getting-started-with-groups/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object send_time: description: " The date and time a campaign was sent in ISO 8601 format" format: date-time readOnly: true title: Send Time type: string settings: description: Settings for the campaign including the email subject, from name, and from email address. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object start_time: description: The date and time the campaign was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the campaign. enum: - save - paused - sending readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [Click Tale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object web_id: description: The ID used in the Mailchimp web application. View this automation in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. example: 33345484 readOnly: true title: Automation Web ID type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Automation Workflow Email type: object application/problem+json: schema: description: A summary of an individual Automation workflow email. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delay: description: The delay settings for an Automation email. properties: action: description: The action that triggers the delay of an Automation email. enum: - previous_campaign_sent - previous_campaign_opened - previous_campaign_not_opened - previous_campaign_clicked_any - previous_campaign_not_clicked_any - previous_campaign_specific_clicked - ecomm_bought_any - ecomm_bought_product - ecomm_bought_category - ecomm_not_bought_any - ecomm_abandoned_cart - campaign_sent - opened_email - not_opened_email - clicked_email - not_clicked_email - campaign_specific_clicked - manual - signup - merge_changed - group_add - group_remove - mandrill_sent - mandrill_opened - mandrill_clicked - mandrill_any - api - goal - annual - birthday - date - date_added - tag_add title: Delay Action type: string action_description: description: The user-friendly description of the action that triggers an Automation email. example: subscribers purchase anything from your store readOnly: true title: Delay Action Description type: string amount: description: The delay amount for an Automation email. readOnly: true title: Delay Amount type: integer direction: description: Whether the delay settings describe before or after the delay action of an Automation email. enum: - before - after title: Delay Direction type: string full_description: description: The user-friendly description of the delay and trigger action settings for an Automation email. example: 1 day after subscribers purchase anything from your store readOnly: true title: Full Delay Description type: string type: description: The type of delay for an Automation email. enum: - now - day - hour - week title: Delay Type type: string title: Automation Delay type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer has_logo_merge_tag: description: Determines if the campaign contains the *|BRAND:LOGO|* merge tag. example: true readOnly: true title: Has Logo Merge Tag type: boolean id: description: A string that uniquely identifies the Automation email. readOnly: true title: Automation Email ID type: string needs_block_refresh: description: Determines if the automation email needs its blocks refreshed by opening the web-based campaign editor. example: true readOnly: true title: Needs Block Refresh type: boolean position: description: The position of an Automation email in a workflow. readOnly: true title: Email Position type: integer recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/getting-started-with-groups/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object send_time: description: " The date and time a campaign was sent in ISO 8601 format" format: date-time readOnly: true title: Send Time type: string settings: description: Settings for the campaign including the email subject, from name, and from email address. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object start_time: description: The date and time the campaign was started in ISO 8601 format. format: date-time readOnly: true title: Start Time type: string status: description: The current status of the campaign. enum: - save - paused - sending readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [Click Tale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on a subscriber's email address. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object trigger_settings: description: Available triggers for Automation workflows. discriminator: propertyName: workflow_type properties: runtime: description: A workflow's runtime settings for an Automation. properties: days: description: The days an Automation workflow can send. items: enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday type: string title: Days type: array hours: description: The hours an Automation workflow can send. properties: type: description: When to send the Automation email. enum: - send_asap - send_between - send_at title: Email Send Time Settings type: string required: - type title: Hours type: object title: Automation Workflow Runtime Settings type: object workflow_emails_count: description: The number of emails in the Automation workflow. readOnly: true title: Workflow Emails Count type: integer workflow_title: description: The title of the workflow type. readOnly: true title: Workflow Title type: string workflow_type: description: The type of Automation workflow. enum: - abandonedBrowse - abandonedCart - api - bestCustomers - categoryFollowup - dateAdded - emailFollowup - emailSeries - groupAdd - groupRemove - mandrill - productFollowup - purchaseFollowup - recurringEvent - specialEvent - visitUrl - welcomeSeries title: Workflow Type type: string required: - workflow_type title: Automation Trigger type: object web_id: description: The ID used in the Mailchimp web application. View this automation in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. example: 33345484 readOnly: true title: Automation Web ID type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Automation Workflow Email type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Update workflow email tags: - automations x-custom-config: methodNameCamel: updateWorkflowEmail methodNameSnake: update_workflow_email "/automations/{workflow_id}/emails/{workflow_email_id}/actions/pause": post: deprecated: false description: Pause an automated email. operationId: postAutomationsIdEmailsIdActionsPause parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Pause automated email tags: - automations x-custom-config: methodNameCamel: pauseWorkflowEmail methodNameSnake: pause_workflow_email "/automations/{workflow_id}/emails/{workflow_email_id}/actions/start": post: deprecated: false description: Start an automated email. operationId: postAutomationsIdEmailsIdActionsStart parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Start automated email tags: - automations x-custom-config: methodNameCamel: startWorkflowEmail methodNameSnake: start_workflow_email "/automations/{workflow_id}/emails/{workflow_email_id}/queue": get: deprecated: false description: Get information about a classic automation email queue. operationId: getAutomationsIdEmailsIdQueue parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string responses: "200": content: application/json: schema: description: An automation workflow properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string queue: description: An array of objects, each representing a subscriber queue for an email in an Automation workflow. items: description: Information about subscribers in an Automation email queue. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string next_send: description: The date and time of the next send for the workflow email in ISO 8601 format. format: date-time readOnly: true title: Next Send type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string required: - email_address title: Subscriber in Automation Queue type: object readOnly: true title: Trigger type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string type: object application/problem+json: schema: description: An automation workflow properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string queue: description: An array of objects, each representing a subscriber queue for an email in an Automation workflow. items: description: Information about subscribers in an Automation email queue. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string next_send: description: The date and time of the next send for the workflow email in ISO 8601 format. format: date-time readOnly: true title: Next Send type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string required: - email_address title: Subscriber in Automation Queue type: object readOnly: true title: Trigger type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List automated email subscribers tags: - automations x-custom-config: methodNameCamel: getWorkflowEmailSubscriberQueue methodNameSnake: get_workflow_email_subscriber_queue post: deprecated: false description: Manually add a subscriber to a workflow, bypassing the default trigger settings. You can also use this endpoint to trigger a series of automated emails in an API 3.0 workflow type. operationId: postAutomationsIdEmailsIdQueue parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string requestBody: $ref: "#/components/requestBodies/postAutomationsIdEmailsIdQueueBody" responses: "200": content: application/json: schema: description: Information about subscribers in an Automation email queue. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean next_send: description: The date and time of the next send for the workflow email in ISO 8601 format. format: date-time readOnly: true title: Next Send type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber in Automation Queue type: object application/problem+json: schema: description: Information about subscribers in an Automation email queue. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean next_send: description: The date and time of the next send for the workflow email in ISO 8601 format. format: date-time readOnly: true title: Next Send type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber in Automation Queue type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Add subscriber to workflow email tags: - automations x-custom-config: methodNameCamel: addWorkflowEmailSubscriber methodNameSnake: add_workflow_email_subscriber "/automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash}": get: deprecated: false description: Get information about a specific subscriber in a classic automation email queue. operationId: getAutomationsIdEmailsIdQueueId parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The unique id for the Automation workflow email. in: path name: workflow_email_id required: true schema: type: string - description: The MD5 hash of the lowercase version of the list member's email address. in: path name: subscriber_hash required: true schema: type: string x-title: Subscriber Hash responses: "200": content: application/json: schema: description: Information about subscribers in an Automation email queue. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean next_send: description: The date and time of the next send for the workflow email in ISO 8601 format. format: date-time readOnly: true title: Next Send type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber in Automation Queue type: object application/problem+json: schema: description: Information about subscribers in an Automation email queue. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string email_id: description: A string that uniquely identifies an email in an Automation workflow. readOnly: true title: Automation Email ID type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean next_send: description: The date and time of the next send for the workflow email in ISO 8601 format. format: date-time readOnly: true title: Next Send type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber in Automation Queue type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get automated email subscriber tags: - automations x-custom-config: methodNameCamel: getWorkflowEmailSubscriber methodNameSnake: get_workflow_email_subscriber "/automations/{workflow_id}/removed-subscribers": get: deprecated: false description: Get information about subscribers who were removed from a classic automation workflow. operationId: getAutomationsIdRemovedSubscribers parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string responses: "200": content: application/json: schema: description: A summary of the subscribers who were removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array subscribers: description: An array of objects, each representing a subscriber who was removed from an Automation workflow. items: description: A summary of a subscriber removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber Removed from Automation Workflow type: object readOnly: true title: Trigger type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Removed Subscribers type: object application/problem+json: schema: description: A summary of the subscribers who were removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array subscribers: description: An array of objects, each representing a subscriber who was removed from an Automation workflow. items: description: A summary of a subscriber removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber Removed from Automation Workflow type: object readOnly: true title: Trigger type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Removed Subscribers type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List subscribers removed from workflow tags: - automations x-custom-config: methodNameCamel: listWorkflowEmailSubscribersRemoved methodNameSnake: list_workflow_email_subscribers_removed post: deprecated: false description: Remove a subscriber from a specific classic automation workflow. You can remove a subscriber at any point in an automation workflow, regardless of how many emails they've been sent from that workflow. Once they're removed, they can never be added back to the same workflow. operationId: postAutomationsIdRemovedSubscribers parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string requestBody: $ref: "#/components/requestBodies/postAutomationsIdEmailsIdQueueBody" responses: "200": content: application/json: schema: description: A summary of a subscriber removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber Removed from Automation Workflow type: object application/problem+json: schema: description: A summary of a subscriber removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber Removed from Automation Workflow type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Remove subscriber from workflow tags: - automations x-custom-config: methodNameCamel: removeWorkflowEmailSubscriber methodNameSnake: remove_workflow_email_subscriber "/automations/{workflow_id}/removed-subscribers/{subscriber_hash}": get: deprecated: false description: Get information about a specific subscriber who was removed from a classic automation workflow. operationId: getAutomationsIdRemovedSubscribersId parameters: - description: The unique id for the Automation workflow. in: path name: workflow_id required: true schema: type: string - description: The MD5 hash of the lowercase version of the list member's email address. in: path name: subscriber_hash required: true schema: type: string x-title: Subscriber Hash responses: "200": content: application/json: schema: description: A summary of a subscriber removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber Removed from Automation Workflow type: object application/problem+json: schema: description: A summary of a subscriber removed from an Automation workflow. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array email_address: description: The list member's email address. title: Email Address type: string id: description: The MD5 hash of the lowercase version of the list member's email address. readOnly: true title: Email Hash type: string list_id: description: A string that uniquely identifies a list. readOnly: true title: List ID type: string workflow_id: description: A string that uniquely identifies an Automation workflow. readOnly: true title: Workflow ID type: string title: Subscriber Removed from Automation Workflow type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get subscriber removed from workflow tags: - automations x-custom-config: methodNameCamel: getRemovedWorkflowEmailSubscriber methodNameSnake: get_removed_workflow_email_subscriber /batch-webhooks: get: deprecated: false description: Get all webhooks that have been configured for batches. operationId: getBatchWebhooks parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset responses: "200": content: application/json: schema: description: Manage webhooks for batch requests. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer webhooks: description: An array of objects, each representing a Batch Webhook. items: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object title: Webhooks type: array title: Batch Webhooks type: object application/problem+json: schema: description: Manage webhooks for batch requests. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer webhooks: description: An array of objects, each representing a Batch Webhook. items: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object title: Webhooks type: array title: Batch Webhooks type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List batch webhooks tags: - batchWebhooks x-custom-config: methodNameCamel: list methodNameSnake: list post: deprecated: false description: Configure a webhook that will fire whenever any batch request completes processing. You may only have a maximum of 20 batch webhooks. operationId: postBatchWebhooks requestBody: content: application/json: schema: description: Add a new Batch Webook. properties: enabled: description: Whether the webhook receives requests or not. example: true title: Enabled type: boolean url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook title: URL type: string required: - url title: Batch Webhook type: object required: true responses: "200": content: application/json: schema: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object application/problem+json: schema: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Add batch webhook tags: - batchWebhooks x-custom-config: methodNameCamel: create methodNameSnake: create "/batch-webhooks/{batch_webhook_id}": delete: deprecated: false description: Remove a batch webhook. Webhooks will no longer be sent to the given URL. operationId: deleteBatchWebhookId parameters: - description: The unique id for the batch webhook. in: path name: batch_webhook_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Delete batch webhook tags: - batchWebhooks x-custom-config: methodNameCamel: remove methodNameSnake: remove get: deprecated: false description: Get information about a specific batch webhook. operationId: getBatchWebhook parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the batch webhook. in: path name: batch_webhook_id required: true schema: type: string responses: "200": content: application/json: schema: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object application/problem+json: schema: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get batch webhook info tags: - batchWebhooks x-custom-config: methodNameCamel: get methodNameSnake: get patch: deprecated: false description: Update a webhook that will fire whenever any batch request completes processing. operationId: patchBatchWebhooks parameters: - description: The unique id for the batch webhook. in: path name: batch_webhook_id required: true schema: type: string requestBody: content: application/json: schema: description: Update an existing Batch Webook. properties: enabled: description: Whether the webhook receives requests or not. example: true title: Enabled type: boolean url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook title: URL type: string title: Batch Webhook type: object required: true responses: "200": content: application/json: schema: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object application/problem+json: schema: description: A webhook configured for batch status updates. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array enabled: description: Whether the webhook receives requests or not. example: true readOnly: false title: Enabled type: boolean id: description: A string that uniquely identifies this Batch Webhook. readOnly: true title: Batch Webhook ID type: string url: description: A valid URL for the Webhook. example: http://yourdomain.com/webhook readOnly: false title: URL type: string title: Batch Webhook type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Update batch webhook tags: - batchWebhooks x-custom-config: methodNameCamel: update methodNameSnake: update /batches: get: deprecated: false description: Get a summary of batch requests that have been made. operationId: getBatches parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset responses: "200": content: application/json: schema: description: A summary of batch requests that have been made. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array batches: description: An array of objects representing batch calls. items: description: The status of a batch request properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array completed_at: description: The date and time when all operations in the batch request completed in ISO 8601 format. format: date-time readOnly: true title: Completed At type: string errored_operations: description: The number of completed operations that returned an error. readOnly: true title: Error Operations type: integer finished_operations: description: The number of completed operations. This includes operations that returned an error. readOnly: true title: Finished Operations type: integer id: description: A string that uniquely identifies this batch request. readOnly: true title: Batch ID type: string response_body_url: description: The URL of the gzipped archive of the results of all the operations. readOnly: true title: Response Body URL type: string status: description: The status of the batch call. [Learn more](https://mailchimp.com/developer/marketing/guides/run-async-requests-batch-endpoint/#check-the-status-of-a-batch-operation) about the batch operation status. enum: - pending - preprocessing - started - finalizing - finished readOnly: true title: Status type: string submitted_at: description: The date and time when the server received the batch request in ISO 8601 format. format: date-time readOnly: true title: Submitted At type: string total_operations: description: The total number of operations to complete as part of this batch request. For GET requests requiring pagination, each page counts as a separate operation. readOnly: true title: Total Operations type: integer title: Batch type: object title: Batches type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer title: Batch Operations type: object application/problem+json: schema: description: A summary of batch requests that have been made. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array batches: description: An array of objects representing batch calls. items: description: The status of a batch request properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array completed_at: description: The date and time when all operations in the batch request completed in ISO 8601 format. format: date-time readOnly: true title: Completed At type: string errored_operations: description: The number of completed operations that returned an error. readOnly: true title: Error Operations type: integer finished_operations: description: The number of completed operations. This includes operations that returned an error. readOnly: true title: Finished Operations type: integer id: description: A string that uniquely identifies this batch request. readOnly: true title: Batch ID type: string response_body_url: description: The URL of the gzipped archive of the results of all the operations. readOnly: true title: Response Body URL type: string status: description: The status of the batch call. [Learn more](https://mailchimp.com/developer/marketing/guides/run-async-requests-batch-endpoint/#check-the-status-of-a-batch-operation) about the batch operation status. enum: - pending - preprocessing - started - finalizing - finished readOnly: true title: Status type: string submitted_at: description: The date and time when the server received the batch request in ISO 8601 format. format: date-time readOnly: true title: Submitted At type: string total_operations: description: The total number of operations to complete as part of this batch request. For GET requests requiring pagination, each page counts as a separate operation. readOnly: true title: Total Operations type: integer title: Batch type: object title: Batches type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer title: Batch Operations type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List batch requests tags: - batches x-custom-config: methodNameCamel: list methodNameSnake: list post: deprecated: false description: Begin processing a batch operations request. operationId: postBatches requestBody: content: application/json: schema: properties: operations: description: An array of objects that describes operations to perform. items: properties: body: description: A string containing the JSON body to use with the request. example: '{"title":"Test"}' title: Body type: string method: description: The HTTP method to use for the operation. enum: - GET - POST - PUT - PATCH - DELETE example: POST title: HTTP Method type: string operation_id: description: An optional client-supplied id returned with the operation results. example: my-id-123 title: Operation ID type: string params: description: 'Any request query parameters. Example parameters: {"count":10, "offset":0}' example: '{"count":10,"offset":0}' title: Query Parameters type: object path: description: The relative path to use for the operation. example: /lists title: Path type: string required: - method - path title: Operations type: object title: Operations List type: array required: - operations type: object required: true responses: "200": content: application/json: schema: description: The status of a batch request properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array completed_at: description: The date and time when all operations in the batch request completed in ISO 8601 format. format: date-time readOnly: true title: Completed At type: string errored_operations: description: The number of completed operations that returned an error. readOnly: true title: Error Operations type: integer finished_operations: description: The number of completed operations. This includes operations that returned an error. readOnly: true title: Finished Operations type: integer id: description: A string that uniquely identifies this batch request. readOnly: true title: Batch ID type: string response_body_url: description: The URL of the gzipped archive of the results of all the operations. readOnly: true title: Response Body URL type: string status: description: The status of the batch call. [Learn more](https://mailchimp.com/developer/marketing/guides/run-async-requests-batch-endpoint/#check-the-status-of-a-batch-operation) about the batch operation status. enum: - pending - preprocessing - started - finalizing - finished readOnly: true title: Status type: string submitted_at: description: The date and time when the server received the batch request in ISO 8601 format. format: date-time readOnly: true title: Submitted At type: string total_operations: description: The total number of operations to complete as part of this batch request. For GET requests requiring pagination, each page counts as a separate operation. readOnly: true title: Total Operations type: integer title: Batch type: object application/problem+json: schema: description: The status of a batch request properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array completed_at: description: The date and time when all operations in the batch request completed in ISO 8601 format. format: date-time readOnly: true title: Completed At type: string errored_operations: description: The number of completed operations that returned an error. readOnly: true title: Error Operations type: integer finished_operations: description: The number of completed operations. This includes operations that returned an error. readOnly: true title: Finished Operations type: integer id: description: A string that uniquely identifies this batch request. readOnly: true title: Batch ID type: string response_body_url: description: The URL of the gzipped archive of the results of all the operations. readOnly: true title: Response Body URL type: string status: description: The status of the batch call. [Learn more](https://mailchimp.com/developer/marketing/guides/run-async-requests-batch-endpoint/#check-the-status-of-a-batch-operation) about the batch operation status. enum: - pending - preprocessing - started - finalizing - finished readOnly: true title: Status type: string submitted_at: description: The date and time when the server received the batch request in ISO 8601 format. format: date-time readOnly: true title: Submitted At type: string total_operations: description: The total number of operations to complete as part of this batch request. For GET requests requiring pagination, each page counts as a separate operation. readOnly: true title: Total Operations type: integer title: Batch type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Start batch operation tags: - batches x-custom-config: methodNameCamel: start methodNameSnake: start "/batches/{batch_id}": delete: deprecated: false description: Stops a batch request from running. Since only one batch request is run at a time, this can be used to cancel a long running request. The results of any completed operations will not be available after this call. operationId: deleteBatchesId parameters: - description: The unique id for the batch operation. in: path name: batch_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Delete batch request tags: - batches x-custom-config: methodNameCamel: deleteRequest methodNameSnake: delete_request get: deprecated: false description: Get the status of a batch request. operationId: getBatchesId parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the batch operation. in: path name: batch_id required: true schema: type: string responses: "200": content: application/json: schema: description: The status of a batch request properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array completed_at: description: The date and time when all operations in the batch request completed in ISO 8601 format. format: date-time readOnly: true title: Completed At type: string errored_operations: description: The number of completed operations that returned an error. readOnly: true title: Error Operations type: integer finished_operations: description: The number of completed operations. This includes operations that returned an error. readOnly: true title: Finished Operations type: integer id: description: A string that uniquely identifies this batch request. readOnly: true title: Batch ID type: string response_body_url: description: The URL of the gzipped archive of the results of all the operations. readOnly: true title: Response Body URL type: string status: description: The status of the batch call. [Learn more](https://mailchimp.com/developer/marketing/guides/run-async-requests-batch-endpoint/#check-the-status-of-a-batch-operation) about the batch operation status. enum: - pending - preprocessing - started - finalizing - finished readOnly: true title: Status type: string submitted_at: description: The date and time when the server received the batch request in ISO 8601 format. format: date-time readOnly: true title: Submitted At type: string total_operations: description: The total number of operations to complete as part of this batch request. For GET requests requiring pagination, each page counts as a separate operation. readOnly: true title: Total Operations type: integer title: Batch type: object application/problem+json: schema: description: The status of a batch request properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array completed_at: description: The date and time when all operations in the batch request completed in ISO 8601 format. format: date-time readOnly: true title: Completed At type: string errored_operations: description: The number of completed operations that returned an error. readOnly: true title: Error Operations type: integer finished_operations: description: The number of completed operations. This includes operations that returned an error. readOnly: true title: Finished Operations type: integer id: description: A string that uniquely identifies this batch request. readOnly: true title: Batch ID type: string response_body_url: description: The URL of the gzipped archive of the results of all the operations. readOnly: true title: Response Body URL type: string status: description: The status of the batch call. [Learn more](https://mailchimp.com/developer/marketing/guides/run-async-requests-batch-endpoint/#check-the-status-of-a-batch-operation) about the batch operation status. enum: - pending - preprocessing - started - finalizing - finished readOnly: true title: Status type: string submitted_at: description: The date and time when the server received the batch request in ISO 8601 format. format: date-time readOnly: true title: Submitted At type: string total_operations: description: The total number of operations to complete as part of this batch request. For GET requests requiring pagination, each page counts as a separate operation. readOnly: true title: Total Operations type: integer title: Batch type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get batch operation status tags: - batches x-custom-config: methodNameCamel: status methodNameSnake: status /campaign-folders: get: deprecated: false description: Get all folders used to organize campaigns. operationId: getCampaignFolders parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset responses: "200": content: application/json: schema: description: A list of campaign folders properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array folders: description: An array of objects representing campaign folders. items: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object title: Campaign Folders type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer title: Campaign Folders type: object application/problem+json: schema: description: A list of campaign folders properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array folders: description: An array of objects representing campaign folders. items: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object title: Campaign Folders type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer title: Campaign Folders type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List campaign folders tags: - campaignFolders x-custom-config: methodNameCamel: list methodNameSnake: list post: deprecated: false description: Create a new campaign folder. operationId: postCampaignFolders requestBody: $ref: "#/components/requestBodies/postCampaignFoldersBody" responses: "200": content: application/json: schema: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object application/problem+json: schema: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Add campaign folder tags: - campaignFolders x-custom-config: methodNameCamel: create methodNameSnake: create "/campaign-folders/{folder_id}": delete: deprecated: false description: Delete a specific campaign folder, and mark all the campaigns in the folder as 'unfiled'. operationId: deleteCampaignFoldersId parameters: - description: The unique id for the campaign folder. in: path name: folder_id required: true schema: type: string responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Delete campaign folder tags: - campaignFolders x-custom-config: methodNameCamel: remove methodNameSnake: remove get: deprecated: false description: Get information about a specific folder used to organize campaigns. operationId: getCampaignFoldersId parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the campaign folder. in: path name: folder_id required: true schema: type: string responses: "200": content: application/json: schema: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object application/problem+json: schema: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get campaign folder tags: - campaignFolders x-custom-config: methodNameCamel: get methodNameSnake: get patch: deprecated: false description: Update a specific folder used to organize campaigns. operationId: patchCampaignFoldersId parameters: - description: The unique id for the campaign folder. in: path name: folder_id required: true schema: type: string requestBody: $ref: "#/components/requestBodies/postCampaignFoldersBody" responses: "200": content: application/json: schema: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object application/problem+json: schema: description: A folder used to organize campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array count: description: The number of campaigns in the folder. readOnly: true title: Campaign Count type: integer id: description: A string that uniquely identifies this campaign folder. readOnly: true title: Folder Id type: string name: description: The name of the folder. title: Folder Name type: string title: Campaign Folder type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Update campaign folder tags: - campaignFolders x-custom-config: methodNameCamel: update methodNameSnake: update /campaigns: get: deprecated: false description: Get all campaigns in an account. operationId: getCampaigns parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The number of records to return. Default value is 10. Maximum value is 1000 in: query name: count required: false schema: default: 10 maximum: 1000 type: integer x-title: Count - description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0. in: query name: offset required: false schema: default: 0 type: integer x-title: Offset - description: The campaign type. in: query name: type required: false schema: enum: - regular - plaintext - absplit - rss - variate type: string x-title: Campaign Type - description: The status of the campaign. in: query name: status required: false schema: enum: - save - paused - schedule - sending - sent type: string x-title: Status - description: "Restrict the response to campaigns sent before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: before_send_time required: false schema: format: date-time type: string x-title: Before Send Time - description: "Restrict the response to campaigns sent after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: since_send_time required: false schema: format: date-time type: string x-title: Since Send Time - description: "Restrict the response to campaigns created before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: before_create_time required: false schema: format: date-time type: string x-title: Before Create Time - description: "Restrict the response to campaigns created after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00." in: query name: since_create_time required: false schema: format: date-time type: string x-title: Since Create Time - description: The unique id for the list. in: query name: list_id required: false schema: type: string x-title: List ID - description: The unique folder id. in: query name: folder_id required: false schema: type: string x-title: Folder ID - description: Retrieve campaigns sent to a particular list member. Member ID is The MD5 hash of the lowercase version of the list member’s email address. in: query name: member_id required: false schema: type: string x-title: Member ID - description: Returns files sorted by the specified field. in: query name: sort_field required: false schema: enum: - create_time - send_time type: string x-title: Sort By Field - description: Determines the order direction for sorted results. in: query name: sort_dir required: false schema: enum: - ASC - DESC type: string x-title: Sort Direction responses: "200": content: application/json: schema: description: An array of campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array campaigns: description: An array of campaigns. items: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object title: Campaigns type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object application/problem+json: schema: description: An array of campaigns. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array campaigns: description: An array of campaigns. items: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object title: Campaigns type: array total_items: description: The total number of items matching the query regardless of pagination. readOnly: true title: Item Count type: integer type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: List campaigns tags: - campaigns x-custom-config: methodNameCamel: list methodNameSnake: list post: deprecated: false description: Create a new Mailchimp campaign. operationId: postCampaigns requestBody: content: application/json: schema: description: A summary of an individual campaign's settings and content. properties: content_type: description: How the campaign's content is put together. The old drag and drop editor uses 'template' while the new editor uses 'multichannel'. Defaults to template. enum: - template - multichannel example: template title: Content Type type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object required: - list_id title: List type: object rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options, specific to an RSS campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object required: - feed_url - frequency title: RSS Options type: object settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: "The reply-to email address for the campaign. Note: while this field is not required for campaign creation, it is required for sending." title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id of the template to use. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string required: - winner_criteria title: A/B Test Options type: object required: - type title: Campaign type: object required: true responses: "200": content: application/json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object application/problem+json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Add campaign tags: - campaigns x-custom-config: methodNameCamel: create methodNameSnake: create "/campaigns/{campaign_id}": delete: deprecated: false description: Remove a campaign from your Mailchimp account. operationId: deleteCampaignsId parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Delete campaign tags: - campaigns x-custom-config: methodNameCamel: remove methodNameSnake: remove get: deprecated: false description: Get information about a specific campaign. operationId: getCampaignsId parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "200": content: application/json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object application/problem+json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Get campaign info tags: - campaigns x-custom-config: methodNameCamel: get methodNameSnake: get patch: description: Update some or all of the settings for a specific campaign. operationId: patchCampaignsId parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID requestBody: content: application/json: schema: description: A summary of an individual campaign's settings and content. properties: recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object required: - list_id title: List type: object rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object required: - feed_url - frequency title: RSS Options type: object settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id of the template to use. title: Template ID type: integer title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean required: - subject_line - from_name - reply_to title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object variate_settings: description: The settings specific to A/B test campaigns. properties: from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string required: - winner_criteria title: A/B Test Options type: object required: - settings title: Campaign type: object required: true responses: "200": content: application/json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object application/problem+json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version in ISO 8601 format. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together. enum: - template - html - url - multichannel title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_is_active: description: The status of the list used, namely if it's deleted or disabled. readOnly: true title: List Status type: boolean list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/create-and-send-to-a-segment/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string title: List type: object report_summary: description: For sent campaigns, a summary of opens, clicks, and e-commerce data. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-defaults/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object title: RSS Options type: object send_time: description: The date and time a campaign was sent. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: false title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage out-of-office replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer title: Campaign type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Update campaign settings tags: - campaigns x-custom-config: methodNameCamel: update methodNameSnake: update "/campaigns/{campaign_id}/actions/cancel-send": post: deprecated: false description: Cancel a Regular or Plain-Text Campaign after you send, before all of your recipients receive it. This feature is included with Mailchimp Pro. operationId: postCampaignsIdActionsCancelSend parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Cancel campaign tags: - campaigns x-custom-config: methodNameCamel: cancelSend methodNameSnake: cancel_send x-pro-required: true "/campaigns/{campaign_id}/actions/create-resend": post: deprecated: false description: Creates a Resend to Non-Openers version of this campaign. We will also check if this campaign meets the criteria for Resend to Non-Openers campaigns. operationId: postCampaignsIdActionsCreateResend parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "200": content: application/json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/save-and-manage-segments/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string required: - list_id title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-details/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object required: - feed_url - frequency title: RSS Options type: object send_time: description: The date and time a campaign was sent in ISO 8601 format. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: true title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string required: - winner_criteria title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer required: - type title: Campaign type: object application/problem+json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/save-and-manage-segments/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string required: - list_id title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-details/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object required: - feed_url - frequency title: RSS Options type: object send_time: description: The date and time a campaign was sent in ISO 8601 format. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: true title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string required: - winner_criteria title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer required: - type title: Campaign type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Resend campaign tags: - campaigns x-custom-config: methodNameCamel: createResend methodNameSnake: create_resend x-pro-required: true "/campaigns/{campaign_id}/actions/pause": post: deprecated: false description: Pause an RSS-Driven campaign. operationId: postCampaignsIdActionsPause parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Pause rss campaign tags: - campaigns x-custom-config: methodNameCamel: pause methodNameSnake: pause "/campaigns/{campaign_id}/actions/replicate": post: deprecated: false description: Replicate a campaign in saved or send status. operationId: postCampaignsIdActionsReplicate parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "200": content: application/json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/save-and-manage-segments/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string required: - list_id title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-details/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object required: - feed_url - frequency title: RSS Options type: object send_time: description: The date and time a campaign was sent in ISO 8601 format. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: true title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string required: - winner_criteria title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer required: - type title: Campaign type: object application/problem+json: schema: description: A summary of an individual campaign's settings and content. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array ab_split_opts: description: "[A/B Testing](https://mailchimp.com/help/about-ab-testing-campaigns/) options for a campaign." properties: from_name_a: description: For campaigns split on 'From Name', the name for Group A. title: From Name Group A type: string from_name_b: description: For campaigns split on 'From Name', the name for Group B. title: From Name Group B type: string pick_winner: description: How we should evaluate a winner. Based on 'opens', 'clicks', or 'manual'. enum: - opens - clicks - manual title: Pick Winner type: string reply_email_a: description: For campaigns split on 'From Name', the reply-to address for Group A. title: Reply Email Group A type: string reply_email_b: description: For campaigns split on 'From Name', the reply-to address for Group B. title: Reply Email Group B type: string send_time_a: description: The send time for Group A. format: date-time title: Send Time Group A type: string send_time_b: description: The send time for Group B. format: date-time title: Send Time Group B type: string send_time_winner: description: The send time for the winning version. title: Send Time Winner type: string split_size: description: The size of the split groups. Campaigns split based on 'schedule' are forced to have a 50/50 split. Valid split integers are between 1-50. maximum: 50 minimum: 1 title: Split Size type: integer split_test: description: The type of AB split to run. enum: - subject - from_name - schedule title: Split Test type: string subject_a: description: For campaigns split on 'Subject Line', the subject line for Group A. title: Subject Line Group A type: string subject_b: description: For campaigns split on 'Subject Line', the subject line for Group B. title: Subject Line Group B type: string wait_time: description: The amount of time to wait before picking a winner. This cannot be changed after a campaign is sent. title: Wait Time type: integer wait_units: description: How unit of time for measuring the winner ('hours' or 'days'). This cannot be changed after a campaign is sent. enum: - hours - days title: Wait Time type: string readOnly: true title: A/B Testing Options type: object archive_url: description: The link to the campaign's archive version. readOnly: true title: Archive URL type: string content_type: description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url'). readOnly: true title: Content Type type: string create_time: description: The date and time the campaign was created in ISO 8601 format. format: date-time readOnly: true title: Create Time type: string delivery_status: description: Updates on campaigns in the process of sending. properties: can_cancel: description: Whether a campaign send can be canceled. readOnly: true title: Campaign Cancelable type: boolean emails_canceled: description: The total number of emails canceled for this campaign. readOnly: true title: Emails Canceled type: integer emails_sent: description: The total number of emails confirmed sent for this campaign so far. readOnly: true title: Emails Sent type: integer enabled: description: Whether Campaign Delivery Status is enabled for this account and campaign. readOnly: true title: Delivery Status Enabled type: boolean status: description: The current state of a campaign delivery. enum: - delivering - delivered - canceling - canceled readOnly: true title: Campaign Delivery Status type: string title: Campaign Delivery Status type: object emails_sent: description: The total number of emails sent for this campaign. readOnly: true title: Emails Sent type: integer id: description: A string that uniquely identifies this campaign. readOnly: true title: Campaign ID type: string long_archive_url: description: The original link to the campaign's archive version. readOnly: true title: Long Archive URL type: string needs_block_refresh: description: Determines if the campaign needs its blocks refreshed by opening the web-based campaign editor. Deprecated and will always return false. readOnly: true title: Needs Block Refresh type: boolean parent_campaign_id: description: If this campaign is the child of another campaign, this identifies the parent campaign. For Example, for RSS or Automation children. readOnly: true title: Parent Campaign ID type: string recipients: description: List settings for the campaign. properties: list_id: description: The unique list id. title: List ID type: string list_name: description: The name of the list. readOnly: true title: List Name type: string recipient_count: description: Count of the recipients on the associated list. Formatted as an integer. readOnly: true title: Recipient Count type: integer segment_opts: description: An object representing all segmentation options. This object should contain a `saved_segment_id` to use an existing segment, or you can create a new segment by including both `match` and `conditions` options. properties: conditions: description: Segment match conditions. There are multiple possible types, see the [condition types documentation](https://mailchimp.com/developer/marketing/docs/alternative-schemas/#segment-condition-schemas). items: discriminator: propertyName: condition_type type: string oneOf: - description: Segment by interaction with a specific campaign. properties: condition_type: enum: - Aim type: string x-value: Aim field: description: Segment by interaction with a specific campaign. enum: - aim example: aim title: Segment Field type: string op: description: "The status of the member with regard to their campaign interaction. One of the following: opened, clicked, was sent, didn't open, didn't click, or was not sent." enum: - open - click - sent - noopen - noclick - nosent example: open title: Segment Operator type: string value: description: Either the web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string title: Aim Segment type: object - description: Segment by interaction with an Automation workflow. properties: condition_type: enum: - Automation type: string x-value: Automation field: description: Segment by interaction with an Automation workflow. enum: - automation example: automation title: Segment Field type: string op: description: "The status of the member with regard to the automation workflow. One of the following: has started the workflow, has completed the workflow, has not started the workflow, or has not completed the workflow." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The web id for the automation workflow to segment against. example: "2135217" title: Segment Data type: string required: - field - op - value title: Automation Segment type: object - description: Segment by poll activity. properties: condition_type: enum: - CampaignPoll type: string x-value: CampaignPoll field: description: Segment by poll activity. enum: - poll example: poll title: Segment Field type: string op: description: Members have/have not interacted with a specific poll in a Mailchimp email. enum: - member - notmember example: member title: Segment Operator type: string value: description: The id for the poll. example: 409 title: Segment Operator type: number required: - field - op - value title: Poll Activity Segment type: object - description: Segment by interaction with a campaign via Conversations. properties: condition_type: enum: - Conversation type: string x-value: Conversation field: description: Segment by interaction with a campaign via Conversations. enum: - conversation example: conversation title: Segment Field type: string op: description: "The status of a member's interaction with a conversation. One of the following: has replied or has not replied." enum: - member - notmember example: member title: Segment Operator type: string value: description: The web id value for a specific campaign or 'any' to account for subscribers who have/have not interacted with any campaigns. example: any title: Segment Data type: string required: - field - op - value title: Conversation Segment type: object - description: Segment by a specific date field. properties: condition_type: enum: - Date type: string x-value: Date extra: description: When segmenting on 'date' or 'campaign', the date for the segment formatted as YYYY-MM-DD or the web id for the campaign. example: 2015-01-30 title: Segment Extra Value type: string field: description: "The type of date field to segment on: The opt-in time for a signup, the date the subscriber was last updated, or the date of their last ecomm purchase." enum: - timestamp_opt - info_changed - ecomm_date example: timestamp_opt title: Segment Field type: string op: description: "When the event took place: Before, after, is a specific date, is not a specific date, is blank, or is not blank." enum: - greater - less - is - not - blank - blank_not - within - notwithin example: greater title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." example: date title: Segment Data type: string required: - field - op - value title: Date Segment type: object - description: Segment by use of a particular email client. properties: condition_type: enum: - EmailClient type: string x-value: EmailClient field: description: Segment by use of a particular email client. enum: - email_client example: email_client title: Segment Field type: string op: description: The operation to determine whether we select clients that match the value, or clients that do not match the value. enum: - client_is - client_not example: client_is title: Segment Operator type: string value: description: The name of the email client. example: Gmail title: Segment Data type: string required: - field - op - value title: Email Client Segment type: object - description: Segment by language. properties: condition_type: enum: - Language type: string x-value: Language field: description: Segmenting based off of a subscriber's language. enum: - language example: language title: Segment Field type: string op: description: Whether the member's language is or is not set to a specific language. enum: - is - not example: is title: Segment Operator type: string value: description: A two-letter language identifier. example: en title: Segment Data type: string required: - field - op - value title: Language Segment type: object - description: Segment by member rating. properties: condition_type: enum: - MemberRating type: string x-value: MemberRating field: description: Segment by member rating. enum: - rating example: rating title: Segment Field type: string op: description: Members who have have a rating that is/not exactly a given number or members who have a rating greater/less than a given number. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The star rating number to segment against. example: 4 title: Segment Operator type: number required: - field - op - value title: Member Rating Segment type: object - description: Segment by signup source. properties: condition_type: enum: - SignupSource title: Type type: string x-value: SignupSource field: enum: - source example: source title: Segment Field type: string op: description: Whether the member's signup source was/was not a particular value. enum: - source_is - source_not example: source_is title: Segment Operator type: string value: description: The signup source. example: List Import title: Segment Data type: string required: - field - condition_type - op title: Signup Source Segment type: object - description: Segment by interaction with a SurveyMonkey survey. properties: condition_type: enum: - SurveyMonkey type: string x-value: SurveyMonkey field: description: Segment by interaction with a SurveyMonkey survey. enum: - survey_monkey example: survey_monkey title: Segment Field type: string op: description: "The status of the member with regard to the survey.One of the following: has started the survey, has completed the survey, has not started the survey, or has not completed the survey." enum: - started - completed - not_started - not_completed example: started title: Segment Operator type: string value: description: The unique ID of the survey monkey survey. example: "32179586" title: Survey ID type: string required: - field - op - value title: Survey Monkey Segment type: object - description: Segment by VIP status. properties: condition_type: enum: - VIP type: string x-value: VIP field: description: Segment by VIP status. enum: - gmonkey example: gmonkey title: Segment Field type: string op: description: Whether the member is or is not marked as VIP. enum: - member - notmember example: member title: Segment Operator type: string required: - field - op title: VIP Segment type: object - description: Segment by an interest group merge field. properties: condition_type: enum: - Interests type: string x-value: Interests field: description: Segmenting based on interest group information. This should start with 'interests-' followed by the grouping id. Ex. 'interests-123'. example: interests-123 title: Segment Field type: string op: description: Whether the member is a part of one, all, or none of the groups. enum: - interestcontains - interestcontainsall - interestnotcontains example: interestcontains title: Segment Operator type: string value: description: An array containing strings, each representing a group id. items: example: - "44401" - "44405" - "44409" type: string title: Segment Value type: array title: Interests Segment type: object - description: Segment by purchases in specific items or categories. properties: condition_type: enum: - EcommCategory type: string x-value: EcommCategory field: description: Segment by purchases in specific items or categories. enum: - ecomm_cat - ecomm_prod example: ecomm_cat title: Segment Field type: string op: description: A member who has purchased from a category/specific item that is/is not a specific name, where the category/item name contains/doesn't contain a specific phrase or string, or a category/item name that starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends example: is title: Segment Operator type: string value: description: The ecommerce category/item information. example: Product title: Segment Data type: string title: Ecommerce Category Segment type: object - description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. properties: condition_type: enum: - EcommNumber type: string x-value: EcommNumber field: description: Segment by average spent total, number of orders, total number of products purchased, or average number of products per order. enum: - ecomm_spent_avg - ecomm_orders - ecomm_prod_all - ecomm_avg_ord example: ecomm_orders title: Segment Field type: string op: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than the segment value. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: Members who have spent exactly, have not spent exactly, spent more, or spent less than this amount. example: 42 title: Segment Operator type: number required: - field - op - value title: Ecommerce Number Segment type: object - description: Segment by whether someone has purchased anything. properties: condition_type: enum: - EcommPurchased type: string x-value: EcommPurchased field: description: Segment by whether someone has purchased anything. enum: - ecomm_purchased example: ecomm_purchased title: Segment Field type: string op: description: Members who have have ('member') or have not ('notmember') purchased. enum: - member - notmember example: member title: Segment Operator type: string title: Ecommerce Purchased Segment type: object - description: Segment by amount spent on a single order or across all orders. properties: condition_type: enum: - EcommSpent type: string x-value: EcommSpent field: description: Segment by amount spent on a single order or across all orders. enum: - ecomm_spent_one - ecomm_spent_all example: ecomm_spent_one title: Segment Field type: string op: description: Members who have spent 'more' or 'less' than then specified value. enum: - greater - less example: greater title: Segment Operator type: string value: description: The total amount a member spent. example: 42 title: Segment Data type: integer title: Ecommerce Spent Segment type: object - description: Segment by purchases from a specific store. properties: condition_type: enum: - EcommStore type: string x-value: EcommStore field: description: Segment by purchases from a specific store. enum: - ecomm_store example: ecomm_store title: Segment Field type: string op: description: Members who have or have not purchased from a specific store. enum: - is - not example: is title: Segment Operator type: string value: description: The store id to segment against. example: "289" title: Segment Operator type: string title: Ecommerce Purchased Store Segment type: object - description: Segment by Goal activity. properties: condition_type: enum: - GoalActivity type: string x-value: GoalActivity field: description: Segment by Goal activity. enum: - goal example: goal title: Segment Field type: string op: description: Whether the website URL is/not exactly, contains/doesn't contain, starts with/ends with a string. enum: - is - goal_not - contains - goal_notcontain - starts - ends example: is title: Segment Operator type: string value: description: The URL to check Goal activity against. title: Segment Value type: string required: - field - op - value title: Goal Activity Segment type: object - description: Segment by most recent interaction with a website. properties: condition_type: enum: - GoalTimestamp type: string x-value: GoalTimestamp field: description: Segment by most recent interaction with a website. enum: - goal_last_visited example: goal_last_visited title: Segment Field type: string op: description: Whether the website activity happened after, before, or at a given timestamp. enum: - greater - less - is example: greater title: Segment Operator type: string value: description: The date to check Goal activity against. example: 2015-07-20 19:45:21 title: Segment Value type: string required: - field - op - value title: Goal Timestamp Segment type: object - description: Segment by similar subscribers. properties: condition_type: enum: - FuzzySegment type: string x-value: FuzzySegment field: description: Segment by similar subscribers. enum: - fuzzy_segment example: fuzzy_segment title: Segment Field type: string op: description: Members who are/are not apart of a 'similar subscribers' segment. enum: - fuzzy_is - fuzzy_not example: fuzzy_is title: Segment Operator type: string value: description: The id for the 'similar subscribers' segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Similar Subscribers Segment Member Segment type: object - description: Segment by a given static segment. properties: condition_type: enum: - StaticSegment type: string x-value: StaticSegment field: description: Segment by a given static segment. enum: - static_segment example: static_segment title: Segment Field type: string op: description: Members who are/are not apart of a static segment. enum: - static_is - static_not example: static_is title: Segment Operator type: string value: description: The id for the static segment. example: 48433 title: Segment Operator type: number required: - field - op - value title: Static Segment Member Segment type: object - description: Segment by a specific country or US state. properties: condition_type: enum: - IPGeoCountryState type: string x-value: IPGeoCountryState field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific country or US state. enum: - ipgeocountry - ipgeonotcountry - ipgeostate - ipgeonotstate example: ipgeocountry title: Segment Operator type: string value: description: The two-letter country code or US state abbreviation. example: US title: Segment Data type: string required: - field - op - value title: Location-Based Segment type: object - description: Segment by a specific geographic region. properties: addr: description: The address of the target location. example: Atlanta, GA, USA title: Segment Location Address type: string condition_type: enum: - IPGeoIn type: string x-value: IPGeoIn field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string lat: description: The latitude of the target location. example: "33.7489954" title: Segment Location Latitude type: string lng: description: The longitude of the target location. example: "-84.3879824" title: Segment Location Longitude type: string op: description: Segment members who are within a specific geographic region. enum: - ipgeoin - ipgeonotin example: ipgeoin title: Segment Operator type: string value: description: The radius of the target location. example: 42 title: Segment Data type: integer required: - field - op - value - addr - lat - lng title: Geolocation Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoInZip type: string x-value: IPGeoInZip extra: description: The zip code to segment against. example: 30318 title: Extra Data type: integer field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are within a specific US zip code. enum: - ipgeoinzip example: ipgeoinzip title: Segment Operator type: string value: description: The radius of the target location. example: 25 title: Segment Data type: integer required: - field - op - value - extra title: US Zip Code Segment type: object - description: Segment members whose location information is unknown. properties: condition_type: enum: - IPGeoUnknown type: string x-value: IPGeoUnknown field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members for which location information is unknown. enum: - ipgeounknown example: ipgeounknown title: Segment Operator type: string required: - field - op title: Unknown Location-Based Segment type: object - description: Segment by a specific US ZIP code. properties: condition_type: enum: - IPGeoZip type: string x-value: IPGeoZip field: description: Segmenting subscribers who are within a specific location. enum: - ipgeo example: ipgeo title: Segment Field type: string op: description: Segment members who are/are not within a specific US zip code. enum: - ipgeoiszip - ipgeonotzip example: ipgeonotzip title: Segment Operator type: string value: description: The 5-digit zip code. example: 30318 title: Segment Data type: integer required: - field - op - value title: Zip Code Location-Based Segment type: object - description: Segment by age ranges in Social Profiles data. properties: condition_type: enum: - SocialAge type: string x-value: SocialAge field: description: Segment by age ranges in Social Profiles data. enum: - social_age example: social_age title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The age range to segment. enum: - 18-24 - 25-34 - 35-54 - 55+ example: 35-54 title: Segment Operator type: string required: - field - op - value title: Social Profiles Age Segment type: object - description: Segment by listed gender in Social Profiles data. properties: condition_type: enum: - SocialGender type: string x-value: SocialGender field: description: Segment by listed gender in Social Profiles data. enum: - social_gender example: social_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The Social Profiles gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Social Profiles Gender Segment type: object - description: Segment by influence rating in Social Profiles data. properties: condition_type: enum: - SocialInfluence type: string x-value: SocialInfluence field: description: Segment by influence rating in Social Profiles data. enum: - social_influence example: social_influence title: Segment Field type: string op: description: Members who have a rating that is/not or greater/less than the rating provided. enum: - is - not - greater - less example: greater title: Segment Operator type: string value: description: The Social Profiles influence rating to segment. example: 2 title: Segment Operator type: number required: - field - op - value title: Social Profiles Influence Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkMember type: string x-value: SocialNetworkMember field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not on a given social network. enum: - member - notmember example: member title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter - facebook - linkedin - flickr - foursquare - lastfm - myspace - quora - vimeo - yelp - youtube example: twitter title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Segment type: object - description: Segment by social network in Social Profiles data. properties: condition_type: enum: - SocialNetworkFollow type: string x-value: SocialNetworkFollow field: description: Segment by social network in Social Profiles data. enum: - social_network example: social_network title: Segment Field type: string op: description: Members who are/not following a linked account on a given social network. enum: - follow - notfollow example: follow title: Segment Operator type: string value: description: The social network to segment against. enum: - twitter_follow example: twitter_follow title: Segment Operator type: string required: - field - op - value title: Social Profiles Social Network Follow Segment type: object - description: Segment by an address-type merge field. properties: condition_type: enum: - AddressMerge type: string x-value: AddressMerge field: description: An address-type merge field to segment. example: MMERGE3 title: Segment Field type: string op: description: Whether the member's address merge field contains/does not contain a value or is/is not blank. enum: - contains - notcontain - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Atlanta title: Segment Value type: string required: - field - op title: Address Merge Field Segment type: object - description: Segment by an address-type merge field within a given distance. properties: condition_type: enum: - ZipMerge type: string x-value: ZipMerge extra: description: The city or the zip being used to segment against. example: "30318" title: Segment Extra type: string field: description: An address or zip-type merge field to segment. example: MMERGE2 title: Segment Field type: string op: description: Whether the member's address merge field is within a given distance from a city or zip. enum: - geoin example: geoin title: Segment Operator type: string value: description: The distance from the city/zip. example: "25" title: Segment Value type: string required: - field - op - value - extra title: Address/Zip Merge Field Segment type: object - description: Segment by a contact's birthday. properties: condition_type: enum: - BirthdayMerge type: string x-value: BirthdayMerge field: description: A date merge field to segment. example: MMERGE4 title: Segment Field type: string op: description: Whether the member's birthday merge information is/is not a certain date or is/is not blank. enum: - is - not - blank - blank_not example: is title: Segment Operator type: string value: description: A date to segment against (mm/dd). example: 01/30 title: Segment Value type: string required: - field - op title: Birthday Merge Field Segment type: object - description: Segment by a given date merge field. properties: condition_type: enum: - DateMerge type: string x-value: DateMerge field: description: A date merge field to segment. example: MMERGE5 title: Segment Field type: string op: description: Whether the member's merge information is/is not, is greater/less than a value or is/is not blank. enum: - is - not - less - blank - blank_not - greater example: is title: Segment Operator type: string value: description: A date to segment against. example: 01/30/2015 title: Segment Value type: string required: - field - op title: Date Merge Field Segment type: object - description: An individual segment condition properties: condition_type: enum: - SelectMerge type: string x-value: SelectMerge field: description: A merge field to segment. example: MMERGE6 title: Segment Field type: string op: description: Whether the member's merge information is/is not a value or is/is not blank. enum: - is - not - blank - blank_not - notcontain - contains example: is title: Segment Operator type: string value: description: The value to segment a text merge field with. example: Second Choice title: Segment Value type: string required: - field - op title: Dropdown/Radio Merge Field Segment type: object - description: Segment by a given text or number merge field. properties: condition_type: enum: - TextMerge type: string x-value: TextMerge field: description: A text or number merge field to segment. example: MMERGE7 title: Segment Field type: string op: description: Whether the member's merge information is/is not, contains/does not contain, starts/ends with, or is greater/less than a value enum: - is - not - contains - notcontain - starts - ends - greater - less - blank - blank_not example: contains title: Segment Operator type: string value: description: The value to segment a text or number merge field with. example: Freddie's Jokes title: Segment Value type: string required: - field - op title: Text or Number Merge Field Segment type: object - description: Segment by email address. properties: condition_type: enum: - EmailAddress type: string x-value: EmailAddress field: description: Segmenting based off of a subscriber's email address. enum: - merge0 - EMAIL example: EMAIL title: Segment Field type: string op: description: Whether the email address is/not exactly, contains/doesn't contain, starts/ends with a string. enum: - is - not - contains - notcontain - starts - ends - greater - less title: Segment Operator type: string value: description: The value to compare the email against. example: urist.mcvankab@freddiesjokes.com title: Segment Value type: string required: - field - op title: Email Segment type: object - description: Segment by predicted gender. properties: condition_type: enum: - PredictedGender type: string x-value: PredictedGender field: description: Segment by predicted gender. enum: - predicted_gender title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is - not example: is title: Segment Operator type: string value: description: The predicted gender to segment. enum: - male - female example: female title: Segment Operator type: string required: - field - op - value title: Predicted Gender Segment type: object - description: Segment by predicted age. properties: condition_type: enum: - PredictedAge type: string x-value: PredictedAge field: description: Segment by predicted age. enum: - predicted_age_range title: Segment Field type: string op: description: Members who are/not the exact criteria listed. enum: - is example: is title: Segment Operator type: string value: description: The predicted age to segment. enum: - 18-24 - 25-34 - 35-44 - 45-54 - 55-64 - 65+ example: female title: Segment Operator type: string required: - field - op - value title: Predicted Age Segment type: object - description: Segment by when people subscribed. properties: condition_type: enum: - NewSubscribers type: string x-value: NewSubscribers field: description: Segment by when people subscribed. enum: - timestamp_opt title: Segment Field type: string op: description: Whe the event took place, namely within a time frame. enum: - date_within title: Segment Operator type: string value: description: "What type of data to segment on: a specific date, a specific campaign, or the last campaign sent." title: Segment Data type: string title: New Subscribers Prebuilt Segment type: object title: Segment Type type: array match: description: Segment match type. enum: - any - all title: Match Type type: string prebuilt_segment_id: description: The prebuilt segment id, if a prebuilt segment has been designated for this campaign. example: subscribers-female title: Prebuilt Segment Id type: string saved_segment_id: description: The id for an existing saved segment. title: Saved Segment ID type: integer title: Segment Options type: object segment_text: description: A description of the [segment](https://mailchimp.com/help/save-and-manage-segments/) used for the campaign. Formatted as a string marked up with HTML. readOnly: true title: Segment Text type: string required: - list_id title: List type: object report_summary: description: For sent campaigns, a summary of opens and clicks. properties: click_rate: description: The number of unique clicks divided by the total number of successful deliveries. readOnly: true title: Click Rate type: number clicks: description: The total number of clicks for an campaign. readOnly: true title: Total Clicks type: integer ecommerce: description: E-Commerce stats for a campaign. properties: total_orders: description: The total orders for a campaign. readOnly: true title: Total Orders type: integer total_revenue: description: The total revenue for a campaign. Calculated as the sum of all order totals minus shipping and tax totals. readOnly: true title: Total Revenue type: number total_spent: description: The total spent for a campaign. Calculated as the sum of all order totals with no deductions. readOnly: true title: Total Spent type: number title: E-Commerce Report type: object open_rate: description: The number of unique opens divided by the total number of successful deliveries. readOnly: true title: Open Rate type: number opens: description: The total number of opens for a campaign. readOnly: true title: Automation Opens type: integer subscriber_clicks: description: The number of unique clicks. readOnly: true title: Unique Subscriber Clicks type: integer unique_opens: description: The number of unique opens. readOnly: true title: Unique Opens type: integer title: Campaign Report Summary type: object resendable: description: Determines if the campaign qualifies to be resent to non-openers. readOnly: true title: Resendable type: boolean rss_opts: description: "[RSS](https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/) options for a campaign." properties: constrain_rss_img: description: Whether to add CSS to images in the RSS feed to constrain their width in campaigns. title: Constrain RSS Images type: boolean feed_url: description: The URL for the RSS feed. format: uri title: Feed URL type: string frequency: description: The frequency of the RSS Campaign. enum: - daily - weekly - monthly title: Frequency type: string last_sent: description: The date the campaign was last sent. format: date-time readOnly: true title: Last Sent type: string schedule: description: The schedule for sending the RSS Campaign. properties: daily_send: description: The days of the week to send a daily RSS Campaign. properties: friday: description: Sends the daily RSS Campaign on Fridays. title: Friday type: boolean monday: description: Sends the daily RSS Campaign on Mondays. title: Monday type: boolean saturday: description: Sends the daily RSS Campaign on Saturdays. title: Saturday type: boolean sunday: description: Sends the daily RSS Campaign on Sundays. title: Sunday type: boolean thursday: description: Sends the daily RSS Campaign on Thursdays. title: Thursday type: boolean tuesday: description: Sends the daily RSS Campaign on Tuesdays. title: tuesday type: boolean wednesday: description: Sends the daily RSS Campaign on Wednesdays. title: Monday type: boolean title: Daily Sending Days type: object hour: description: The hour to send the campaign in local time. Acceptable hours are 0-23. For example, '4' would be 4am in [your account's default time zone](https://mailchimp.com/help/set-account-details/). maximum: 23 minimum: 0 title: Sending Hour type: integer monthly_send_date: description: The day of the month to send a monthly RSS Campaign. Acceptable days are 0-31, where '0' is always the last day of a month. Months with fewer than the selected number of days will not have an RSS campaign sent out that day. For example, RSS Campaigns set to send on the 30th will not go out in February. maximum: 31 minimum: 0 title: Monthly Sending Day type: number weekly_send_day: description: The day of the week to send a weekly RSS Campaign. enum: - sunday - monday - tuesday - wednesday - thursday - friday - saturday title: Weekly Sending Day type: string title: Sending Schedule type: object required: - feed_url - frequency title: RSS Options type: object send_time: description: The date and time a campaign was sent in ISO 8601 format. format: date-time readOnly: true title: Send Time type: string settings: description: The settings for your campaign, including subject, from name, reply-to address, and more. properties: authenticate: description: Whether Mailchimp [authenticated](https://mailchimp.com/help/about-email-authentication/) the campaign. Defaults to `true`. title: Authentication type: boolean auto_fb_post: description: An array of [Facebook](https://mailchimp.com/help/connect-or-disconnect-the-facebook-integration/) page ids to auto-post to. items: type: string title: Auto Post to Facebook type: array auto_footer: description: Automatically append Mailchimp's [default footer](https://mailchimp.com/help/about-campaign-footers/) to the campaign. title: Auto-Footer type: boolean auto_tweet: description: Automatically tweet a link to the [campaign archive](https://mailchimp.com/help/about-email-campaign-archives-and-pages/) page when the campaign is sent. title: Auto-Tweet type: boolean drag_and_drop: description: Whether the campaign uses the drag-and-drop editor. readOnly: true title: Drag And Drop Campaign type: boolean fb_comments: description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to `true`. title: Facebook Comments type: boolean folder_id: description: If the campaign is listed in a folder, the id for that folder. title: Folder ID type: string from_name: description: The 'from' name on the campaign (not an email address). title: From Name type: string inline_css: description: Automatically inline the CSS included with the campaign content. title: Inline CSS type: boolean preview_text: description: The preview text for the campaign. title: Campaign Preview Text type: string reply_to: description: The reply-to email address for the campaign. title: Reply To Address type: string subject_line: description: The subject line for the campaign. title: Campaign Subject Line type: string template_id: description: The id for the template used in this campaign. readOnly: true title: Template ID type: integer timewarp: description: Send this campaign using [Timewarp](https://mailchimp.com/help/use-timewarp/). readOnly: true title: Timewarp Send type: boolean title: description: The title of the campaign. title: Campaign Title type: string to_name: description: The campaign's custom 'To' name. Typically the first name [audience field](https://mailchimp.com/help/getting-started-with-merge-tags/). title: To Name type: string use_conversation: description: Use Mailchimp Conversation feature to manage replies. title: Conversation type: boolean title: Campaign Settings type: object social_card: description: The preview for the campaign, rendered by social networks like Facebook and Twitter. [Learn more](https://mailchimp.com/help/enable-and-customize-social-cards/). properties: description: description: A short summary of the campaign to display. title: Campaign Description type: string image_url: description: The url for the header image for the card. title: Image URL type: string title: description: The title for the card. Typically the subject line of the campaign. title: Title type: string title: Campaign Social Card type: object status: description: The current status of the campaign. enum: - save - paused - schedule - sending - sent - canceled - canceling - archived readOnly: true title: Campaign Status type: string tracking: description: The tracking options for a campaign. properties: capsule: description: Deprecated properties: notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Capsule Note type: boolean title: Capsule CRM Tracking type: object clicktale: description: The custom slug for [ClickTale](https://mailchimp.com/help/additional-tracking-options-for-campaigns/) tracking (max of 50 bytes). title: ClickTale Analytics Tracking type: string ecomm360: description: Whether to enable e-commerce tracking. title: E-commerce Tracking type: boolean goal_tracking: description: Deprecated title: Mailchimp Goal Tracking type: boolean google_analytics: description: The custom slug for [Google Analytics](https://mailchimp.com/help/integrate-google-analytics-with-mailchimp/) tracking (max of 50 bytes). title: Google Analytics Tracking type: string html_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the HTML version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: HTML Click Tracking type: boolean opens: description: Whether to [track opens](https://mailchimp.com/help/about-open-tracking/). Defaults to `true`. Cannot be set to false for variate campaigns. title: Opens type: boolean salesforce: description: Deprecated properties: campaign: description: Create a campaign in a connected Salesforce account. title: Salesforce Campaign type: boolean notes: description: Update contact notes for a campaign based on subscriber email addresses. title: Salesforce Note type: boolean title: Salesforce CRM Tracking type: object text_clicks: description: Whether to [track clicks](https://mailchimp.com/help/enable-and-view-click-tracking/) in the plain-text version of the campaign. Defaults to `true`. Cannot be set to false for variate campaigns. title: Plain-Text Click Tracking type: boolean title: Campaign Tracking Options type: object type: description: There are four types of [campaigns](https://mailchimp.com/help/getting-started-with-campaigns/) you can create in Mailchimp. A/B Split campaigns have been deprecated and variate campaigns should be used instead. enum: - regular - plaintext - absplit - rss - variate title: Campaign Type type: string variate_settings: description: The settings specific to A/B test campaigns. properties: combinations: description: Combinations of possible variables used to build emails. items: properties: content_description: description: The index of `variate_settings.contents` used. title: Content Description type: integer from_name: description: The index of `variate_settings.from_names` used. title: From Name type: integer id: description: Unique ID for the combination. title: ID type: string recipients: description: The number of recipients for this combination. title: Recipients type: integer reply_to: description: The index of `variate_settings.reply_to_addresses` used. title: Reply To type: integer send_time: description: The index of `variate_settings.send_times` used. title: Send Time type: integer subject_line: description: The index of `variate_settings.subject_lines` used. title: Subject Line type: integer type: object readOnly: true title: Combinations type: array contents: description: Descriptions of possible email contents. To set campaign contents, make a PUT request to /campaigns/{campaign_id}/content with the field 'variate_contents'. items: type: string readOnly: true title: Content Descriptions type: array from_names: description: The possible from names. The number of from_names provided must match the number of reply_to_addresses. If no from_names are provided, settings.from_name will be used. items: type: string title: From Names type: array reply_to_addresses: description: The possible reply-to addresses. The number of reply_to_addresses provided must match the number of from_names. If no reply_to_addresses are provided, settings.reply_to will be used. items: type: string title: Reply To Addresses type: array send_times: description: The possible send times to test. The times provided should be in the format YYYY-MM-DD HH:MM:SS. If send_times are provided to test, the test_size will be set to 100% and winner_criteria will be ignored. items: format: date-time type: string title: Send Times type: array subject_lines: description: The possible subject lines to test. If no subject lines are provided, settings.subject_line will be used. items: type: string title: Subject Lines type: array test_size: description: The percentage of recipients to send the test combinations to, must be a value between 10 and 100. title: Test Size type: integer wait_time: description: The number of minutes to wait before choosing the winning campaign. The value of wait_time must be greater than 0 and in whole hours, specified in minutes. title: Wait Time type: integer winner_criteria: description: The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue -- or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_criteria is ignored. For Multivariate Campaigns with 'manual' as the winner_criteria, the winner must be chosen in the Mailchimp web application. enum: - opens - clicks - manual - total_revenue title: Winning Criteria type: string winning_campaign_id: description: ID of the campaign that was sent to the remaining recipients based on the winning combination. readOnly: true title: Winning Campaign ID type: string winning_combination_id: description: ID for the winning combination. readOnly: true title: Winning Combination ID type: string required: - winner_criteria title: A/B Test Options type: object web_id: description: The ID used in the Mailchimp web application. View this campaign in your Mailchimp account at `https://{dc}.admin.mailchimp.com/campaigns/show/?id={web_id}`. readOnly: true title: Campaign Web ID type: integer required: - type title: Campaign type: object description: "" default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Replicate campaign tags: - campaigns x-custom-config: methodNameCamel: replicate methodNameSnake: replicate "/campaigns/{campaign_id}/actions/resume": post: deprecated: false description: Resume an RSS-Driven campaign. operationId: postCampaignsIdActionsResume parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Resume rss campaign tags: - campaigns x-custom-config: methodNameCamel: resume methodNameSnake: resume "/campaigns/{campaign_id}/actions/schedule": post: deprecated: false description: Schedule a campaign for delivery. If you're using Multivariate Campaigns to test send times or sending RSS Campaigns, use the send action instead. operationId: postCampaignsIdActionsSchedule parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID requestBody: content: application/json: schema: properties: batch_delivery: description: Choose whether the campaign should use [Batch Delivery](https://mailchimp.com/help/schedule-batch-delivery/). Cannot be set to `true` for campaigns using [Timewarp](https://mailchimp.com/help/use-timewarp/). properties: batch_count: description: The number of batches for the campaign send. title: Batch Count type: integer batch_delay: description: The delay, in minutes, between batches. title: Batch Delay type: integer required: - batch_delay - batch_count title: Batch Delivery type: object schedule_time: description: The UTC date and time to schedule the campaign for delivery in ISO 8601 format. Campaigns may only be scheduled to send on the quarter-hour (:00, :15, :30, :45). format: date-time title: Schedule Time type: string timewarp: description: Choose whether the campaign should use [Timewarp](https://mailchimp.com/help/use-timewarp/) when sending. Campaigns scheduled with Timewarp are localized based on the recipients' time zones. For example, a Timewarp campaign with a `schedule_time` of 13:00 will be sent to each recipient at 1:00pm in their local time. Cannot be set to `true` for campaigns using [Batch Delivery](https://mailchimp.com/help/schedule-batch-delivery/). title: Timewarp type: boolean required: - schedule_time type: object required: true responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Schedule campaign tags: - campaigns x-custom-config: methodNameCamel: schedule methodNameSnake: schedule "/campaigns/{campaign_id}/actions/send": post: deprecated: false description: Send a Mailchimp campaign. For RSS Campaigns, the campaign will send according to its schedule. All other campaigns will send immediately. operationId: postCampaignsIdActionsSend parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Send campaign tags: - campaigns x-custom-config: methodNameCamel: send methodNameSnake: send "/campaigns/{campaign_id}/actions/test": post: deprecated: false description: Send a test email. operationId: postCampaignsIdActionsTest parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID requestBody: content: application/json: schema: properties: send_type: description: Choose the type of test email to send. enum: - html - plaintext title: Type of email to test type: string test_emails: description: An array of email addresses to send the test email to. items: type: string title: Test Emails type: array required: - test_emails - send_type type: object required: true responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Send test email tags: - campaigns x-custom-config: methodNameCamel: sendTestEmail methodNameSnake: send_test_email "/campaigns/{campaign_id}/actions/unschedule": post: deprecated: false description: Unschedule a scheduled campaign that hasn't started sending. operationId: postCampaignsIdActionsUnschedule parameters: - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "204": description: Empty Response default: content: application/json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object application/problem+json: schema: description: An error generated by the Mailchimp API. Conforms to IETF draft 'draft-nottingham-http-problem-06'. properties: detail: description: A human-readable explanation specific to this occurrence of the problem. [Learn more about errors](/developer/guides/get-started-with-mailchimp-api-3/#Errors). example: The requested resource could not be found. title: Error Message type: string instance: description: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support. example: 995c5cb0-3280-4a6e-808b-3b096d0bb219 title: Instance ID type: string status: description: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem. example: 404 title: HTTP Status Code type: integer title: description: A short, human-readable summary of the problem type. It shouldn't change based on the occurrence of the problem, except for purposes of localization. example: Resource Not Found title: Error Title type: string type: description: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type. example: https://mailchimp.com/developer/marketing/docs/errors/ title: Problem Type type: string required: - type - title - status - detail - instance title: Problem Detail Document type: object description: An error generated by the Mailchimp API. summary: Unschedule campaign tags: - campaigns x-custom-config: methodNameCamel: unschedule methodNameSnake: unschedule "/campaigns/{campaign_id}/content": get: deprecated: false description: Get the the HTML and plain-text content for a campaign. operationId: getCampaignsIdContent parameters: - description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. explode: false in: query name: fields required: false schema: items: type: string type: array style: form x-title: Fields - description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. explode: false in: query name: exclude_fields required: false schema: items: type: string type: array style: form x-title: Exclude Fields - description: The unique id for the campaign. in: path name: campaign_id required: true schema: type: string x-title: Campaign ID responses: "200": content: application/json: schema: description: The HTML and plain-text content for a campaign. properties: _links: description: A list of link types and descriptions for the API schema documents. items: description: This object represents a link from the resource where it is found to another resource or action that may be performed. properties: href: description: This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action. readOnly: true title: Href type: string method: description: The HTTP method that should be used when accessing the URL defined in 'href'. enum: - GET - POST - PUT - PATCH - DELETE - OPTIONS - HEAD readOnly: true title: Method type: string rel: description: As with an HTML 'rel' attribute, this describes the type of link. readOnly: true title: Rel type: string schema: description: For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to. readOnly: true title: Schema type: string targetSchema: description: For GETs, this is a URL representing the schema that the response should conform to. readOnly: true title: Target Schema type: string title: Resource Link type: object readOnly: true title: Links type: array archive_html: description: The Archive HTML for the campaign. example: