{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bird Channels Messaging API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Messaging",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List messages by channel",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bird.com/workspaces/:workspaceId/channels/:channelId/messages",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Bird workspace identifier."
              },
              {
                "name": "channelId",
                "value": "",
                "type": "path",
                "description": "Channel identifier within the workspace."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "direction",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "startAt",
                "value": "",
                "type": "query"
              },
              {
                "name": "endAt",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List messages by channel"
        },
        {
          "info": {
            "name": "Send a message",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bird.com/workspaces/:workspaceId/channels/:channelId/messages",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Bird workspace identifier."
              },
              {
                "name": "channelId",
                "value": "",
                "type": "path",
                "description": "Channel identifier within the workspace."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send a message over an active channel. The request must include a receiver and either an inline body or a template. Max request size is 200 KB total, 100 KB per inline attachment."
        }
      ]
    }
  ],
  "bundled": true
}