openapi: 3.0.3
info:
title: Benchmark Email RESTful API v3.0 ABTest Creation Signup Form 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: Signup Form
description: Manage signup forms
paths:
/SignupForm:
get:
tags:
- Signup Form
summary: Gets a list of Signup Forms
operationId: get__signupform
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
- name: FilterField
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: '
Gets a list of signup forms in the user''s account
Query string parameters :
| Parameter |
Required |
Type |
Description |
| PageNumber |
optional |
int |
Page Number |
| PageSize |
optional |
int |
Number of records to show per page |
| Filter |
optional |
string |
Filter text |
FilterField'
/SignupForm/:
post:
tags:
- Signup Form
summary: Creating a Signup Form
operationId: post__signupform
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Creates a new signup form \r\n\r\nBody Parameters (to be encoded as a JSON string)\r\n\r\n\r\n\r\n| Key | \r\nRequired | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| Name | \r\noptional | \r\nName of the signup form | \r\n \r\n\r\n| Lists | \r\noptional | \r\nList details as ID and Name\r\n[{\"ID\":\"IDOfTheList\", \"Name\":\"NameOfTheList\"},{\"ID\":\"IDOfTheList\", \"Name\":\"NameOfTheList\"}"
requestBody:
content:
application/json:
schema:
type: object
/SignupForm/Template:
get:
tags:
- Signup Form
summary: Get templates for Signup Form (Classic Only)
operationId: get__signupform_template
parameters:
- name: Language
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: "Gets templates for signup form\r\nQuery string parameters : \r\n\r\n\r\n\r\n| Parameter | \r\nRequired | \r\nType | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| Language | \r\noptional | \r\nstring | \r\nLanguage | \r\n \r\n\r\n| Filter | \r\noptional | \r\nint | \r\nTemplate Category ID | \r\n \r\n\r\n \r\nResponse Body parameters : \r\n\r\n\r\n\r\n| Parameter | \r\nType | \r\nCopies an existing signup form\r\nQuery String Parameters : None \r\nRequest Body Parameters:\r\n\r\n\r\n\r\n| Parameter | \r\nRequired | \r\nType | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| ID | \r\nrequired | \r\nstring | \r\nID of the signup Form | \r\n \r\n\r\n| Name | \r\nrequired | \r\nstring | \r\nName of the new signup form | \r\n \r\n\r\n \r\nResponse Body Parameters:\r\nGet a details of Signup Form\nQuery string parameters:None \nRequest Body parameters:\n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n \n \n | ID | \n Required | \n string | \n Signup Form ID | \n \n \n \n\nResponse Body parameters:\n\n \n \n | Parameter | \n TypeUpdate the signup Form \n\nQuery String Parameters: None\n\nRequest Body Parameters:\n\n \n \n | Key | \n Required | \n Type | \n Description | \n \n \n \n \n | ID | \n Required | \n string | \n Signup Form ID | \n \n \n | Detail | \n Required | \n Deletes an existing signup form\r\nQuery string Parameters : None \r\nRequest Body Parameters : \r\n\r\n\r\n\r\n| Parameter | \r\nRequired | \r\ntype | \r\nDescription | \r\n \r\n\r\n\r\n\r\n| {ID} | \r\nrequired | \r\nstring | \r\nID of the signup Form | \r\n \r\n\r\n \r\nResponse Body Parameters : \r\n\r\n\r\n\r\n| Parameter | \r\ntype | \r\nDescription | \r\n \r\n\r\nGet the link of the Signup form\nQuery String Parameters:None \nRequest Body parameters:\n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n \n \n | ID | \n Required | \n string | \n Signup Form ID | \n \n \n \nResponse Body parameters:\n\n \n \n | Parameter | \n Type<"
/SignupForm/{ID}/Code/Preview:
get:
tags:
- Signup Form
summary: Get the code for Preview for the Signup Form
operationId: get__signupform__id__code_preview
parameters:
- name: ID
in: path
required: true
schema:
type: string
- name: Language
in: query
required: false
schema:
type: string
- name: Style
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 the code for Preview for the Signup Form\nQuery string parameters:\n\n \n \n | Key | \n Required | \n Description | \n \n \n \n \n | ID | \n Required | \n Signup Form ID | \n \n \n \n\nRequest Body Parameters :\n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n Get the code for the signup form button\nQuery string parameters:\n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n \n \n | ID | \n Required | \n string | \n Signup Form ID | \n \n \n \n\nRequest Body Parameters :\n\n \n \n | Parameter | \n Required | \n Type | \n "
/SignupForm/{ID}/ContactFields:
get:
tags:
- Signup Form
summary: Get the contact fields of the Signup Form
operationId: get__signupform__id__contactfields
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 the contact fields of the signup Form\nQuery string parameters :\n\n \n \n | Parameter | \n Required | \n Type | \n Description | \n \n \n \n \n | ID | \n Required | \n string | \n Signup Form ID | \n \n \n \n\nRequest Body parameters:\nNone\n\nResponse body parameters :\n\n \n \n | Parameter | \n "
/SignupForm/{ID}/Test:
post:
tags:
- Signup Form
summary: Sending a test email for signup
operationId: post__signupform__id__test
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: "Sending a test email for signup\nQuery string parameters : None \n\nRequest Body parameters:\n\n \n \n | Key | \n Required | \n Description | \n \n \n \n \n | ID | \n Required | \n Signup Form ID | \n \n \n | FromEmail | \n Required | \n From Email Address | \n \n \n | FromName | \n Required | \n "
requestBody:
content:
application/json:
schema:
type: object
/Contact/{ListID}/ListbuilderLists:
get:
tags:
- Signup Form
summary: Get signup form list
operationId: get__contact__listid__listbuilderlists
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: "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| {{ListIDs}} | required | string | IDs of the lists | \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\nCoun"
/Contact/ListbuilderList:
get:
tags:
- Signup Form
summary: Get signup form list
operationId: get__contact_listbuilderlist
parameters: []
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
description: "Get signup form list\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| Count | int | Total number | \r\n| Data | SignupFormRecord | Signup Form 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
| | | | | |