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

# Request a response for a nesting Result based on ResponseType passed

> This endpoint requires calling with your ApiKey <br /><br /><b>Id</b><br/> <b>String</b><br /> This Id is NestIdentifier in the JSON pushed to your webhook for nesting. It is also returned from the /nesting endpoint<br /><br /><b>ResultId</b><br/> <b>String</b><br /> This Id is ResultIdentity in the JSON pushed to your webhook for nesting.<br /><br /><b>ResponseType</b><br/> <b>Enum / Int</b><br /> This alters the kind of result that is pushed to your provided webhook <br /><b>0 or result </b> - Posts part placement details of result to webhook<br /><b>1 or render</b> - Posts base64 encode render (SVG or PNG) of the result to webhook<br /><b>2 or dxf</b> - Posts base64 encoded dxf file of the results to webhook <br /><b>3 or reportsource</b> - Posts information designed for report generation, statistics and base64 renderings to webhook <br /><b>4 or remnantexport</b> -Posts  base64 encoded zip file containing the dxf representation of remnants generated by the nesting to webhook<br /><br /><b>WebHookUri</b><br/> <b>String</b><br /> Web hook uri to POST the result to



## OpenAPI

````yaml /openapi.json get /v1/nesting/export
openapi: 3.0.0
info:
  title: NestAPI
  version: '1.0'
servers:
  - description: Staging
    url: https://dev.api.nestapi.com
security: []
tags:
  - name: account
    description: API key and account management
  - name: ApiAdmin
  - name: auth
  - name: fairness
    description: >-
      Per-customer nesting-minutes fairness config, weights and usage (requires
      an Admin API key)
  - name: importer
  - name: nesting
    description: Submit nesting jobs, retrieve results and exports
  - name: public
    description: Health check and public utility endpoints
paths:
  /v1/nesting/export:
    parameters:
      - $ref: '#/components/parameters/Accept'
    get:
      tags:
        - nesting
      summary: Request a response for a nesting Result based on ResponseType passed
      description: >-
        This endpoint requires calling with your ApiKey <br /><br
        /><b>Id</b><br/> <b>String</b><br /> This Id is NestIdentifier in the
        JSON pushed to your webhook for nesting. It is also returned from the
        /nesting endpoint<br /><br /><b>ResultId</b><br/> <b>String</b><br />
        This Id is ResultIdentity in the JSON pushed to your webhook for
        nesting.<br /><br /><b>ResponseType</b><br/> <b>Enum / Int</b><br />
        This alters the kind of result that is pushed to your provided webhook
        <br /><b>0 or result </b> - Posts part placement details of result to
        webhook<br /><b>1 or render</b> - Posts base64 encode render (SVG or
        PNG) of the result to webhook<br /><b>2 or dxf</b> - Posts base64
        encoded dxf file of the results to webhook <br /><b>3 or
        reportsource</b> - Posts information designed for report generation,
        statistics and base64 renderings to webhook <br /><b>4 or
        remnantexport</b> -Posts  base64 encoded zip file containing the dxf
        representation of remnants generated by the nesting to webhook<br /><br
        /><b>WebHookUri</b><br/> <b>String</b><br /> Web hook uri to POST the
        result to
      operationId: GenerateNestApiExport
      parameters:
        - name: RequestId
          in: query
          x-nullable: false
          schema:
            type: string
        - name: ResultId
          in: query
          x-nullable: false
          schema:
            type: string
        - name: ResponseType
          in: query
          x-nullable: false
          schema:
            type: string
            enum:
              - Result
              - Render
              - DXF
              - ReportSource
              - RemnantExport
              - Runtime
              - PartsExport
        - name: WebHookUri
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NestApiExport'
      deprecated: false
      security:
        - Bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      description: Accept Header
      required: true
      schema:
        type: string
        enum:
          - application/json
  schemas:
    NestApiExport:
      title: NestApiExport
      properties:
        Success:
          type: boolean
          nullable: false
        Error:
          type: string
      description: NestApiExport
      type: object
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````