{
  "opencollection": "1.0.0",
  "info": {
    "name": "Channel Accounts Channels API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Channels",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get channel",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api2.frontapp.com/channels/:channel_id",
            "params": [
              {
                "name": "channel_id",
                "value": "",
                "type": "path",
                "description": "The Channel ID. Alternatively, you can supply the channel address as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1)."
              }
            ]
          },
          "docs": "Fetch a channel.\n\nRequired scope: `channels:read`"
        },
        {
          "info": {
            "name": "Update Channel",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api2.frontapp.com/channels/:channel_id",
            "params": [
              {
                "name": "channel_id",
                "value": "",
                "type": "path",
                "description": "The Channel ID. Alternatively, you can supply the channel address as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a channel."
        },
        {
          "info": {
            "name": "List channels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api2.frontapp.com/channels"
          },
          "docs": "List the channels of the company.\n\nRequired scope: `channels:read`"
        },
        {
          "info": {
            "name": "Validate channel",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api2.frontapp.com/channels/:channel_id/validate",
            "params": [
              {
                "name": "channel_id",
                "value": "",
                "type": "path",
                "description": "The Channel ID. Alternatively, you can supply the channel address as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1)."
              }
            ]
          },
          "docs": "Asynchronously validate an SMTP channel (this endpoint is irrelevant to other channel types). When you create an SMTP channel via the API, [create a channel](https://dev.frontapp.com/reference/post_inboxes-inbox-id-channels) with type smtp and the send_as set to the needed email address. You then [configure the email provider](https://help.front.com/en/articles/2081), after which you use this endpoint to asynchronously validate the SMTP settings.\n\nRequired scope: `channels:write`"
        },
        {
          "info": {
            "name": "Create a channel",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api2.frontapp.com/inboxes/:inbox_id/channels",
            "params": [
              {
                "name": "inbox_id",
                "value": "",
                "type": "path",
                "description": "The Inbox ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a channel in an inbox.\n\nRequired scope: `channels:write`"
        },
        {
          "info": {
            "name": "List teammate channels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api2.frontapp.com/teammates/:teammate_id/channels",
            "params": [
              {
                "name": "teammate_id",
                "value": "",
                "type": "path",
                "description": "The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1)."
              }
            ]
          },
          "docs": "List the channels of a teammate.\n\nRequired scope: `channels:read`"
        },
        {
          "info": {
            "name": "List team channels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api2.frontapp.com/teams/:team_id/channels",
            "params": [
              {
                "name": "team_id",
                "value": "",
                "type": "path",
                "description": "The team ID"
              }
            ]
          },
          "docs": "List the channels of a team (workspace).\n\nRequired scope: `channels:read`"
        }
      ]
    }
  ],
  "bundled": true
}