Messaging Service
Templates Management
Create templates
1min
POST
https://{domain}/core/api/v1/messaging-service/templates
Header Parameters
X-COREOS-REQUEST-ID
string
*
X-COREOS-TID
string
*
X-COREOS-ACCESS
string
*
X-COREOS-APP-ID
string
*
X-COREOS-USERINFO
string
Body Parameters
body
CreateTemplateBody
Description
Create Templates
name
string
*
mode
string<sms | whatsapp | email | push>
data
object
[
One Of:
SMSBody
EmailBody
WhatsappBody
]isActive
boolean
*
tags
string[]
Responses
201
Successful operation
SuccessTemplateResponse
data
CreateTemplateResponse
request
Request
400
Bad request - The server is unable to process the request due to something that is perceived to be a client error.
ErrorResponse
error
Error
*
request
Request
*
401
Unauthorized - The client's identity is unknown to the server. Verify that you are accessing the correct tenant and that your client ID and client secret are valid on that Tenant.
ErrorResponse
error
Error
*
request
Request
*
404
Not found - The server can not find the requested resource.
ErrorResponse
error
Error
*
request
Request
*
503
Server error - The server is not ready to handle the request. This could be due to maintenance downtime or system resource constraints.
ErrorResponse
error
Error
*
request
Request
*
Updated 27 Mar 2024
Did this page help you?