{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twitch Drops Ads Moderation API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://id.twitch.tv/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Moderation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Twitch Get Banned Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.twitch.tv/helix/moderation/banned",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "broadcaster_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "first",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for forward pagination"
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Cursor for backward pagination"
              }
            ]
          },
          "docs": "Gets all users that the broadcaster has banned or timed out."
        },
        {
          "info": {
            "name": "Twitch Ban User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.twitch.tv/helix/moderation/bans",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "broadcaster_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "moderator_id",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Bans a user from participating in the specified broadcaster's chat room or times them out."
        },
        {
          "info": {
            "name": "Twitch Unban User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.twitch.tv/helix/moderation/bans",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "broadcaster_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "moderator_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Removes the ban or timeout on a user."
        },
        {
          "info": {
            "name": "Twitch Get Moderators",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.twitch.tv/helix/moderation/moderators",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "broadcaster_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "first",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for forward pagination"
              }
            ]
          },
          "docs": "Gets the moderators for the specified broadcaster's channel."
        },
        {
          "info": {
            "name": "Twitch Add Channel Moderator",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.twitch.tv/helix/moderation/moderators",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "broadcaster_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Adds a moderator to the broadcaster's channel."
        },
        {
          "info": {
            "name": "Twitch Remove Channel Moderator",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.twitch.tv/helix/moderation/moderators",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "broadcaster_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Removes a moderator from the broadcaster's channel."
        },
        {
          "info": {
            "name": "Twitch Manage Held AutoMod Messages",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.twitch.tv/helix/moderation/automod/message",
            "headers": [
              {
                "name": "Client-Id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allow or deny a message that was held by AutoMod."
        }
      ]
    }
  ],
  "bundled": true
}