Sendspark Dynamics Campaign API

The Dynamics Campaign API from Sendspark — 12 operation(s) for dynamics campaign.

Operations 13

GET /v1/workspaces/{workspaceId}/dynamics Get the list of Dynamic Campaigns by workspace #
POST /v1/workspaces/{workspaceId}/dynamics Create Dynamics Campaign #
GET /v1/workspaces/{workspaceId}/dynamics/{dynamicId} Get workspace dynamic campaign #
GET /v1/workspaces/{workspaceId}/dynamics/settings Get dynamics settings #
GET /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/prospects/{contactEmail} Get prospect data from prospect email #
POST /v2/workspaces/{workspaceId}/dynamics Create Dynamics Campaign for the DV by steps UI #
POST /dv-v2/workspaces/{workspaceId}/dynamics/{dynamicId}/bulk Generate videos for Dynamics Campaign prospect list #
POST /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/bulk Generate videos for Dynamics Campaign prospect list #
POST /v1/workspaces/{workspaceId}/dynamics/{dynamicsId}/prospect Add prospect to Dynamics Campaign and process video. #
POST /v1/workspaces/{workspaceId}/dynamics/{dynamicsId}/prospects/bulk Bulk add and process prospects to a dynamics campaign. #
PATCH /v2/workspaces/{workspaceId}/dynamics/{dynamicsId} Persisting Prospect Lists #
PATCH /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/settings Update settings in Dynamics Campaign #
PATCH /v1/workspaces/{workspaceId}/dynamics/{dynamicsId}/prospects/urls/bulk Bulk update prospect background URLs based on email domains. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sendspark-dynamics-campaign-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sendspark-dynamics-campaign-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sendspark DVM Bundles Dynamics Campaign API
  version: 1.2.0
  description: Public Sendspark API. DRAFT scaffold generated from the internal API v2 spec — endpoint selection and authentication are pending engineering review before publishing.
servers:
- url: https://api-gw.sendspark.com
  description: Production
security:
- apiKey: []
  apiSecret: []
