openapi: 3.0.3
info:
title: Benchmark Email RESTful API v3.0 ABTest Creation Email Email Rss Creation 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: Email Email Rss Creation
description: Email Email Rss Creation
paths:
/Emails/{ID}:
get:
tags:
- Email Email Rss Creation
summary: Get Details of Email
operationId: get__emails__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 Details of Email
\r\nURL Parameters
\r\n\r\n\r\n\r\n| Key | Required | Type | Description |
\r\n\r\n\r\n| {{ID}} | required | string | IDs of the EMail |
\r\n\r\n
\r\n\r\nResponse body parameters
\r\n\r\n\r\n\r\n| Key | Type | Description |
\r\n\r\n\r\n| Status | string | 1 if successful, -1 if error |
\r\n| Error | <"
patch:
tags:
- Email Email Rss Creation
summary: Update the email
operationId: patch__emails__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: "Update the email
\r\nURL Parameters
\r\n\r\n\r\n\r\n| Key | Required | Type | Description |
\r\n\r\n\r\n| {{ID}} | required | string | ID of the email |
\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| Detail | required | Get a list of contacts\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ID}} | required | string | ID of the email | \r\n\r\n \r\n\r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n| Status | string | 1 if successful, -1 if error | \r\n| Data | <"
/Emails/:
post:
tags:
- Email Email Rss Creation
summary: Create Email
operationId: post__emails
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Create Email\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| Detail | required | EmailData | Email Details | \r\n\r\n \r\n\r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n<"
requestBody:
content:
application/json:
schema:
type: object
/Emails/{ID}/RecipientCount:
get:
tags:
- Email Email Rss Creation
summary: Get the recipient count for the email
operationId: get__emails__id__recipientcount
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 a list of contacts\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ID}} | required | string | ID of the Email | \r\n\r\n \r\n\r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n| Status | string | 1 = Successful, -1 Error | \r\n| Count | "
/Emails/{ID}/Schedule:
post:
tags:
- Email Email Rss Creation
summary: /{{ID}}/Schedule | Send Email
operationId: post__emails__id__schedule
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: "Schedule the email\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ID}} | required | string | ID of the email | \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| ScheduleDate | required | string | Get a list of contacts\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ID}} | required | string | ID of the email | \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| Schedule | required | string | Get a list of contacts\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ID}} | required | string | ID of the email | \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| Emails | required | string | C"
/Emails/{ID}/Spam:
get:
tags:
- Email Email Rss Creation
summary: SpamCheck
operationId: get__emails__id__spam
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: "SpamCheck\r\nURL Parameters\r\n\r\n\r\n\r\n| Key | Required | Type | Description | \r\n\r\n\r\n| {{ID}} | required | string | ID of the email | \r\n\r\n \r\n\r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n| Status | string | 1 if successful, -1 if error | \r\n| Error | Get a list of contacts\r\n\r\nResponse body parameters\r\n\r\n\r\n\r\n| Key | Type | Description | \r\n\r\n\r\n| Data | GenericList | Community Category Data | \r\n\r\n "
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: AuthToken
description: API token obtained from https://ui.benchmarkemail.com/Integrate#API
| | | | | |