{
  "opencollection": "1.0.0",
  "info": {
    "name": "LinkedIn Compliance Events Access Control Use Cases > Social Actions Notifications > Organization Social Actions Notifications - Pull Workflow 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": "Use Cases > Social Actions Notifications > Organization Social Actions Notifications - Pull Workflow",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "LinkedIn 2. Create a Share with a Company Mention",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.linkedin.com/shares",
            "headers": [
              {
                "name": "X-Restli-Protocol-Version",
                "value": "2.0.0"
              },
              {
                "name": "LinkedIn-Version",
                "value": "{{insert_version}}"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Mention a company name by using the annotations. [Learn more](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/share-api?tabs=http#share-text-and-mentions) by viewing our public documentation.\n\nThis example uses the LinkedIn organization."
        },
        {
          "info": {
            "name": "LinkedIn 3. Retrieve Notifications for the Authenticated Member's Organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linkedin.com/eventSubscriptions",
            "headers": [
              {
                "name": "X-Restli-Protocol-Version",
                "value": "2.0.0"
              },
              {
                "name": "Linkedin-Version",
                "value": "{{insert_version}}"
              }
            ],
            "params": [
              {
                "name": "q",
                "value": "subscriberAndEventType",
                "type": "query"
              },
              {
                "name": "eventType",
                "value": "ORGANIZATION_SOCIAL_ACTION_NOTIFICATIONS",
                "type": "query"
              }
            ]
          },
          "docs": "[Learn more](https://docs.microsoft.com/linkedin/marketing/integrations/community-management/organizations/organization-social-action-notifications?tabs=http#pull-organizational-notifications) by viewing our public documentation."
        }
      ]
    }
  ],
  "bundled": true
}