openapi: 3.0.3
info:
title: Benchmark Email RESTful API v3.0 ABTest Creation Image Gallery 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: Image Gallery
description: Manage image gallery
paths:
/Images/Summary:
get:
tags:
- Image Gallery
summary: Get account summary
operationId: get__images_summary
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "
Get account summary
\nQuery string parameters : None
\nRequest body parameters : None
\nResponse body parameters : \n\n \n \n | Parameter | \n Type | \n Description | \n
\n \n \n \n | FreePlan | \n int | \n 1 = FreePlan, 0 = PaidPlan | \n
\n \n | Limit | \n int | \n Total Space | \n
\n \n PremiumCl"
/Images/:
get:
tags:
- Image Gallery
summary: Get a list of images
operationId: get__images
parameters:
- name: Filter
in: query
required: false
schema:
type: string
- name: PageNumber
in: query
required: false
schema:
type: string
- name: PageSize
in: query
required: false
schema:
type: string
- name: OrderBy
in: query
required: false
schema:
type: string
- name: SortOrder
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 a list of images\nQuery string parameters : \n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | Filter | \n Optional | \n int | \n Filterr | \n \n \n | PageNumber | \n Required | \n int | \n Page Number | \n \n \n | PageSize | \n Required | \n int | \n Num"
post:
tags:
- Image Gallery
summary: Upload an Image
operationId: post__images
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Upload an Image\nQuery string parameters : None \n\nResponse Body Parameters : \n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | Data | \n Required | \n File | \n Image file to be uploaded | \n \n \n Response body parameters : \n \n \n Parameter"
requestBody:
content:
multipart/form-data:
schema:
type: object
/Images/{ImageID}:
get:
tags:
- Image Gallery
summary: Get image details
operationId: get__images__imageid
parameters:
- name: ImageID
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 image details\nQuery string parameters : None \nRequest Body Parameter\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | ImageID | \n Required | \n string | \n Image ID | \n \n \nResponse body parameters : \n\n \n | Parameter | \n Type | \n Descripti"
delete:
tags:
- Image Gallery
summary: Delete an image
operationId: delete__images__imageid
parameters:
- name: ImageID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Delete an image\nQuery string parameters : None \nRequest Body Parameters : \n\n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | ImageID | \n Required | \n string | \n Image ID | \n \n \nResponse Body Parameters : \n\n \n | Parameter | \n Type | \n Description | \n \n \n | Response | \n int | \n Update an image\nQuery string parameters : \n\n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | ImageID | \n Required | \n string | \n Image ID | \n \n \nRequest Body Parameters : \n\n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | ImageURL | \n Required if ImageName is not passed | Copy image to sub-account\nQuery string parameters : \n\n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | ImageID | \n Required | \n string | \n Image ID | \n \n \nRequest Body Parameters : \n\n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | Clients | \n Required | \n string"
/Images/Giphy/Images/List:
get:
tags:
- Image Gallery
summary: Get list of Giphy images
operationId: get__images_giphy_images_list
parameters:
- name: PageNumber
in: query
required: false
schema:
type: string
- name: PageSize
in: query
required: false
schema:
type: string
- name: Filter
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 list of Giphy images\nQuery string parameters : \n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n \n \n | PageNumber | \n Optional | \n string | \n Page Number | \n \n \n | PageSize | \n Optional | \n string | \n Number of records per page | \n \n \n FilterUpload Logo Image\nQuery string parameters : None \n\nResponse Body Parameters : \n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n | Data | \n Required | \n File | \n Image file to be uploaded | \n \n \n | ImageType | \n Required | \n string | \n Type of a image | \n \n \n | Extr"
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
| | | | | | | |