{
  "opencollection": "1.0.0",
  "info": {
    "name": "Snapchat Ads Ad Accounts Creatives API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://accounts.snapchat.com/accounts/oauth2/auth",
      "accessTokenUrl": "https://accounts.snapchat.com/login/oauth2/access_token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Creatives",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Creatives for an Ad Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://adsapi.snapchat.com/v1/adaccounts/:ad_account_id/creatives",
            "params": [
              {
                "name": "ad_account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the ad account"
              }
            ]
          },
          "docs": "Retrieves all creatives associated with the specified ad account."
        },
        {
          "info": {
            "name": "Create a Creative",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://adsapi.snapchat.com/v1/adaccounts/:ad_account_id/creatives",
            "params": [
              {
                "name": "ad_account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the ad account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new creative under the specified ad account."
        },
        {
          "info": {
            "name": "Get a Specific Creative",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://adsapi.snapchat.com/v1/creatives/:creative_id",
            "params": [
              {
                "name": "creative_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the creative"
              }
            ]
          },
          "docs": "Retrieves details for a specific creative by its ID."
        }
      ]
    }
  ],
  "bundled": true
}