{
  "opencollection": "1.0.0",
  "info": {
    "name": "Discord Interactions Application Commands Invites API",
    "version": "10"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Invites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "invite_resolve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://discord.com/api/v10/invites/:code",
            "params": [
              {
                "name": "code",
                "value": "",
                "type": "path"
              },
              {
                "name": "with_counts",
                "value": "",
                "type": "query"
              },
              {
                "name": "guild_scheduled_event_id",
                "value": "",
                "type": "query"
              }
            ]
          }
        },
        {
          "info": {
            "name": "invite_revoke",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://discord.com/api/v10/invites/:code",
            "params": [
              {
                "name": "code",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "Discord List channel invites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://discord.com/api/v10/channels/:channel_id/invites",
            "params": [
              {
                "name": "channel_id",
                "value": "",
                "type": "path",
                "description": "The ID of the channel (Snowflake)"
              }
            ]
          },
          "docs": "Returns a list of invite objects for the channel."
        },
        {
          "info": {
            "name": "Discord Create channel invite",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://discord.com/api/v10/channels/:channel_id/invites",
            "params": [
              {
                "name": "channel_id",
                "value": "",
                "type": "path",
                "description": "The ID of the channel (Snowflake)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new invite object for the channel."
        },
        {
          "info": {
            "name": "Discord List guild invites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://discord.com/api/v10/guilds/:guild_id/invites",
            "params": [
              {
                "name": "guild_id",
                "value": "",
                "type": "path",
                "description": "The ID of the guild (Snowflake)"
              }
            ]
          },
          "docs": "Returns a list of invite objects for the guild."
        }
      ]
    }
  ],
  "bundled": true
}