Skip to main content
GET
/
v3
/
{message_template_id}
Get Template with ID
curl --request GET \
  --url https://one.telepie.com/v3/{message_template_id} \
  --header 'apikey: <api-key>'

Request Body Parameters

message_template_id
string
required
Specifies the message template id.
{
  "name": "ltotemp36013m103",
  "components": [
    {
      "type": "BODY",
      "text": "Hey User, caribeen ackages!"
    },
    {
      "type": "LIMITED_TIME_OFFER",
      "limited_time_offer": {
        "text": "Expiring offer!",
        "has_expiration": true
      }
    },
    {
      "type": "BUTTONS",
      "buttons": [
        {
          "type": "COPY_CODE",
          "text": "Copy offer code",
          "example": ["CARIBE25"]
        },
        {
          "type": "URL",
          "text": "Click",
          "url": "https://www.website.com/{{1}}",
          "example": ["dynamic-url-example"]
        },
        {
          "type": "PHONE_NUMBER",
          "text": "call",
          "phone_number": "+917755991051"
        }
      ]
    }
  ],
  "language": "en_US",
  "status": "APPROVED",
  "category": "MARKETING",
  "id": "2883983598406625"
}