Showing Message Templates
Use the following URL to retrieve information of a specific message template:
GET https://confirmation-api.paycertify.com/api/confirmation_templates/{confirmation_template_id}/message_templates/{message_key}
Parameter |
Type |
Presence |
Description |
Example |
confirmation_template_id |
uuid |
required |
Confirmation Template ID |
2f05a68b-b3ae-4728-aeff-80ec648df2e0 |
message_key |
string |
required |
Message template identifier |
email_body |
Field |
Type |
Description |
Example |
|
message_key |
string |
Message template identifier |
agreement |
|
content |
string |
The message’s content |
Hello. |
|
content_type |
string |
The message’s content |
text |
|
created_at |
datetime |
- |
Time that event was created, on ISO 8601 UTC |
2018-07-04T19:52:22.787Z |
updated_at |
datetime |
- |
Last time this event was updated, on ISO 8601 UTC |
2018-07-04T19:52:22.789Z |
curl --request GET \
--url 'https://confirmation-api.paycertify.com/api/confirmation_templates/63693de5-8a19-4233-b382-c75f0c6b31aa/message_templates/agreement' \
--header 'Authorization: Bearer D28A17DFD326A2E255DC4C69C17C2451446A7EC8' \
--header 'Cache-Control: no-cache' \
Responds with:
{
"message_key": "agreement",
"content": "<p>By confirming this order you agree with the disclaimer mentioned above.</p><a href=''>click this link</a>.",
"content_type": "html",
"created_at": "2018-07-04T19:52:22.789Z",
"updated_at": "2018-07-04T19:52:22.789Z"
}