Ziwako Docs
Ziwako MessageRéférence APIChannels

Liste Message

GET
/channels/{id}/messages

Authorization

apikey-header-authorization
authorization<token>

In: header

Path Parameters

id*string

Query Parameters

filter?
limit?number
page?number
sort?string
populate?array<>
select?
skip?number

Response Body

application/json

curl -X GET "https://example.com/channels/string/messages?filter=&limit=0&page=0&sort=&populate=&select=&skip=0"
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "docs": [      {        "id": "string",        "title": "string",        "body": "string",        "resume": "string",        "payload": {},        "type": "Text",        "scope": "string",        "reactions": [          "string"        ],        "status": "Unread",        "actions": [          {            "scope": "string",            "identifier": "string",            "name": "string",            "payload": {},            "type": "string"          }        ],        "owner": "string",        "channel": "string",        "channels": [          "string"        ],        "priority": "low",        "variables": {},        "sendingOptions": {          "delayBetweenChannels": 0,          "failureHandling": "continue",          "batchSize": 0,          "retryAttempts": 3,          "retryDelay": 1000        },        "attachments": [          {            "id": "string",            "type": "image",            "filename": "string",            "url": "string",            "thumbnail": "string",            "dimensions": {              "width": 0,              "height": 0            },            "duration": 0,            "size": 0,            "metadata": {}          }        ],        "mediaContent": {          "images": [            {              "id": "string",              "type": "string",              "filename": "string",              "url": "string",              "thumbnail": "string",              "dimensions": {                "width": 0,                "height": 0              },              "size": 0,              "metadata": {}            }          ],          "videos": [            {              "id": "string",              "type": "string",              "filename": "string",              "url": "string",              "thumbnail": "string",              "dimensions": {                "width": 0,                "height": 0              },              "duration": 0,              "size": 0,              "metadata": {}            }          ],          "audio": [            {              "id": "string",              "type": "string",              "filename": "string",              "url": "string",              "duration": 0,              "size": 0,              "metadata": {}            }          ],          "documents": [            {              "id": "string",              "type": "string",              "filename": "string",              "url": "string",              "size": 0,              "metadata": {}            }          ]        },        "emailConfig": {          "from": "string",          "subject": "string",          "cc": [            "string"          ],          "bcc": [            "string"          ],          "replyTo": "string",          "attachments": [            {}          ],          "headers": {}        },        "smsConfig": {          "senderAddress": "string",          "phoneNumber": "string",          "shortCode": "string",          "encoding": "GSM7",          "deliveryReceipt": false        },        "pushConfig": {          "badge": 0,          "sound": "string",          "category": "string",          "icon": "string",          "image": "string",          "clickAction": "string",          "tag": "string",          "data": {}        },        "chatConfig": {          "roomName": "string",          "participantIdentity": "string",          "participantName": "string",          "liveKitConfig": {            "apiKey": "string",            "apiSecret": "string",            "wsUrl": "string"          },          "permissions": {            "canPublish": true,            "canSubscribe": true,            "canPublishData": true          },          "moderationSettings": {            "allowComments": true,            "moderators": [              "string"            ],            "blockedParticipants": [              "string"            ]          }        },        "templateId": "string",        "templateVariables": {},        "personalizations": [          {            "to": [              "string"            ],            "variables": {}          }        ],        "scheduledAt": "2019-08-24T14:15:22Z",        "expiresAt": "2019-08-24T14:15:22Z",        "timezone": "UTC",        "trackingEnabled": false,        "clickTracking": false,        "openTracking": false,        "deliveryTracking": false,        "metadata": {},        "tags": [          "string"        ],        "categories": [          "string"        ],        "serviceType": "email",        "integration": {          "serviceProvider": "string",          "apiKey": "string",          "configuration": {}        },        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    ],    "totalDocs": 0,    "limit": 0,    "totalPages": 0,    "page": 0,    "pagingCounter": 0,    "hasPrevPage": true,    "hasNextPage": true,    "prevPage": 0,    "nextPage": 0  }}