Retrieving Message Templates

Use the wab/v1/templates endpoint to retrieve your approved WhatsApp templates

get/wab/v1/templates/

Request

  • Base URL
    https://apis.cequens.com/conversation
  • URL
    https://apis.cequens.com/conversation/wab/v1/templates/
  • Auth
    API key in header Authorization

Query parameters

limitinteger

limit is an optional parameter defines the maximum number of templates returned in a single API call.

Response

200

Example response

{
  "meta": {
    "version": "1.0.0"
  },
  "data": {
    "commercialTemplates": [
      {
        "name": "appointment_confirmation_arabic",
        "components": [
          {
            "type": "HEADER",
            "format": "TEXT",
            "text": "تم حجز موعدك بنجاح {{1}}"
          }
        ],
        "language": "ar",
        "status": "APPROVED",
        "category": "APPOINTMENT_UPDATE",
        "id": "603639237195456"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.