POST Template Created Webhook

This webhook will be called when template is created.

Response Attributes

API Content Type: JSON

body

ATTRIBUTE DESCRIPTION
statuscode
string(3)
This is the status code corresponding to a particular message and is returned to the user. The different status codes corresponding to this API are mentioned below
Example: 200
status
boolean
This parameter indicates the status of API call.
Possible Values: true or false
type
string(100)
This parameter indicates the type of the webhook.
Example: templatecreated
message
string(100)
This parameter is the result message which contains information about the result.
Example: get data successfully.
object
This parameter gives the information about the result of the API response.
Attribute Description
companyid
string(32)
Unique Id of the company.
Example: A11252061088JI1EUW6MK20207933692
userid
string(32)
Unique Id of the user.
Example: W6MK20207938JIA11252061081EU3692
templateid
string(32)
Unique Id of the template.
Example: MK202079338JIA11252061081EUW6692
array of object
This parameter gives the information about the predefined fields.
Attribute Description
role
string(32)
Role of the recipient.
Example: Manager
predefinedData
string(max)
predefined data of the recipient.

Response Codes and Messages

statuscode status Description
200
true
Success
401
false
Your Session has expired
409
false
Conflict has occured
422
false
Invalid parameter
500
false
System error