openapi: 3.0.3
info:
title: Benchmark Email RESTful API v3.0 ABTest Creation Add Contacts 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: Add Contacts
description: Add and import contacts to lists
paths:
/Contact/{ListID}/ContactDetails:
post:
tags:
- Add Contacts
summary: /Contact/{{ListID}}/ContactDetails || Add Contact
operationId: post__contact__listid__contactdetails
parameters:
- name: ListID
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 Contact
\r\nURL Parameters
\r\n\r\n\r\n\r\n| Key | Required | Type | Description |
\r\n\r\n\r\n| {{ListID}} | required | string | ID of the list |
\r\n\r\n
\r\n\r\nBody Parameters (To be passed as a JSON string)
\r\n\r\n\r\n\r\n| Key | Required | Type | Description |
\r\n\r\n\r\n| Data | required | Update Contact\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n{{ListID}} | required | string | ID of the list | \r\n| {{ContactID}} | required | string | ID of the contact | \r\n\r\n \r\n\r\nBody Parameters (To be passed as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description"
requestBody:
content:
application/json:
schema:
type: object
/Contact/{ListID}/ContactDetails/CSV/Upload:
post:
tags:
- Add Contacts
summary: '{{ListID}}/ContactDetails/CSV/Upload |Save email address which are not verified and uploaded'
operationId: post__contact__listid__contactdetails_csv_upload
parameters:
- name: ListID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Save email address which are not verified and uploaded\r\n\r\nURL parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| ListID | required | string | ID of the list | \r\n\r\n \r\n\r\nBody Parameters (To be passed as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| Data | re"
/Contact/{ListID}/Mapping:
patch:
tags:
- Add Contacts
summary: /{{ListID}}/Mapping | Change mapping
operationId: patch__contact__listid__mapping
parameters:
- name: ListID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Changes file mapping\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ListID}} | required | string | ID of the list | \r\n\r\n \r\n\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| FileName | required | string | <"
requestBody:
content:
application/json:
schema:
type: object
/Contact/{ListID}/Compilation:
patch:
tags:
- Add Contacts
summary: /{{ListID}}/Compilation | Changing list compilation details
operationId: patch__contact__listid__compilation
parameters:
- name: ListID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Changes file upload compilation\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ListID}} | required | string | ID of the list | \r\n\r\n \r\n\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| Description | required | URL Parameters\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| {{ListID}} | \r\nrequired | \r\nID of the list | \r\n \r\n\r\n| {{FileName}} | \r\nrequired | \r\nName of the file | \r\n \r\n\r\n \r\n\r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | \r\nType | \r\nDescription | \r\n \r\n\r\n<"
/Contact/{ListID}/ContactDetails/CSV:
post:
tags:
- Add Contacts
summary: Save email address
operationId: post__contact__listid__contactdetails_csv
parameters:
- name: ListID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Save email address \r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ListID}} | required | string | ID of the list | \r\n\r\n \r\n\r\nBody Parameters (To be passed as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| EmailIDs | required | string | Save email address which verified\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ListID}} | required | string | ID of the list | \r\n\r\n \r\n\r\nBody Parameters (To be passed as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| EmailIDs | required | "
requestBody:
content:
application/json:
schema:
type: object
/Contact/{ID}/ContactDetails/CSV/Upload/Verified:
post:
tags:
- Add Contacts
summary: Save email address which is verified and uploaded
operationId: post__contact__id__contactdetails_csv_upload_verified
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: "Save email address which is verified and uploaded\r\n\r\nURL parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| ListID | required | string | ID of the list | \r\n\r\n \r\n\r\nBody Parameters (To be passed as a JSON string)\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| Data | require"
requestBody:
content:
multipart/form-data:
schema:
type: object
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: AuthToken
description: API token obtained from https://ui.benchmarkemail.com/Integrate#API
| | | | | |