Skip to main content
GET templates/:channelId
Path Parameter
ParameterTypeRequiredDescription
channelIdstringYesWhatsApp channel ID from /channels.
Example Request (cURL)
curl -X GET "https://api.visitoai.com/api/v1.0/templates/1234123412341234" \
  -H "Authorization: Bearer YOUR_API_KEY_HERE"
Example Response
{ 
  "data": [
    {
      "quality_score": {
        "score": "UNKNOWN",
        "date": 1762539922
      },
      "status": "APPROVED",
      "name": "sample_template",
      "language": "en",
      "id": "816602667738697",
      "components": [
        {
          "type": "BODY",
          "text": "This is an example body text for the template."
        },
        {
          "type": "BUTTONS",
          "buttons": [
            {
              "type": "URL",
              "text": "Click here",
              "url": "https://example.com"
            }
          ]
        }
      ]
    }
  ]
}