SendListMessages

Send ListMessage

post
Query parameters
idstringRequiredExample: id
Body
all ofOptional
and
anyOptionalExample: {"instance_key":"id","jid":"receivernumber","title":"TITLE","text":"list message","footer":"footer","buttonText":"hello","sections":[{"title":"list","rows":[{"title":"list 1","description":"descript 1","rowId":"1"},{"title":"list 2","description":"descript 2","rowId":"2"}]}]}
Responses
200Success
post
POST /chats/sendListMessages HTTP/1.1
Host: base_url
Content-Type: application/json
Accept: */*
Content-Length: 276

{
  "instance_key": "id",
  "jid": "receivernumber",
  "title": "TITLE",
  "text": "list message",
  "footer": "footer",
  "buttonText": "hello",
  "sections": [
    {
      "title": "list",
      "rows": [
        {
          "title": "list 1",
          "description": "descript 1",
          "rowId": "1"
        },
        {
          "title": "list 2",
          "description": "descript 2",
          "rowId": "2"
        }
      ]
    }
  ]
}
200Success

No content

Last updated

Was this helpful?