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

# Lists the lead forms an ad account can declare: a LinkedIn account's Lead Gen


> Forms, or the Instant Forms on the Pages a Meta account promotes (provider meta\_ads). Mirrors erdo\_list\_lead\_source\_forms.




## OpenAPI

````yaml /api/openapi.json get /v1/provider-lead-sources/forms
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-11-21'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/provider-lead-sources/forms:
    get:
      summary: >
        Lists the lead forms an ad account can declare: a LinkedIn account's
        Lead Gen
      description: >
        Forms, or the Instant Forms on the Pages a Meta account promotes
        (provider meta\_ads). Mirrors erdo\_list\_lead\_source\_forms.
      operationId: GET:mcp.ListProviderLeadFormsAPI
      parameters:
        - allowEmptyValue: true
          description: |
            provider is "linkedin\_ads" (the default) or "meta\_ads".
          explode: true
          in: query
          name: provider
          required: false
          schema:
            type: string
          style: form
        - allowEmptyValue: true
          description: >
            connection\_id is the organization's native integration id for the
            provider.
          explode: true
          in: query
          name: connection_id
          required: false
          schema:
            type: string
          style: form
        - allowEmptyValue: true
          description: >
            account\_id is the provider's ad account id (Meta's with or without
            "act\_").
          explode: true
          in: query
          name: account_id
          required: false
          schema:
            type: string
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  forms:
                    items:
                      $ref: '#/components/schemas/eventpipeline.ProviderLeadForm'
                    type: array
                  unreadable_pages:
                    description: >
                      connection could not read, usually because the connected
                      user has no role on them. Their forms are not listed.
                    items:
                      type: string
                    title: >
                      unreadable_pages are Pages a Meta ad account promotes
                      whose forms the
                    type: array
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    eventpipeline.ProviderLeadForm:
      properties:
        id:
          type: string
        name:
          type: string
        page_id:
          title: |
            page_id is the Facebook Page a Meta Instant Form belongs to.
          type: string
        state:
          type: string
        version_id:
          format: int64
          title: |
            version_id is a LinkedIn form's current version.
          type: integer
      title: |
        One lead form an ad account can declare.
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````

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