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

# M&A Activity

> Starts generating an Acquisitions workflow report for a specific company, providing structured intelligence on acquisition activity, target companies, and M&A landscape.

Use `/api/assets/get_notebook_status/` to track completion and `/api/assets/download_report/` to export results.


## Overview

Surface M\&A transactions across a market segment.

## Endpoint Details

* **Method:** POST
* **Endpoint:** `/api/assets/process_common/`

## Authentication requirements

* Include a valid JWT token in your request  headers
* If you don't have a token yet, you can get one from the `/auth/token/` endpoint first.

## Request

### Request Parameters

#### Header Parameters

<ParamField header="Authorization" type="string" required>
  JWT token obtained from the Authentication request
</ParamField>

#### Body Parameters

<ParamField body="reportType" type="string" required>
  `acquisition_workflow`
</ParamField>

<ParamField body="reportSource" type="string" required>
  `WKLAPP`
</ParamField>

<ParamField body="payload" type="object" required>
  Report configuration object
</ParamField>

<ParamField body="payload.topic" type="string" required>
  Industry topic to generate the acquisitions report for
</ParamField>

<ParamField body="payload.workbook_name" type="string" required>
  Name to assign to the generated workbook
</ParamField>

<ParamField body="payload.advanced_settings" type="object">
  Advanced filtering options for the report
</ParamField>

<ParamField body="payload.advanced_settings.company_type" type="string">
  Type of company to filter by. Use `"all"` to include all types
</ParamField>

<ParamField body="payload.advanced_settings.geography" type="array">
  List of geographies to filter by (e.g. `["Worldwide"]`)
</ParamField>

<ParamField body="payload.advanced_settings.funding_stage" type="array">
  List of funding stages to filter by. Pass an empty array to include all stages
</ParamField>

<ParamField body="payload.advanced_settings.employee_count" type="array">
  List of employee count ranges to filter by. Pass an empty array to include all
</ParamField>

<ParamField body="payload.advanced_settings.total_funding_include_blanks" type="boolean">
  Whether to include companies with no total funding data. Defaults to `true`
</ParamField>

## Response

Successful response will include the report\_id of the initiated Acquisitions report.

#### Successful Response Fields

<ResponseField name="report_id" type="integer">
  Report id for the initiated Acquisitions report
</ResponseField>

<ResponseExample>
  ```json 200 theme={"system"}
  {
      "report_id": 123345
  }
  ```
</ResponseExample>


## OpenAPI

````yaml POST /api/assets/process_common/
openapi: 3.0.3
info:
  title: Wokelo API
  description: >
    Wokelo provides four categories of APIs for company and market intelligence:


    1. **Enrichment** – Company and Industry data using Wokelo database and
    alternative data. Supports multi-company requests.

    2. **Discovery** – Workflows for specific use-cases such as market map,
    target screening, and buyer screening.

    3. **Monitoring** – Real-time news monitoring for companies.

    4. **Workflow Automation** – Wokelo and custom research workflows executed
    within notebooks.


    Enrichment and Discovery APIs are managed through async requests; use the
    Supporting APIs to track status and export results in JSON.

    Workflow APIs are executed within notebooks and support export to PDF, PPT,
    DOC, or JSON.


    **Authentication:** All endpoints (except `/auth/token/`) require a Bearer
    JWT token in the `Authorization` header.
  version: 1.0.0
  contact:
    url: https://docs.wokelo.ai/contact
servers:
  - url: https://api.wokelo.ai
    description: Production server
security: []
tags:
  - name: Authentication
    description: Obtain JWT tokens for API access
  - name: Enrichment
    description: Retrieve structured data for companies and industries
  - name: Discovery
    description: Identify companies via market maps, buyer and target screening
  - name: Monitoring
    description: Real-time company news monitoring
  - name: Workflow Automation
    description: Research notebooks for companies, industries, and custom workflows
  - name: Supporting APIs
    description: >-
      Utility endpoints for search, file upload, request management, and report
      retrieval
externalDocs:
  description: Official Wokelo API Documentation
  url: https://docs.wokelo.ai/overview
paths:
  /api/assets/process_common/:
    post:
      tags:
        - Workflow Automation
      summary: M&A Activity
      description: >
        Starts generating an Acquisitions workflow report for a specific
        company, providing structured intelligence on acquisition activity,
        target companies, and M&A landscape.


        Use `/api/assets/get_notebook_status/` to track completion and
        `/api/assets/download_report/` to export results.
      operationId: maActivity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - reportType
                - reportSource
                - payload
              properties:
                reportType:
                  type: string
                  enum:
                    - acquisition_workflow
                  default: acquisition_workflow
                  description: Fixed value for M&A Activity reports.
                reportSource:
                  type: string
                  enum:
                    - WKLAPP
                  default: WKLAPP
                  description: Source identifier for the report request.
                payload:
                  type: object
                  required:
                    - topic
                    - workbook_name
                  description: Report configuration object.
                  properties:
                    topic:
                      type: string
                      description: Company name to generate the acquisitions report for.
                    workbook_name:
                      type: string
                      description: Name to assign to the generated workbook.
                    advanced_settings:
                      type: object
                      description: Advanced filtering options for the report.
                      properties:
                        company_type:
                          type: string
                          enum:
                            - private
                            - public
                            - all
                          default: all
                          description: Type of company to filter by.
                        geography:
                          type: array
                          items:
                            type: string
                          description: >-
                            List of geographies to filter by (e.g.
                            `["Worldwide"]`).
                        funding_stage:
                          type: array
                          uniqueItems: true
                          items:
                            type: string
                            enum:
                              - Non-Equity Assistance
                              - Angel round
                              - Pre-seed
                              - Seed
                              - Series A
                              - Series B
                              - Series C
                              - Series D
                              - Series E
                              - Series F
                              - Series G
                              - Series H
                              - Series I
                              - Series J
                              - Corporate-Funded
                              - Debt-Funded
                              - Private equity round
                              - Others
                          description: >-
                            Filter by funding stage. Pass an empty array to
                            include all stages.
                        employee_count:
                          type: array
                          uniqueItems: true
                          items:
                            type: string
                            enum:
                              - 1-10
                              - 11-50
                              - 51-100
                              - 101-250
                              - 251-500
                              - 501-1000
                              - 1001-5000
                              - 5001-10000
                              - 10000+
                          description: >-
                            Filter by employee headcount range. Pass an empty
                            array to include all headcounts.
                        total_funding_include_blanks:
                          type: boolean
                          description: >-
                            Whether to include companies with no total funding
                            data. Defaults to `true`.
            examples:
              default:
                summary: M&A Activity
                value:
                  reportType: acquisition_workflow
                  reportSource: WKLAPP
                  payload:
                    topic: Salesforce
                    workbook_name: Salesforce M&A Activity
                    advanced_settings:
                      company_type: all
                      geography:
                        - Worldwide
                      funding_stage: []
                      employee_count: []
                      total_funding_include_blanks: true
      responses:
        '200':
          description: Report initiated successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  report_id:
                    type: integer
                    description: Report ID for the initiated M&A Activity report.
                    example: 123345
              example:
                report_id: 123345
        '400':
          description: Bad request – missing or invalid parameters.
        '401':
          description: Unauthorized – invalid or missing JWT token.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from the `/auth/token/` endpoint.

````