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

# Get prospect data from prospect email

> Get prospect data from prospect email



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/prospects/{contactEmail}
openapi: 3.0.0
info:
  title: Sendspark 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: []
paths:
  /v1/workspaces/{workspaceId}/dynamics/{dynamicId}/prospects/{contactEmail}:
    get:
      tags:
        - Dynamics Campaign
      summary: Get prospect data from prospect email
      description: Get prospect data from prospect email
      operationId: getProspectDynamicsVideos
      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
      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'
components:
  schemas:
    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'
    BadRequest:
      type: object
      properties:
        statusCode:
          type: number
          example: 400
        code:
          type: string
          example: S400-AHVE
        error:
          type: string
          example: Bad Request
        message:
          type: string
          example: Invalid request payload input
    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
    validationDetails:
      type: array
      items:
        $ref: '#/components/schemas/Model100'
    Model101:
      type: object
      description: Additional fields associated with the prospect
    Model100:
      type: object
      properties:
        validationField:
          type: string
          example: 'Show field with errors, Example: contactEmail'
        validationMessage:
          type: string
          example: >-
            Show error detail related with field with error, example: Invalid
            email
        validationCode:
          type: string
          example: 'Show error code related with field with error, example: 400'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
    apiSecret:
      type: apiKey
      in: header
      name: x-api-secret

````