> ## Documentation Index
> Fetch the complete documentation index at: https://developers.explorium.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Company's social media presence (Bulk)

<AccordionGroup>
  <Accordion title="How It Works">
    * **Input:** Provide a list of up to **`50business_ids`**.
    * **Processing:** The system retrieves social media engagement metrics for all submitted businesses in a **single request**.
    * **Output:** A structured response summarizing social media activity and trends.
  </Accordion>

  <Accordion title="Example Request (cURL)">
    ```shell Bash theme={null}
    curl --request POST \
         --url https://api.explorium.ai/v1/businesses/linkedin_posts/bulk_enrich \
         --header 'accept: application/json' \
         --header 'api_key: your_api_key_here' \
         --header 'content-type: application/json' \
         --data '{
      "business_ids": [
        "8adce3ca1cef0c986b22310e369a0793",
        "a34bacf839b923770b2c360eefa26748"
      ]
    }'
    ```
  </Accordion>

  <Accordion title="Best Practices">
    * **Track social media activity** to analyze company messaging trends.
    * **Compare engagement metrics** with competitors.
    * **Use social media insights** to refine branding strategies.
  </Accordion>
</AccordionGroup>

<Icon icon="thumbtack" iconType="solid" color="red" /> **For additional enrichment options, explore related API endpoints below.**

## Body Params - Try Me Example

```
business_ids: ["8adce3ca1cef0c986b22310e369a0793",
               "a34bacf839b923770b2c360eefa26748"]
```


## OpenAPI

````yaml post /v1/businesses/linkedin_posts/bulk_enrich
openapi: 3.1.0
info:
  title: Partner Service
  version: 0.2.349
servers:
  - url: https://api.explorium.ai
    description: AgentSource Server
security: []
paths:
  /v1/businesses/linkedin_posts/bulk_enrich:
    post:
      tags:
        - BulkBusinessEnrichments
      summary: Linkedin Posts
      operationId: businesses_linkedin_posts_bulk_enrich
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/partner_service__models__businesses__enrich_requests__LinkedInPostsBulkEnrichRequest
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BusinessesBulkEnrichResponse_LinkedinCompaniesPostsOutputSchema_
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - APIKeyHeader: []
components:
  schemas:
    partner_service__models__businesses__enrich_requests__LinkedInPostsBulkEnrichRequest:
      properties:
        request_context:
          type: object
          title: Request Context
          example: null
          nullable: true
        parameters:
          $ref: '#/components/schemas/LinkedInPostsEnrichmentParams'
        business_ids:
          items:
            type: string
            pattern: ^[a-f0-9]{32}$
          type: array
          maxItems: 50
          minItems: 1
          title: Business Ids
      additionalProperties: false
      type: object
      required:
        - business_ids
      title: LinkedInPostsBulkEnrichRequest
    BusinessesBulkEnrichResponse_LinkedinCompaniesPostsOutputSchema_:
      properties:
        response_context:
          $ref: '#/components/schemas/ResponseContext'
        data:
          items:
            $ref: >-
              #/components/schemas/BusinessesBulkEnrichRow_LinkedinCompaniesPostsOutputSchema_
          type: array
          title: Data
        entity_id:
          anyOf:
            - type: string
              pattern: ^[a-f0-9]{32}$
            - type: string
              pattern: ^[a-f0-9]{40}$
          title: Entity Id
        total_results:
          type: integer
          title: Total Results
      type: object
      required:
        - response_context
        - total_results
      title: BusinessesBulkEnrichResponse[LinkedinCompaniesPostsOutputSchema]
      description: 'This is base response model for all responses in partner service. '
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    LinkedInPostsEnrichmentParams:
      properties: {}
      additionalProperties: false
      type: object
      title: LinkedInPostsEnrichmentParams
    ResponseContext:
      properties:
        correlation_id:
          type: string
          title: Correlation Id
        request_status:
          $ref: '#/components/schemas/RequestStatus'
        time_took_in_seconds:
          type: number
          title: Time Took In Seconds
      type: object
      required:
        - correlation_id
        - request_status
        - time_took_in_seconds
      title: ResponseContext
    BusinessesBulkEnrichRow_LinkedinCompaniesPostsOutputSchema_:
      properties:
        business_id:
          type: string
          pattern: ^[a-f0-9]{32}$
          title: Business Id
        data:
          $ref: '#/components/schemas/LinkedinCompaniesPostsOutputSchema'
      type: object
      required:
        - business_id
      title: BusinessesBulkEnrichRow[LinkedinCompaniesPostsOutputSchema]
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    RequestStatus:
      type: string
      enum:
        - success
        - miss
        - failure
      title: RequestStatus
      description: >-
        The `RequestStatus` class is an enumeration that defines the possible
        statuses of a request.


        This enum is used to indicate whether a request was successful, missed,
        or failed. It ensures

        consistent handling of request statuses across the application.


        Attributes:
            SUCCESS: Indicates that the request was successfully processed.
            MISS: Indicates that the request did not find any matching data.
            FAILURE: Indicates that the request encountered an error or failure.
    LinkedinCompaniesPostsOutputSchema:
      properties:
        display_name:
          type: string
          title: Display Name
        post_text:
          type: string
          title: Post Text
        days_since_posted:
          type: integer
          title: Days Since Posted
        post_url:
          type: string
          maxLength: 2048
          pattern: >-
            ^(https?:)?//(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+[a-z\u00a1-\uffff]{2,}\.?(?:[/?#]\S*)?$
          format: uri
          title: Post Url
        number_of_comments:
          type: integer
          title: Number Of Comments
        number_of_likes:
          type: integer
          title: Number Of Likes
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      title: LinkedinCompaniesPostsOutputSchema
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: api_key

````