openapi: 3.0.3 info: title: Benchmark Email RESTful API v3.0 ABTest Creation Survey 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: Survey Creation description: Create and manage surveys paths: /Survey/{ID}: get: tags: - Survey Creation summary: 'Get a Details of survey ' operationId: get__survey__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 a Details of survey

\nQuery string parameters : None
\nRequest Body parameters :\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringSurvey ID
\n\nResponse Body Parameters :\n\n \n \n \n \n \n Update Details of Survey\nQuery string Parameters : None
\nRequest Body Parameters : \n
ParameterTypeDescription
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringSurvey ID
DataRequired" requestBody: content: application/json: schema: type: object /Survey/TemplateList: get: tags: - Survey Creation summary: Get template list of survey operationId: get__survey_templatelist parameters: [] responses: '200': description: Successful response '400': description: Bad request '401': description: Unauthorized '404': description: Not found description: "

Get template list of survey

\nQuery string Parameters : None
\nRequest Body Parameters : None
\nResponse Body Parameters : \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterTypeDescription
CountintTotal number
Statusstring1 if successful, -1 if error
DataDelete question of a Survey\nQuery string parameters : None
\nRequest Body Parameters : \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Update Question of a Survey\nQuery string parameters : None
\nRequest Body Parameters : \n
ParameterRequiredTypeDescription
IDRequiredstringSurvey ID
QuestionIDRequiredstringQuestion ID
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n <" requestBody: content: application/json: schema: type: object /Survey/{ID}/QuestionSort: patch: tags: - Survey Creation summary: Sort Question of a survey operationId: patch__survey__id__questionsort 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: "

Sort Question of a survey

\nQuery string parameters : None
\nRequest Body Parameters : \n
ParameterRequiredTypeDescription
IDRequiredstringSurvey ID
QuestionIDRequiredstringQuestion ID
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " requestBody: content: application/json: schema: type: object /Survey/{ID}/Question: post: tags: - Survey Creation summary: Add Question to Survey operationId: post__survey__id__question 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: "

Add Question to Survey

\nQuery string Parameters : None
\nRequest Body Parameters : \n
ParameterRequiredTypeDescription
IDRequiredstringSurvey ID
SortOrderRequiredstringComma seperated question ids
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
ParameterRequiredTypeDescription
IDRequiredstringSurvey ID
QuestionDataRequired