LinkedIn · Capability

LinkedIn Marketing Audiences API — Company Streaming

LinkedIn Marketing Audiences API — Company Streaming. 1 operations. Lead operation: LinkedIn Stream Company Data to Segment. Self-contained Naftiko capability covering one Linkedin business surface.

Run with Naftiko LinkedinCompany Streaming

What You Can Do

POST
Streamcompaniestosegment — LinkedIn Stream Company Data to Segment
/v1/dmpsegments/{companysegmentid}/companies

MCP Tools

linkedin-stream-company-data-segment

LinkedIn Stream Company Data to Segment

Capability Spec

marketing-audience-company-streaming.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LinkedIn Marketing Audiences API — Company Streaming
  description: 'LinkedIn Marketing Audiences API — Company Streaming. 1 operations. Lead operation: LinkedIn Stream Company
    Data to Segment. Self-contained Naftiko capability covering one Linkedin business surface.'
  tags:
  - Linkedin
  - Company Streaming
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LINKEDIN_API_KEY: LINKEDIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-audience-company-streaming
    baseUri: https://api.linkedin.com/rest
    description: LinkedIn Marketing Audiences API — Company Streaming business capability. Self-contained, no shared references.
    resources:
    - name: dmpSegments-CompanySegmentId-companies
      path: /dmpSegments/{CompanySegmentId}/companies
      operations:
      - name: streamcompaniestosegment
        method: POST
        description: LinkedIn Stream Company Data to Segment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Restli-Protocol-Version
          in: header
          type: string
          required: true
        - name: LinkedIn-Version
          in: header
          type: string
          required: true
        - name: X-RestLi-Method
          in: header
          type: string
          required: true
        - name: CompanySegmentId
          in: path
          type: string
          description: ID of the company DMP segment
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.LINKEDIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: marketing-audience-company-streaming-rest
    port: 8080
    description: REST adapter for LinkedIn Marketing Audiences API — Company Streaming. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/dmpsegments/{companysegmentid}/companies
      name: dmpsegments-companysegmentid-companies
      description: REST surface for dmpSegments-CompanySegmentId-companies.
      operations:
      - method: POST
        name: streamcompaniestosegment
        description: LinkedIn Stream Company Data to Segment
        call: marketing-audience-company-streaming.streamcompaniestosegment
        with:
          X-Restli-Protocol-Version: rest.X-Restli-Protocol-Version
          LinkedIn-Version: rest.LinkedIn-Version
          X-RestLi-Method: rest.X-RestLi-Method
          CompanySegmentId: rest.CompanySegmentId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-audience-company-streaming-mcp
    port: 9090
    transport: http
    description: MCP adapter for LinkedIn Marketing Audiences API — Company Streaming. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: linkedin-stream-company-data-segment
      description: LinkedIn Stream Company Data to Segment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-audience-company-streaming.streamcompaniestosegment
      with:
        X-Restli-Protocol-Version: tools.X-Restli-Protocol-Version
        LinkedIn-Version: tools.LinkedIn-Version
        X-RestLi-Method: tools.X-RestLi-Method
        CompanySegmentId: tools.CompanySegmentId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.