{
  "opencollection": "1.0.0",
  "info": {
    "name": "Reddit Ads Account Users API",
    "version": "3"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://www.reddit.com/api/v1/authorize",
      "accessTokenUrl": "https://www.reddit.com/api/v1/access_token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get User Profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/user/:username/about",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The username of the user to look up."
              }
            ]
          },
          "docs": "Returns public information about the specified user, including karma, account age, and display preferences."
        },
        {
          "info": {
            "name": "Get User Submissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/user/:username/submitted",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The username to get submissions for."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "The sorting method."
              },
              {
                "name": "t",
                "value": "",
                "type": "query",
                "description": "The time period for filtering results."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "The fullname of a thing used as an anchor for pagination. Returns results after this item."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "The fullname of a thing used as an anchor for pagination. Returns results before this item."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return (default 25, max 100)."
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "A positive integer indicating the number of items already seen in this listing, used for pagination numbering."
              }
            ]
          },
          "docs": "Returns a listing of submissions posted by the specified user."
        },
        {
          "info": {
            "name": "Get User Comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/user/:username/comments",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The username to get comments for."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "The sorting method."
              },
              {
                "name": "t",
                "value": "",
                "type": "query",
                "description": "The time period for filtering results."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "The fullname of a thing used as an anchor for pagination. Returns results after this item."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "The fullname of a thing used as an anchor for pagination. Returns results before this item."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return (default 25, max 100)."
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "A positive integer indicating the number of items already seen in this listing, used for pagination numbering."
              }
            ]
          },
          "docs": "Returns a listing of comments posted by the specified user."
        },
        {
          "info": {
            "name": "Get User Trophies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/user/:username/trophies",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The username to get trophies for."
              }
            ]
          },
          "docs": "Returns a list of trophies for the specified user."
        }
      ]
    }
  ],
  "bundled": true
}