{
  "opencollection": "1.0.0",
  "info": {
    "name": "LinkedIn Compliance Events Access Control User Streaming API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://www.linkedin.com/oauth/v2/authorization",
      "accessTokenUrl": "https://www.linkedin.com/oauth/v2/accessToken",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "User Streaming",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "LinkedIn Stream User Data to Segment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.linkedin.com/dmpSegments/:UserSegmentId/users",
            "headers": [
              {
                "name": "LinkedIn-Version",
                "value": "202401"
              },
              {
                "name": "X-Restli-Protocol-Version",
                "value": "2.0.0"
              },
              {
                "name": "X-RestLi-Method",
                "value": "BATCH_CREATE"
              }
            ],
            "params": [
              {
                "name": "UserSegmentId",
                "value": "987654322",
                "type": "path",
                "description": "ID of the user DMP segment"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add or remove multiple users from a DMP segment. The more information provided on a user, the better chance of a higher match rate."
        }
      ]
    }
  ],
  "bundled": true
}