LinkedIn · Capability

Content APIs — Use Cases > Conversation Ad > Sponsored Message Contents

Content APIs — Use Cases > Conversation Ad > Sponsored Message Contents. 6 operations. Lead operation: LinkedIn Batch Create Sponsored Message Content. Self-contained Naftiko capability covering one Linkedin business surface.

Run with Naftiko LinkedinUse Cases > Conversation Ad > Sponsored Message Contents

What You Can Do

POST
Postbatchcreatesponsoredmessage — LinkedIn Batch Create Sponsored Message Content
/v1/conversationads/{conversationadsid}/sponsoredmessagecontents
GET
Getbatchgetsponsoredmessage — LinkedIn Batch Get Sponsored Message Content
/v1/conversationads/{conversationurn}/sponsoredmessagecontents
POST
Postbatchupdatesponsoredmessage — LinkedIn Batch Update Sponsored Message Content
/v1/conversationads/{conversationurn}/sponsoredmessagecontents
DELETE
Deletebatchdeletesponsoredmessage — LinkedIn Batch Delete Sponsored Message Content
/v1/conversationads/{conversationurn}/sponsoredmessagecontents
GET
Getgetsponsoredmessagecontent — LinkedIn Get Sponsored Message Content
/v1/conversationads/{conversationurn}/sponsoredmessagecontents/{messageurn}
POST
Postupdatesponsoredmessagecontent — LinkedIn Update Sponsored Message Content
/v1/conversationads/{conversationurn}/sponsoredmessagecontents/{messageurn}

MCP Tools

linkedin-batch-create-sponsored-message

LinkedIn Batch Create Sponsored Message Content

linkedin-batch-get-sponsored-message

LinkedIn Batch Get Sponsored Message Content

read-only idempotent
linkedin-batch-update-sponsored-message

LinkedIn Batch Update Sponsored Message Content

linkedin-batch-delete-sponsored-message

LinkedIn Batch Delete Sponsored Message Content

idempotent
linkedin-get-sponsored-message-content

LinkedIn Get Sponsored Message Content

read-only idempotent
linkedin-update-sponsored-message-content

LinkedIn Update Sponsored Message Content

Capability Spec

