Create Email Template

A user can use this API to create a email template for an event.
This API can be access by event admin and super admin.
For creating new email template, need to pass request body param for message Contact Details.
User have to pass their authentication key for user authentication.
This API used at host side to create new email template.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Here is the description of response attributes, which returns to the form of JSON.

AttributeDescription
sentToCountIt's contains the total number of people to whom message sent
dateSentOrScheduleIt's contains message sent or schedule on date. When the particular message sent on date, and it will return in MM/dd/yyyy HH:mm format.
encodedTemplateIdIt's contains the encoded template id. for examaple AvtpqJSmT9fPWH_OnYJ0Sg
idid of contact, if record exists in system.
messageJsonIt's contains the message json string.
notificationIconIt's contains the notification icon.
replyToEmailIt's contains the reply to email address.
scheduledATIt's contains scheduled time of the message. When the particular message sent on specific time, and it will return in MM/dd/yyyy HH:mm format.
sendTosend list must be either of ALL_CONTACTS, ALL_TICKER_HOLDER_AND_BUYERS, ALL_AUCTION_PARTICIPANTS, ALL_AUCTION_WINNERS, ALL_RAFFLE_WINNERS, ALL_FUND_A_NEED_PLEDGERS, ALL_TEXT_TO_GIVE_DONORS, BY_TICKET_TYPE_VIA, ALL_SPEAKERS, ALL_EXHIBITORS, CHECKED_IN, NOT_CHECKED_IN, ALL_RAFFLE_PARTICIPANTS.
sentToCountIt's contains the total number of people to whom message sent.
statusIt's contains the status of the email message.it will return all data like SENT,SCHEDULED etc.
subjectLineThe message's title as subject line.
targetAudienceTypeIt's contains the target audience type should be All, WEB_APP, MOBILE_APP.
ticketTypeIdsTicket Type Id to send mail if EMAIL_RECIPIENTS is BY_TICKET_TYPE_VIA
typeThere are two type of message like Email OR Notification.

Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error codeError Description
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
Path Params
string
required

Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.

Body Params
messageToContactDto
object

Create Email Template

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json