Message Templates
Update Message Template
Changed onUpdate a message template using the public v2 request shape.
patch/message-templates/{messageTemplateId}
Request
- Base URL: https://api.thanks.io/api/v2
- URL: https://api.thanks.io/api/v2/message-templates/{messageTemplateId}
- Auth: HTTP bearer
Request body
Example request
{
"handwriting_style_id": 4,
"font_color": "rgba(31,0,113,0.80)",
"handwriting_realism": true,
"type": "notecard"
}Response
OK
Example response
{
"id": 2,
"user_id": 2,
"handwriting_style_id": 18,
"font_color": "#000000",
"name": "Thank You Message",
"content": "Hey %FIRST_NAME%!,\n\nTHANK YOU for allowing us the opportunity to HELP you with your plan!",
"custom_background_url": "https://example.com/background.png",
"qrcode_url": "https://thanks.io",
"created_at": "2018-08-08T02:56:59.000000Z",
"updated_at": "2025-02-12T05:13:15.000000Z",
"type": "notecard",
"giftcard_brand_code": "amazonus",
"giftcard_brand_image": "https://cdn.thanks.io/giftcards/amazonus.png",
"giftcard_amount": 5000,
"share_uuid": "5J5N-QAD3-6LLL-LSZZ"
}Changes
- warning
added the new
postcard6x9enum value to theresponse property for the response status - info
added the new
postcard6x9enum value to the request property
- warning
- info
endpoint added
- info