{
  "opencollection": "1.0.0",
  "info": {
    "name": "Reddit Ads Account Custom Audiences 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": "Custom Audiences",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Custom Audiences",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/custom_audiences",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return per page (default 25, max 100)."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "A pagination cursor for retrieving the next page of results."
              }
            ]
          },
          "docs": "Lists custom audiences in a Reddit Ads account. Custom audiences allow targeting specific users based on email lists, mobile device IDs, or website visitor data."
        },
        {
          "info": {
            "name": "Create a Custom Audience",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/custom_audiences",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new custom audience for targeting in ad campaigns."
        },
        {
          "info": {
            "name": "Get a Custom Audience",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/custom_audiences/:audience_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "audience_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the custom audience."
              }
            ]
          },
          "docs": "Fetches detailed information about a specific custom audience."
        },
        {
          "info": {
            "name": "Update a Custom Audience",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/custom_audiences/:audience_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "audience_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the custom audience."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing custom audience's configuration and user list."
        },
        {
          "info": {
            "name": "Delete a Custom Audience",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://ads-api.reddit.com/api/v3/accounts/:account_id/custom_audiences/:audience_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Reddit Ads account."
              },
              {
                "name": "audience_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the custom audience."
              }
            ]
          },
          "docs": "Deletes a custom audience from the account."
        }
      ]
    }
  ],
  "bundled": true
}