{
  "opencollection": "1.0.0",
  "info": {
    "name": "Optimizely Campaign REST Assets Profiles API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Profiles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create or update a profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.campaign.episerver.net/rest/profiles",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new customer profile or updates an existing one in ODP. Profiles are identified by one or more identifier fields such as email, customer_id, or vuid."
        },
        {
          "info": {
            "name": "Get a profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.campaign.episerver.net/rest/profiles/:identifier_field/:identifier_value",
            "params": [
              {
                "name": "identifier_field",
                "value": "",
                "type": "path",
                "description": "The identifier field name (e.g., email, customer_id, vuid)"
              },
              {
                "name": "identifier_value",
                "value": "",
                "type": "path",
                "description": "The value of the identifier field"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of profile fields to return"
              }
            ]
          },
          "docs": "Retrieves a customer profile by a specific identifier field and value, such as email address or customer ID."
        }
      ]
    }
  ],
  "bundled": true
}