openapi: 3.0.3
info:
title: Benchmark Email RESTful API v3.0 ABTest Creation Poll 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: Poll Creation
description: Create and manage polls
paths:
/Poll/:
post:
tags:
- Poll Creation
summary: Create Poll
operationId: post__poll
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "
Create Poll
\nQuery String Parameters : None
\nRequest Body Parameters : \n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n
\n \n \n \n | PollID | \n Required | \n string | \n Poll ID | \n
\n \n | Name | \n Required | \n string | \n Poll Name | \n
\n \n Question"
requestBody:
content:
application/json:
schema:
type: object
/Poll/{PollID}:
get:
tags:
- Poll Creation
summary: Get details of poll
operationId: get__poll__pollid
parameters:
- name: PollID
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 poll\nQuery string parameters : None \nRequest Body parameters:\n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n \n \n | PollID | \n Required | \n String | \n Poll ID | \n \n \n \n\nResponse body parameters :\n\n \n \n | Parameter | \n Type | \n "
patch:
tags:
- Poll Creation
summary: Update Poll
operationId: patch__poll__pollid
parameters:
- name: PollID
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 Poll\nQuery String Parameters : None \nRequest Body Parameters : \n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n \n \n | PollID | \n Required | \n string | \n Poll ID | \n \n \n | Name | \n Required | \n string | \n Poll Name | \n \n \n | Question"
requestBody:
content:
application/json:
schema:
type: object
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: AuthToken
description: API token obtained from https://ui.benchmarkemail.com/Integrate#API
| |