tags:
- name: Dynamics Campaign
paths:
  /v1/workspaces/{workspaceId}/dynamics:
    get:
      summary: Get the list of Dynamic Campaigns by workspace
      operationId: getDynamicsList
      description: Get the list of Dynamic Campaigns by workspace
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: offset
        in: query
        required: false
        schema:
          type: number
      - name: limit
        in: query
        required: false
        schema:
          type: number
      - name: filters
        in: query
        required: false
        schema:
          type: string
      - name: search
        in: query
        required: false
        schema:
          type: string
      - name: dropdownRendering
        in: query
        required: false
        schema:
          type: boolean
      - name: projectionType
        in: query
        required: false
        schema:
          type: string
          enum:
          - DEFAULT
          - DETAILED
          - MINIMAL
      - name: sortOrder
        in: query
        required: false
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: prospectOnly
        in: query
        required: false
        schema:
          type: boolean
      tags:
      - Dynamics Campaign
      responses:
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
    post:
      summary: Create Dynamics Campaign
      operationId: postDynamics
      description: Create Dynamics Campaign in folder
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestParamsCreateDynamicsCampaignsSchema'
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseCreateDynamicsCampaignSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/{dynamicId}:
    get:
      summary: Get workspace dynamic campaign
      operationId: getWorkspaceDynamics
      description: Get workspace dynamic campaign
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicId
        in: path
        required: true
        schema:
          type: string
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Model57'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/settings:
    get:
      summary: Get dynamics settings
      operationId: getDynamicsSettings
      description: Get dynamics settings
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/dynamicSettingsGetResponseSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/prospects/{contactEmail}:
    get:
      summary: Get prospect data from prospect email
      operationId: getProspectDynamicsVideos
      description: Get prospect data from prospect email
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicId
        in: path
        required: true
        schema:
          type: string
      - x-format:
          email: true
        name: contactEmail
        in: path
        required: true
        schema:
          type: string
      - description: Comma-separated list of additional fields to include in the response (emailEmbedHTML, fields)
        name: include
        in: query
        required: false
        schema:
          type: string
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DynamicVideosGetProspectResponseSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
  /v2/workspaces/{workspaceId}/dynamics:
    post:
      summary: Create Dynamics Campaign for the DV by steps UI
      operationId: postDynamicsV2
      description: Create Dynamics Campaign in folder for the DV by steps UI
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Model144'
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Model149'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /dv-v2/workspaces/{workspaceId}/dynamics/{dynamicId}/bulk:
    post:
      summary: Generate videos for Dynamics Campaign prospect list
      operationId: postDynamicsVideoBulk
      description: Generate videos for Dynamics Campaign prospect list
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicId
        in: path
        required: true
        schema:
          type: string
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseDynamicsVideoAddSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/bulk:
    post:
      summary: Generate videos for Dynamics Campaign prospect list
      operationId: postV1WorkspacesWorkspaceidDynamicsDynamicidBulk
      description: Generate videos for Dynamics Campaign prospect list
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicId
        in: path
        required: true
        schema:
          type: string
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseDynamicsVideoAddSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/{dynamicsId}/prospect:
    post:
      summary: Add prospect to Dynamics Campaign and process video.
      operationId: postV1WorkspacesWorkspaceidDynamicsDynamicsidProspect
      description: API Gateway only.
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicsId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestPayloadAddProspectsDynamicsCampaignsSchema'
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseModifyDynamicsCampaignSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/{dynamicsId}/prospects/bulk:
    post:
      summary: Bulk add and process prospects to a dynamics campaign.
      operationId: postDynamicsProspectsBulkModify
      description: Listed in API Gateway only.
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicsId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestPayloadBulkProspectsDynamicsCampaignsSchema'
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseModifyDynamicsCampaignSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v2/workspaces/{workspaceId}/dynamics/{dynamicsId}:
    patch:
      summary: Persisting Prospect Lists
      operationId: patchDynamicsModifyV2
      description: Persisting Prospect Lists
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicsId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Model222'
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseModifyDynamicsCampaignSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/settings:
    patch:
      summary: Update settings in Dynamics Campaign
      operationId: patchDynamicModifySettings
      description: Update settings in Dynamics Campaign
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestPayloadDynamicModifySettingsSchema'
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseDynamicModifySettingsSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
  /v1/workspaces/{workspaceId}/dynamics/{dynamicsId}/prospects/urls/bulk:
    patch:
      summary: Bulk update prospect background URLs based on email domains.
      operationId: patchDynamicsProspectsUrlsBulkUpdate
      description: This endpoint is used to bulk update prospect background URLs based on email domains.
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
      - name: dynamicsId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestPayloadBulkUpdateProspectsUrlSchema'
      tags:
      - Dynamics Campaign
      responses:
        '200':
          description: Successful
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseBulkUpdateProspectsUrlSchema'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/BadRequest'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResourceNotFoundOrInvalidAccess'
        '503':
          description: Service Unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ServiceUnavailable'
