Flowmatix Documentation

GET Templates List

Was this helpful?

  • Happy
  • Normal
  • Sad

API to get list of all the templates with their current status

API End Point #

    
      
        https://api.v7.flowmatix.ai/whatsapp-automation/wa/templates?apiKey=*API KEY*
      
    
  

Request Headers #

Header Details
apiKey API KEY

Query Params #

Header Details
apiKey API KEY

Examples Request #

curl --location --request GET 'https://api.v7.flowmatix.ai/whatsapp-automation/wa/templates?apiKey=*API KEY*' \
--header 'apiKey: *API KEY*'

Responses Body #

{
    "success": true,
    "data": [
        {
            "_id": "62b5c16bf1d8decfa9a72335",
            "_user": "61c1c2058e0c5a1e9bb420f8",
            "configuration": {
                "name": "uniform_update",
                "category": "APPOINTMENT_UPDATE",
                "language": "en",
                "header": "text",
                "textHeader": "Hey how are you",
                "media": "",
                "mediaHeader": {
                    "image": "",
                    "video": ""
                },
                "body": "Hi I'm Joey\nHow you doiiin",
                "footer": "thank you",
                "button": "",
                "ctaButtonType": [],
                "ctaButton": [],
                "quickReply": [
                    {
                        "id": "",
                        "text": ""
                    }
                ]
            },
            "whatsAppId": "Xk4qPq8u0HJbsIWcYgazd5ZDAK",
            "status": "APPROVED",
            "namespace": "b676ea4e_f9ce_44c8_b187_b98b40f85f9f",
            "createdAt": "2022-06-24T13:51:39.610Z",
            "updatedAt": "2022-06-24T13:52:19.838Z",
            "__v": 0
        }
    ]
}

Header #

Header Details
X-Powered-ByExpress
VaryOrigin
Access-Control-Allow-Credentialstrue
_user61c1c2058e0c5a1e9bb420f8
Content-Typeapplication/json; charset=utf-8
Content-Length7146
ETagW/"1bea-RhtE+UK94qGji1CaCyMvUWBM3E8"
DateWed, 03 Aug 2022 11:16:13 GMT
Connectionkeep-alive
Keep-Alivetimeout=5
Shopping Basket