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

# List campaigns

> The campaigns of an enrichment, newest first, with how many candidates were sent to and finished.

**Scope:** `enrichment:read` or `enrichment:write` or `enrichment:campaigns`



## OpenAPI

````yaml /enrichment-api/api-reference/openapi.json get /enrichments/{enrichment_id}/campaigns
openapi: 3.1.0
info:
  title: Record Enrichment API
  version: 1.0.0
  description: >-
    Collect work, location, shift and salary details from your own candidate
    database. You need two things: your **key id** and your **secret**.
    Everything else is generated. See Authentication for how.
servers:
  - url: https://api-bc.userecord.io/api/v1/partner
    description: Enrichment API
security: []
tags:
  - name: Enrichments
  - name: Enrichment campaigns
  - name: Enrichment candidates
  - name: Enrichment results
  - name: Enrichment credits
paths:
  /enrichments/{enrichment_id}/campaigns:
    get:
      tags:
        - Enrichment campaigns
      summary: List campaigns
      description: >-
        The campaigns of an enrichment, newest first, with how many candidates
        were sent to and finished.


        **Scope:** `enrichment:read` or `enrichment:write` or
        `enrichment:campaigns`
      operationId: listEnrichmentCampaigns
      parameters:
        - name: enrichment_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^WF_[A-Z]{2}_[A-Z0-9]{10,40}$
          example: WF_EN_261121094822026AEDRUB86TQVSML
        - name: limit
          in: query
          required: false
          description: 1 to 100, default 25
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
          example: 25
        - name: cursor
          in: query
          required: false
          description: The next_cursor of the previous page
          schema:
            type: string
            maxLength: 512
      responses:
        '200':
          description: One page, newest first
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    const: true
                    type: boolean
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            campaign_id:
                              type: string
                            enrichment_id:
                              type: string
                            name:
                              type: string
                            language:
                              type: string
                            status:
                              type: string
                              enum:
                                - sent
                                - paused
                                - completed
                                - cancelled
                              description: sent = live
                            awaiting_questions:
                              type: boolean
                              description: >-
                                true while the questions are still being
                                prepared; nothing goes out until they are
                            question_count:
                              type: integer
                            channels:
                              type: object
                              properties:
                                whatsapp:
                                  type: boolean
                                voice_call:
                                  type: boolean
                                sms:
                                  type: boolean
                            rejected_count:
                              type: integer
                              description: Rows skipped at upload
                            created_at:
                              type: string
                            counts:
                              type: object
                              properties:
                                candidates:
                                  type: integer
                                sent:
                                  type: integer
                                completed:
                                  type: integer
                      count:
                        type: integer
                        description: How many items this page holds
                      total:
                        anyOf:
                          - type: integer
                          - type: 'null'
                        description: >-
                          How many items match your filters across all pages.
                          null when that cannot be counted cheaply: a filter
                          worked out per item (status, progress) on a list that
                          is large
                      next_cursor:
                        anyOf:
                          - type: string
                          - type: 'null'
                        description: >-
                          Pass as `cursor` for the next page; null on the last
                          page
                      has_more:
                        type: boolean
                        description: >-
                          true while there is a next page (with a status or
                          progress filter that page can still come back empty)
              example:
                success: true
                data:
                  items:
                    - campaign_id: EC_261121095438377TFUX07WN2XT42V
                      enrichment_id: WF_EN_261121094822026AEDRUB86TQVSML
                      name: November talent pool
                      language: english
                      status: sent
                      awaiting_questions: true
                      question_count: 2
                      channels:
                        whatsapp: true
                        voice_call: true
                        sms: true
                      rejected_count: 1
                      created_at: '2026-11-10T10:30:45.000Z'
                      counts:
                        candidates: 2
                        sent: 0
                        completed: 0
                  count: 1
                  total: 1
                  next_cursor: null
                  has_more: false
        '404':
          description: '`NOT_FOUND`: No such enrichment.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKey: []
          SecretKey: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            pcall GET
            "/api/v1/partner/enrichments/WF_EN_261121094822026AEDRUB86TQVSML/campaigns?limit=25"
        - lang: javascript
          label: JavaScript
          source: >-
            const res = await call("GET",
            "/api/v1/partner/enrichments/WF_EN_261121094822026AEDRUB86TQVSML/campaigns?limit=25");

            const { data } = await res.json();
        - lang: python
          label: Python
          source: >-
            res = call("GET",
            "/api/v1/partner/enrichments/WF_EN_261121094822026AEDRUB86TQVSML/campaigns?limit=25")

            data = res.json()["data"]
components:
  schemas:
    Error:
      type: object
      properties:
        success:
          const: false
          type: boolean
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - VALIDATION_FAILED
                - LIMIT_EXCEEDED
                - UNAUTHORIZED
                - SCOPE_MISSING
                - FORBIDDEN
                - HTTPS_REQUIRED
                - NOT_FOUND
                - CONFLICT
                - INSUFFICIENT_CREDITS
                - IDEMPOTENCY_KEY_REQUIRED
                - IDEMPOTENCY_KEY_REUSED
                - IDEMPOTENCY_IN_PROGRESS
                - PAYLOAD_TOO_LARGE
                - UNSUPPORTED_MEDIA_TYPE
                - RATE_LIMITED
                - COOLDOWN
                - DAILY_CAP
                - SERVICE_DISABLED
                - SERVER_ERROR
            message:
              type: string
            details:
              type: array
              items:
                type: object
                properties:
                  path:
                    type: string
                  message:
                    type: string
            request_id:
              type: string
              description: Quote it to Record support
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your key id, `VFN_TEST_…` or `VFN_LIVE_…`. Sent on every request.
    SecretKey:
      type: apiKey
      in: header
      name: x-secret-key
      description: >-
        Your secret, `VFN_SK_…`. **Not a real header, and never sent to the
        API.** It is only a form field for Try it, which uses it to sign your
        request in your browser. In your own code you sign each request with the
        secret and send `x-api-key`, `x-timestamp` and `x-signature` (see
        Authentication).

````

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