marketing-content-use-cases-conversation-ad-sponsored-message-contents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Content APIs — Use Cases > Conversation Ad > Sponsored Message Contents
  description: 'Content APIs — Use Cases > Conversation Ad > Sponsored Message Contents. 6 operations. Lead operation: LinkedIn
    Batch Create Sponsored Message Content. Self-contained Naftiko capability covering one Linkedin business surface.'
  tags:
  - Linkedin
  - Use Cases > Conversation Ad > Sponsored Message Contents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LINKEDIN_API_KEY: LINKEDIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-content-use-cases-conversation-ad-sponsored-message-contents
    baseUri: https://api.linkedin.com
    description: Content APIs — Use Cases > Conversation Ad > Sponsored Message Contents business capability. Self-contained,
      no shared references.
    resources:
    - name: conversationAds-conversationAdsId-sponsoredMessageContents
      path: /conversationAds/{conversationAdsId}/sponsoredMessageContents
      operations:
      - name: postbatchcreatesponsoredmessage
        method: POST
        description: LinkedIn Batch Create Sponsored Message Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LinkedIn-Version
          in: header
          type: string
        - name: Authorization
          in: header
          type: string
        - name: X-RestLi-Method
          in: header
          type: string
        - name: conversationAdsId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: conversationAds-conversationUrn-sponsoredMessageContents
      path: /conversationAds/{conversationUrn}/sponsoredMessageContents
      operations:
      - name: getbatchgetsponsoredmessage
        method: GET
        description: LinkedIn Batch Get Sponsored Message Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LinkedIn-Version
          in: header
          type: string
        - name: Authorization
          in: header
          type: string
        - name: X-RestLi-Method
          in: header
          type: string
        - name: ids
          in: query
          type: string
        - name: conversationUrn
          in: path
          type: string
          required: true
      - name: postbatchupdatesponsoredmessage
        method: POST
        description: LinkedIn Batch Update Sponsored Message Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: '''Authorization'
          in: header
          type: string
        - name: LinkedIn-Version
          in: header
          type: string
        - name: X-RestLi-Method
          in: header
          type: string
        - name: ids
          in: query
          type: string
        - name: conversationUrn
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletebatchdeletesponsoredmessage
        method: DELETE
        description: LinkedIn Batch Delete Sponsored Message Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: LinkedIn-Version
          in: header
          type: string
        - name: X-RestLi-Method
          in: header
          type: string
        - name: ids
          in: query
          type: string
        - name: conversationUrn
          in: path
          type: string
          required: true
    - name: conversationAds-conversationUrn-sponsoredMessageContents-messageUrn
      path: /conversationAds/{conversationUrn}/sponsoredMessageContents/{messageUrn}
      operations:
      - name: getgetsponsoredmessagecontent
        method: GET
        description: LinkedIn Get Sponsored Message Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LinkedIn-Version
          in: header
          type: string
        - name: Authorization
          in: header
          type: string
        - name: conversationUrn
          in: path
          type: string
          required: true
        - name: messageUrn
          in: path
          type: string
          required: true
      - name: postupdatesponsoredmessagecontent
        method: POST
        description: LinkedIn Update Sponsored Message Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LinkedIn-Version
          in: header
          type: string
        - name: Authorization
          in: header
          type: string
        - name: conversationUrn
          in: path
          type: string
          required: true
        - name: messageUrn
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: marketing-content-use-cases-conversation-ad-sponsored-message-contents-rest
    port: 8080
    description: REST adapter for Content APIs — Use Cases > Conversation Ad > Sponsored Message Contents. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/conversationads/{conversationadsid}/sponsoredmessagecontents
      name: conversationads-conversationadsid-sponsoredmessagecontents
      description: REST surface for conversationAds-conversationAdsId-sponsoredMessageContents.
      operations:
      - method: POST
        name: postbatchcreatesponsoredmessage
        description: LinkedIn Batch Create Sponsored Message Content
        call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.postbatchcreatesponsoredmessage
        with:
          LinkedIn-Version: rest.LinkedIn-Version
          Authorization: rest.Authorization
          X-RestLi-Method: rest.X-RestLi-Method
          conversationAdsId: rest.conversationAdsId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/conversationads/{conversationurn}/sponsoredmessagecontents
      name: conversationads-conversationurn-sponsoredmessagecontents
      description: REST surface for conversationAds-conversationUrn-sponsoredMessageContents.
      operations:
      - method: GET
        name: getbatchgetsponsoredmessage
        description: LinkedIn Batch Get Sponsored Message Content
        call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.getbatchgetsponsoredmessage
        with:
          LinkedIn-Version: rest.LinkedIn-Version
          Authorization: rest.Authorization
          X-RestLi-Method: rest.X-RestLi-Method
          ids: rest.ids
          conversationUrn: rest.conversationUrn
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postbatchupdatesponsoredmessage
        description: LinkedIn Batch Update Sponsored Message Content
        call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.postbatchupdatesponsoredmessage
        with:
          '''Authorization': rest.'Authorization
          LinkedIn-Version: rest.LinkedIn-Version
          X-RestLi-Method: rest.X-RestLi-Method
          ids: rest.ids
          conversationUrn: rest.conversationUrn
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletebatchdeletesponsoredmessage
        description: LinkedIn Batch Delete Sponsored Message Content
        call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.deletebatchdeletesponsoredmessage
        with:
          Authorization: rest.Authorization
          LinkedIn-Version: rest.LinkedIn-Version
          X-RestLi-Method: rest.X-RestLi-Method
          ids: rest.ids
          conversationUrn: rest.conversationUrn
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/conversationads/{conversationurn}/sponsoredmessagecontents/{messageurn}
      name: conversationads-conversationurn-sponsoredmessagecontents-messageurn
      description: REST surface for conversationAds-conversationUrn-sponsoredMessageContents-messageUrn.
      operations:
      - method: GET
        name: getgetsponsoredmessagecontent
        description: LinkedIn Get Sponsored Message Content
        call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.getgetsponsoredmessagecontent
        with:
          LinkedIn-Version: rest.LinkedIn-Version
          Authorization: rest.Authorization
          conversationUrn: rest.conversationUrn
          messageUrn: rest.messageUrn
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postupdatesponsoredmessagecontent
        description: LinkedIn Update Sponsored Message Content
        call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.postupdatesponsoredmessagecontent
        with:
          LinkedIn-Version: rest.LinkedIn-Version
          Authorization: rest.Authorization
          conversationUrn: rest.conversationUrn
          messageUrn: rest.messageUrn
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-content-use-cases-conversation-ad-sponsored-message-contents-mcp
    port: 9090
    transport: http
    description: MCP adapter for Content APIs — Use Cases > Conversation Ad > Sponsored Message Contents. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: linkedin-batch-create-sponsored-message
      description: LinkedIn Batch Create Sponsored Message Content
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.postbatchcreatesponsoredmessage
      with:
        LinkedIn-Version: tools.LinkedIn-Version
        Authorization: tools.Authorization
        X-RestLi-Method: tools.X-RestLi-Method
        conversationAdsId: tools.conversationAdsId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: linkedin-batch-get-sponsored-message
      description: LinkedIn Batch Get Sponsored Message Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.getbatchgetsponsoredmessage
      with:
        LinkedIn-Version: tools.LinkedIn-Version
        Authorization: tools.Authorization
        X-RestLi-Method: tools.X-RestLi-Method
        ids: tools.ids
        conversationUrn: tools.conversationUrn
      outputParameters:
      - type: object
        mapping: $.
    - name: linkedin-batch-update-sponsored-message
      description: LinkedIn Batch Update Sponsored Message Content
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.postbatchupdatesponsoredmessage
      with:
        '''Authorization': tools.'Authorization
        LinkedIn-Version: tools.LinkedIn-Version
        X-RestLi-Method: tools.X-RestLi-Method
        ids: tools.ids
        conversationUrn: tools.conversationUrn
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: linkedin-batch-delete-sponsored-message
      description: LinkedIn Batch Delete Sponsored Message Content
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.deletebatchdeletesponsoredmessage
      with:
        Authorization: tools.Authorization
        LinkedIn-Version: tools.LinkedIn-Version
        X-RestLi-Method: tools.X-RestLi-Method
        ids: tools.ids
        conversationUrn: tools.conversationUrn
      outputParameters:
      - type: object
        mapping: $.
    - name: linkedin-get-sponsored-message-content
      description: LinkedIn Get Sponsored Message Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.getgetsponsoredmessagecontent
      with:
        LinkedIn-Version: tools.LinkedIn-Version
        Authorization: tools.Authorization
        conversationUrn: tools.conversationUrn
        messageUrn: tools.messageUrn
      outputParameters:
      - type: object
        mapping: $.
    - name: linkedin-update-sponsored-message-content
      description: LinkedIn Update Sponsored Message Content
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-content-use-cases-conversation-ad-sponsored-message-contents.postupdatesponsoredmessagecontent
      with:
        LinkedIn-Version: tools.LinkedIn-Version
        Authorization: tools.Authorization
        conversationUrn: tools.conversationUrn
        messageUrn: tools.messageUrn
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.