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

# Batch Receive Webhook Step

> Apply a receive-webhook step update to many targets in one request.



## OpenAPI

````yaml https://voice.getprosperapp.com/openapi.json post /api/v1/campaigns/{campaign_id}/targets/step/{friendly_id}
openapi: 3.1.0
info:
  title: Prosper Voice
  version: 1.0.0
servers: []
security: []
paths:
  /api/v1/campaigns/{campaign_id}/targets/step/{friendly_id}:
    post:
      tags:
        - Campaigns
      summary: Batch Receive Webhook Step
      description: Apply a receive-webhook step update to many targets in one request.
      operationId: >-
        batch_receive_webhook_step_api_v1_campaigns__campaign_id__targets_step__friendly_id__post
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: string
            description: The ID of the campaign.
            title: Campaign Id
          description: The ID of the campaign.
        - name: friendly_id
          in: path
          required: true
          schema:
            type: string
            description: The friendly ID of the step.
            title: Friendly Id
          description: The friendly ID of the step.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchReceiveWebhookStepRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BatchReceiveWebhookStepRequest:
      properties:
        updates:
          items:
            $ref: '#/components/schemas/TargetStepUpdate'
          type: array
          maxItems: 5000
          minItems: 1
          title: Updates
          description: Per-target updates to apply to the step in a single request.
      type: object
      required:
        - updates
      title: BatchReceiveWebhookStepRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TargetStepUpdate:
      properties:
        target_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Id
          description: Internal target ID. Provide this or external_id.
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
          description: External target ID. Provide this or target_id.
        input_data:
          additionalProperties: true
          type: object
          title: Input Data
          description: Data merged into the target's call_metadata.
      type: object
      title: TargetStepUpdate
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.