openapi: 3.0.3 info: title: Benchmark Email RESTful API v3.0 ABTest Creation Sub-Account API description: 'RESTful API for managing email marketing contacts, lists, campaigns, automations, reports, images, and webhooks within the Benchmark Email platform. To use the API, you need a Benchmark Email API token available at https://ui.benchmarkemail.com/Integrate#API. Rate limit: 500 calls per 2 minutes and 60,000 calls per day.' version: 3.0.0 contact: name: Benchmark Email Developer Support url: https://developer.benchmarkemail.com/ license: name: Proprietary servers: - url: https://clientapi.benchmarkemail.com description: Benchmark Email Client API security: - apiKeyAuth: [] tags: - name: Sub-Account description: Manage sub-accounts and their settings paths: /Client/SubAccount: get: tags: - Sub-Account summary: Get Sub-Accounts operationId: get__client_subaccount parameters: [] responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get Sub-Accounts

\nQuery string parameters : None
\n\nResponse Body Parameters :\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " post: tags: - Sub-Account summary: Create Sub-Account operationId: post__client_subaccount parameters: [] responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Create Sub-Account

\nURL parameters (to be encoded as JSON in body) :\n
ParameterTypeDescription
CountStringNumber of Sub-Accounts
DataClientDetail 
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
DetailRequiredSubAccountDetailSub Account Detail Array
\nResponse Body Parameters :\n\n \n \n \n
ParameterTypeGet Sub-Account History\nQuery string parameters : None
\n\nResponse Body Parameters :\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " /Client/SubAccount/{ID}: get: tags: - Sub-Account summary: Get Sub-Account Details operationId: get__client_subaccount__id parameters: - name: ID in: path required: true schema: type: string responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get Sub-Account Details

\nQuery string parameters :\n
ParameterTypeDescription
DataClientDate 
Statusstring1 = Successful, -1 Error
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringClient ID
\nResponse Body Parameters :\n\n \n \n \n \n \n \n Update Sub Account\nQuery String Parameter:\n
ParameterTypeDescription
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringSub Account ID
\nURL parameters (to be encoded as JSON in body) :\n\n \n \n \n \n \n " requestBody: content: application/json: schema: type: object /Client/Plan: get: tags: - Sub-Account summary: /Plan | Plan Details & Limits, Get Plan Information operationId: get__client_plan parameters: [] responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get Client's Plan Information

\nResponse Body Parameters :\n
ParameterRequiredType
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterTypeDescription
AddonAddonResult 
EmailPlanEmailPlanResult<" /Client/ProfileDetails: get: tags: - Sub-Account summary: Get Profile Details operationId: get__client_profiledetails parameters: [] responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get Client's Profile Details

\nResponse Body Parameters :\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterTypeDescription
ResponceClientProfileDetailsArray
" /Client/SubAccount/{ID}/Status: patch: tags: - Sub-Account summary: Change Sub-Account status operationId: patch__client_subaccount__id__status parameters: - name: ID in: path required: true schema: type: string responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Change Sub-Account status

\nQuery string parameters : None
\n\nRequest Body parameters:\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
StatusRequiredstring1 to activate, 0 to deactivate
\n\nResponse body parameters :\n\n \n \n
Parameter<" /Client/SubAccount/History/{HistoryID}: get: tags: - Sub-Account summary: Get Sub-Account history details operationId: get__client_subaccount_history__historyid parameters: - name: HistoryID in: path required: true schema: type: string - name: ID in: query required: false schema: type: string - name: StartDate in: query required: false schema: type: string - name: EndDate in: query required: false schema: type: string responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get Sub-Account history details

\nQuery string parameters :\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " /Client/SubAccount/{ID}/Balance: get: tags: - Sub-Account summary: Get Sub-Account balance operationId: get__client_subaccount__id__balance parameters: - name: ID in: path required: true schema: type: string responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get Sub-Account balance

\nQuery string parameters :\n
ParameterRequiredTypeDescription
IDRequiredstringHistory ID
StartDateRequiredstringBilling cycle start date
EndDate
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringSub-Account holder client ID
\n\nResponse body parameters :\n\n \n \n \n \n " /Client/SubAccount/{ID}/Inbox: post: tags: - Sub-Account summary: Add/Remove inbox tests from Sub-Account operationId: post__client_subaccount__id__inbox parameters: - name: ID in: path required: true schema: type: string responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Add/Remove inbox tests from Sub-Account

\nRequest Body parameters:\n
ParameterTypeDescription
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringSub-Account holder Client ID
TestsRequiredint 
\n\nResponse " requestBody: content: application/json: schema: type: object /Client/SubAccount/{ID}/PlanList: get: tags: - Sub-Account summary: Get Sub-Accounts plan list operationId: get__client_subaccount__id__planlist parameters: - name: ID in: path required: true schema: type: string responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get Sub-Accounts plan list

\nRequest Body parameters:\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringSub-Account holder client ID
\n\nResponse body parameters :\n\n \n \n \n \n
ParameterTypeDescription