components:
  schemas:
    SharePage:
      type: object
      properties:
        title:
          type: string
          example: Hello there!
        message:
          type: string
          example: welcome to my dynamic campaign
        buttons:
          $ref: '#/components/schemas/object'
        calendar:
          $ref: '#/components/schemas/Model170'
        layout:
          $ref: '#/components/schemas/layout'
        transcriptionsViewEnabled:
          type: boolean
          example: false
    Model146:
      type: object
      properties:
        title:
          type: string
          example: Hello there!
        message:
          type: string
          example: welcome to my dynamic campaign
        buttons:
          $ref: '#/components/schemas/buttons'
        calendar:
          $ref: '#/components/schemas/Model145'
        layout:
          $ref: '#/components/schemas/layout'
        transcriptionsViewEnabled:
          type: boolean
          example: false
    RequestPayloadBulkUpdateProspectsUrlSchema:
      type: object
      properties:
        extractUrlFromEmail:
          type: boolean
          description: If true, sets backgroundUrl based on email domain. If false, removes backgroundUrls matching email domain.
      required:
      - extractUrlFromEmail
    DynamicVideosGetProspectResponseSchema:
      type: object
      properties:
        contactEmail:
          type: string
          example: 'Contact Email, Example: john@example.com'
        backgroundUrl:
          type: string
          example: 'Backgound URL, Example: https://example.com'
        originalBackgroundUrl:
          type: string
          example: 'Backgound URL, Example: https://example.com'
        status:
          type: string
          example: 'Current prospect status, Example: saved, billed, errored, processing, uploaded, completed'
        deletedAt:
          type: string
          format: date
          example: 'Deleted Date if prospect was deleted, Example: 2020-01-01T00:00:00.000Z'
        valid:
          type: boolean
          example: False if prospect has validation errors
        createdAt:
          type: string
          format: date
          example: 'Create date, example: 2020-01-01T00:00:00.000Z'
        updatedAt:
          type: string
          format: date
          example: 'Update date, example: 2020-01-01T00:00:00.000Z'
        validationDetails:
          $ref: '#/components/schemas/validationDetails'
        contactName:
          type: string
          example: 'Contact Name, example: John Doe'
        company:
          type: string
          example: 'Company Name, example: Sendspark'
        jobTitle:
          type: string
          example: 'Job Title, example: Software Engineer'
        id:
          type: string
          example: 'Internal prospect ID, example: 997f191e810c19729de860fd'
        shareUrl:
          type: string
          example: 'Public URL to share the final video, example: https://sendspark.com/share/997f191e81'
        emailEmbedHTML:
          type: string
          description: HTML code for email embedding
        fields:
          $ref: '#/components/schemas/Model101'
    Forbidden:
      type: object
      properties:
        statusCode:
          type: number
          example: 403
        code:
          type: string
          example: S403-UPLD
        error:
          type: string
          example: Forbidden
        message:
          type: string
          example: Invalid request payload input / Any error from provider
    object:
      type: array
      items:
        $ref: '#/components/schemas/Model169'
    Model57:
      type: object
    buttons:
      type: array
      items:
        type: string
    LanguagesGetResponseSchema:
      type: object
      properties:
        name:
          type: string
          example: English
        placeholders:
          $ref: '#/components/schemas/placeholders'
        fallbacks:
          $ref: '#/components/schemas/fallbacks'
      required:
      - name
    ResourcesStatus:
      type: object
    Metadata:
      type: object
      properties:
        version:
          type: number
          example: 1
        migrated:
          type: string
          format: date
          example: '2021-03-01T00:00:00.000Z'
    Model148:
      type: object
      properties:
        version:
          type: number
          example: 1
        migrated:
          type: string
          format: date
          example: '2021-03-01T00:00:00.000Z'
    PlaceholdersGetResponseSchema:
      type: object
      properties:
        word:
          type: string
          example: watermelon
        replace:
          type: string
          example: '{{firstname | there}}'
      required:
      - word
      - replace
    ResponseDynamicModifySettingsSchema:
      type: object
    payloadDepurationStrategy:
      type: string
      enum:
      - keep-first-valid
      - keep-last-valid
    fallbacks:
      type: array
      items:
        type: string
        example: there
    responsePayloadProspectSchema:
      type: object
      properties:
        _id:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
        campaign:
          type: string
          example: okn4ra9qjl3fs2zpuni426jizysbdcp
        contactName:
          type: string
          example: John Doe
        contactEmail:
          type: string
          description: Must be unique for each dynamics videos campaign
          example: johndoe@example.com
        company:
          type: string
          example: Example Company
        jobTitle:
          type: string
          example: Example jobTitle
        backgroundUrl:
          type: string
          example: https://example.com
        originalBackgroundUrl:
          type: string
          example: https://example.com
        screenshotUrl:
          type: string
          example: https://sendspark.com
          x-format:
            uri: true
        webhookUrl:
          type: string
          example: https://sendspark.com
          x-format:
            uri: true
        trimMuxId:
          type: string
        webhookEvents:
          $ref: '#/components/schemas/webhookEvents'
        webhookPaused:
          type: boolean
          example: false
        audioUrl:
          type: string
          example: https://sendspark.com
          x-format:
            uri: true
        videoLipSyncUrl:
          type: string
          example: https://sendspark.com
          x-format:
            uri: true
        valid:
          type: boolean
          example: false
        bulkId:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
        status:
          type: string
          description: Manage constants for this
          example: saved
        createdAt:
          type: string
          format: date
          example: '2023-06-02T00:57:45.447Z'
        updatedAt:
          type: string
          format: date
          example: '2023-06-02T00:57:45.447Z'
        deletedAt:
          type: string
          format: date
          description: For managing soft deletes
          example: null
        validationDetails:
          type: string
        resourcesStatus:
          $ref: '#/components/schemas/ResourcesStatus'
        isNotified:
          type: boolean
          example: false
        fallback:
          type: boolean
          example: false
        regenerationCount:
          type: number
          example: 0
        fallbackDataUsed:
          type: boolean
          example: false
        fields:
          $ref: '#/components/schemas/Fields'
        hash:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
      required:
      - status
    validationDetails:
      type: array
      items:
        $ref: '#/components/schemas/Model100'
    Model139:
      type: object
      properties:
        version:
          type: number
          example: 1
        migrated:
          type: string
          format: date
          example: '2021-03-01T00:00:00.000Z'
    Model145:
      type: object
      properties:
        provider:
          type: string
        link:
          type: string
    ResourceNotFoundOrInvalidAccess:
      type: object
      properties:
        statusCode:
          type: number
          example: 404
        error:
          type: string
          example: Not Found
        message:
          type: string
          example: Resource not found or invalid access
    RequestPayloadAddProspectsDynamicsCampaignsSchema:
      type: object
      properties:
        prospect:
          $ref: '#/components/schemas/requestPayloadProspectSchema'
        prospectDepurationConfig:
          $ref: '#/components/schemas/prospectDepurationConfig'
        processAndAuthorizeCharge:
          type: boolean
          example: false
        fallbackToEmailDomainForBackground:
          type: boolean
          example: false
        callbackId:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
      required:
      - prospect
    requestPayloadProspectSchema:
      type: object
      properties:
        _id:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
        contactName:
          type: string
          example: John Doe
        contactEmail:
          type: string
          description: Must be unique for each dynamics videos campaign
          example: johndoe@example.com
        company:
          type: string
          example: Example Company
        jobTitle:
          type: string
          example: Example jobTitle
        customField:
          type: string
          example: Example Custom Field
        backgroundUrl:
          type: string
          example: https://example.com
        originalBackgroundUrl:
          type: string
          example: https://example.com
        screenshotUrl:
          type: string
          example: https://sendspark.com
          x-format:
            uri: true
        webhookUrl:
          type: string
          example: https://sendspark.com
          x-format:
            uri: true
        webhookEvents:
          $ref: '#/components/schemas/webhookEvents'
        audioUrl:
          type: string
          example: https://sendspark.com
          x-format:
            uri: true
        valid:
          type: boolean
          example: false
        fallbackDataUsed:
          type: boolean
          example: false
        fields:
          $ref: '#/components/schemas/Fields'
        hash:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
    MultivariableLanguagesGetResponseSchema:
      type: object
    RequestPayloadBulkProspectsDynamicsCampaignsSchema:
      type: object
      properties:
        prospectList:
          $ref: '#/components/schemas/prospectList'
        prospectDepurationConfig:
          $ref: '#/components/schemas/prospectDepurationConfig'
        processAndAuthorizeCharge:
          type: boolean
          example: false
        callbackId:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
    Model138:
      type: object
      properties:
        provider:
          type: string
        link:
          type: string
          x-format:
            uri: true
    ResponsePayloadProspectList:
      type: array
      items:
        $ref: '#/components/schemas/responsePayloadProspectSchema'
    ServiceUnavailable:
      type: object
      properties:
        statusCode:
          type: number
          example: 503
        error:
          type: string
          example: Service Unavailable
        message:
          type: string
          example: Service Unavailable
    ResponseCreateDynamicsCampaignSchema:
      type: object
      properties:
        name:
          type: string
          example: My Dynamic Campaign
        videoProperties:
          $ref: '#/components/schemas/videoProperties'
        metadata:
          $ref: '#/components/schemas/Model139'
        combinedVideo:
          type: boolean
          example: false
        dynamicBackground:
          type: boolean
          example: false
        status:
          type: string
          example: pending
        creator:
          type: string
          example: okn4ra9qjlpzhs2zpuni426jizysbdcp
        folder:
          type: string
          example: ibdls2hjvaebvg0k4mz0zgvndbai9th7
        workspace:
          type: string
          example: 3vwdfm4jmhfyzt1yqp0r8v3qgaocrczb
        videosAssets:
          $ref: '#/components/schemas/videosAssets'
        _id:
          type: string
          example: 63f6a4145a5e755e2e8fe19d
        createdAt:
          type: string
          format: date
          example: '2021-03-01T00:00:00.000Z'
      required:
      - combinedVideo
      - dynamicBackground
      - status
      - creator
      - folder
      - workspace
      - _id
      - createdAt
    webhookEvents:
      type: array
      example:
      - video_generated_dv
      - video_watched
      - video_played
      - video_cta_clicked
      - video_viewed
      - video_liked
      items:
        type: string
    Model144:
      type: object
      properties:
        name:
          type: string
          example: My Dynamic Campaign
        voiceCloning:
          type: boolean
          example: false
        languageCode:
          type: string
       

# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sendspark/refs/heads/main/openapi/sendspark-dynamics-campaign-api-openapi.yml