Operations 6
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/optimizely:optimizely-message-templates-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Optimizely Campaign REST Message templates API
description: This documentation lists all available resources and endpoints of the Optimizely Campaign REST API.
version: '1'
servers:
- url: https://api.campaign.episerver.net/rest
tags:
- name: Message Templates
description: Manage message templates
paths:
/{clientId}/messagetemplates:
get:
tags:
- Message Templates
summary: Get information about all message templates
description: Get detailed information about all message templates, such as format, subject, reply-to address or creation date. You can filter for messages in a folder or limit the number of retrieved message templates.
operationId: selectMessageTemplates
parameters:
- name: clientId
in: path
description: Client ID
required: true
schema:
type: string
- name: offset
in: query
description: 'Starting point of the result list <p><i>Default value</i> : 0</p>'
schema:
type: integer
format: int32
- name: limit
in: query
description: 'Maximum number of retrieved message templates <p><i>Default value</i> : 100</p>'
schema:
type: integer
format: int32
- name: sort
in: query
description: Sort result by specific criteria
schema:
type: string
default: created
enum:
- id
- name
- contentId
- contentTemplate
- mediaType
- created
- createdBy
- modified
- modifiedBy
- name: folderId
in: query
description: Filter message templates assigned to a folder
schema:
type: integer
format: int64
- name: direction
in: query
description: Sort order
schema:
type: string
enum:
- ASC
- DESC
responses:
'200':
description: The message templates were retrieved successfully (empty result if none was found).
content:
application/json:
schema:
$ref: '#/components/schemas/RestMessageTemplateStreamingCollection'
application/vnd.optivo.broadmail.v1+json:
schema:
$ref: '#/components/schemas/RestMessageTemplateStreamingCollection'
'400':
description: Invalid limit request. Change the limit to less than 10000.
security:
- Authorization: []
post:
tags:
- Message Templates
summary: Create or copy a message template
description: 'Create or copy a message template. You can specify the sender address, the subject for target groups or reset the reply-to address. Note: One of the following request parameters is required: cmsContentTemplateId, mailingId, messageTemplateIdForCreate, messageTemplateIdForCopy.'
operationId: createOrCopyMessageTemplate
parameters:
- name: clientId
in: path
description: Client ID
required: true
schema:
type: string
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/MessageTemplateRequestData'
responses:
'201':
description: The message template was created successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/RestMessageTemplate'
application/vnd.optivo.broadmail.v1+json:
schema:
$ref: '#/components/schemas/RestMessageTemplate'
security:
- Authorization: []
/{clientId}/messagetemplates/{messageTemplateId}:
get:
tags:
- Message Templates
summary: Get information about a message template
description: Get detailed information about a message template, such as reply-to address, subject, format or creation date.
operationId: getMessageTemplate
parameters:
- name: clientId
in: path
description: Client ID
required: true
schema:
type: string
- name: messageTemplateId
in: path
description: Message template ID
required: true
schema:
type: integer
format: int64
responses:
'200':
description: The message template was retrieved successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/RestMessageTemplate'
application/vnd.optivo.broadmail.v1+json:
schema:
$ref: '#/components/schemas/RestMessageTemplate'
'409':
description: The indicated message template is not assigned to the indicated client. Ensure that "clientId" and "messageTemplateId" are correct and that the "messageTemplateId" is assigned to the indicated client.
security:
- Authorization: []
post:
tags:
- Message Templates
summary: Update a message template
description: Update information of a message template, such as name or subject.
operationId: updateMessageTemplate
parameters:
- name: clientId
in: path
description: Client ID
required: true
schema:
type: string
- name: messageTemplateId
in: path
description: Message template ID
required: true
schema:
type: integer
format: int64
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/MessageTemplateRequestData'
responses:
'200':
description: The message template was updated successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/RestMessageTemplate'
application/vnd.optivo.broadmail.v1+json:
schema:
$ref: '#/components/schemas/RestMessageTemplate'
security:
- Authorization: []
delete:
tags:
- Message Templates
summary: Delete a message template
operationId: deleteMessageTemplate
parameters:
- name: clientId
in: path
description: Client ID
required: true
schema:
type: string
- name: messageTemplateId
in: path
description: Message template ID
required: true
schema:
type: integer
format: int64
responses:
'204':
description: The message template was deleted successfully.
'409':
description: The indicated message template is not assigned to the indicated client. Ensure that "clientId" and "messageTemplateId" are correct and that the "messageTemplateId" is assigned to the indicated client.
security:
- Authorization: []
/{clientId}/messagetemplates/{messageTemplateId}/test:
post:
tags:
- Message Templates
summary: Test a message template
description: Send a test mailing to check content and layout of a message template before sending the actual mailing.
operationId: testMessageTemplate
parameters:
- name: clientId
in: path
description: Client ID
required: true
schema:
type: string
- name: messageTemplateId
in: path
description: Message template ID
required: true
schema:
type: integer
format: int64
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/MessageTemplateTestMailingRequestData'
responses:
'202':
description: The message template was sent successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/MessageTemplateTestResponse'
application/vnd.optivo.broadmail.v1+json:
schema:
$ref: '#/components/schemas/MessageTemplateTestResponse'
security:
- Authorization: []
components:
schemas:
RestMessageTemplateStreamingCollection:
type: object
properties:
elements:
type: array
items:
$ref: '#/components/schemas/RestMessageTemplate'
links:
type: array
writeOnly: true
items:
$ref: '#/components/schemas/RestApiLink'
count:
type: integer
format: int32
offset:
type: integer
format: int32
limit:
type: integer
format: int32
MessageTemplateTestMailingRequestData:
required:
- recipientIds
- recipientListId
type: object
properties:
recipientIds:
type: array
description: Comma-separated list of recipient IDs from the provided recipient list ("recipientListId"). If a recipient is not found in the provided recipient list, no test mailing will be sent to this recipient.
items:
type: string
description: Comma-separated list of recipient IDs from the provided recipient list ("recipientListId"). If a recipient is not found in the provided recipient list, no test mailing will be sent to this recipient.
mimeType:
type: string
description: Mime type of the mailing during sending (use an empty string for the mailing mime type)
example: text/plain, text/html, text/multipart
subject:
type: string
description: Subject of a test message template (if message template has a subject set)
senderAddress:
type: string
description: Sender address for test message template (if message template has a sender address set)
recipientListId:
type: integer
description: ID of the recipient list for the test mailing
format: int64
RestApiLink:
type: object
properties:
href:
type: string
rel:
type: string
MessageTemplateTestResponse:
type: object
properties:
mailingId:
type: integer
format: int64
RestMessageTemplate:
type: object
properties:
id:
type: integer
description: Message template ID
format: int64
name:
type: string
description: Message template name
contentId:
type: string
description: Content ID of the message template
contentTemplate:
type: string
description: Content template
mediaType:
type: string
description: Media type of the message template
senderAddress:
type: string
description: Email address of the sender
senderName:
type: string
description: Sender name
example: Episerver GmbH
replyToAddress:
type: string
description: Email address for reply mails
replyToName:
type: string
description: Name for reply mails
subject:
type: object
additionalProperties:
type: string
description: Subjects
description: Subjects
format:
type: string
description: Format
dispatchOption:
type: string
description: Dispatch option of the message template
dispatchStrategyOption:
type: string
description: Dispatch strategy option of the message template
accumulateMessagesForDays:
type: integer
description: Number of messages per day
format: int32
created:
type: string
description: Creation date
format: date-time
modified:
type: string
description: Modification date
format: date-time
links:
type: array
description: Restful links
items:
type: object
properties:
uriBuilder:
type: object
rels:
type: array
items:
type: string
rel:
type: string
type:
type: string
params:
type: object
additionalProperties:
type: string
title:
type: string
uri:
type: string
format: uri
description: Restful links
MessageTemplateRequestData:
required:
- name
type: object
properties:
subjectForTargetGroup:
type: string
description: Subject specific to the target group. Set 'subject.[targetGroupId]' in request data (only email).<p>Does not work with the "Try it out" feature.</p>
cmsContentTemplateId:
type: string
description: ID of source content template
messageTemplateIdForCreate:
type: integer
description: ID of source message template for creation
format: int64
messageTemplateIdForCopy:
type: integer
description: ID of source message template for copying
format: int64
replyToAddress:
type: string
description: Reply-to address (only email)
mailingId:
type: integer
description: ID of source mailing
format: int64
resetReplyToAddress:
type: boolean
description: Reset the local part of the reply-to address
resetTargetedSubjects:
type: boolean
description: If true, all target groups subjects are deleted (only email)
replyToName:
type: string
description: Reply-to mailing name (only email)
name:
type: string
description: Name of the message template
senderName:
type: string
description: Mailing sender name (only email)
subject:
type: string
description: Mailing subject (only email)
senderAddress:
type: string
description: Mailing sender address
securitySchemes:
Authorization:
type: apiKey
name: Authorization
in: header
x-readme:
explorer-enabled: true
proxy-enabled: true