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

# prospects.generate

> Run prospects.generate in the authenticated outbound workspace.

Required scopes: `prospects:write`, `actions:spend`. Approval category: **spend**.

Send a JSON object with an `input` property and a UUID `Idempotency-Key` header. Use the same key and exact body when retrying one operation. The fields below come from the same schema as the running API and MCP tools.

Read [approvals and credits](https://docs.nouvel.ai/billing.md) before automating sensitive actions. HTTP 202 with an approval URL means nothing has executed. Inspect the saved operation rather than starting a second action.


## OpenAPI

````yaml openapi.json POST /actions/prospects.generate
openapi: 3.1.0
info:
  title: Nouvel Outbound API
  version: 1.0.0
  description: >-
    Operate your Nouvel outbound workspace with scoped permissions and
    approvals.
servers:
  - url: https://app.nouvel.ai/api/outbound/v1
security:
  - bearerAuth: []
paths:
  /actions/prospects.generate:
    post:
      summary: prospects.generate
      description: >-
        {"action":"prospects.generate","input":{"searchId":"Saved search
        ID","ids":"Optional selected person
        IDs","limit":"1..100","listName":"Name for a new destination
        list","listId":"Optional existing local list ID"}}
      operationId: prospects_generate
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                input:
                  type: object
                  properties:
                    searchId:
                      type: string
                      format: uuid
                    ids:
                      type: array
                      items:
                        type: string
                        format: uuid
                      minItems: 1
                      maxItems: 100
                    limit:
                      type: integer
                      minimum: 1
                      maximum: 100
                    listId:
                      type: string
                      format: uuid
                    listName:
                      type: string
                  required:
                    - searchId
                  additionalProperties: false
              required:
                - input
      responses:
        '200':
          description: Executed or replayed result
        '202':
          description: Approval required
        '403':
          description: Missing permission
        '409':
          description: Conflict or uncertain operation
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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