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

# Get embeddable form definition



## OpenAPI

````yaml /portal/openapi.yaml get /forms/{formId}/{cardId}/{boardId}
openapi: 3.0.3
info:
  title: Aptly Portal API
  description: >
    HTTP API for the Aptly rental application screening portal. Used by
    prospective tenants, showing agents, and property management staff.
  version: 1.0.0
servers:
  - url: https://app.getaptly.com/api/portal
    description: Production
  - url: https://www.workturbo.net/api/portal
    description: Staging
  - url: http://localhost:3000/api/portal
    description: Development
security: []
paths:
  /forms/{formId}/{cardId}/{boardId}:
    get:
      tags:
        - Forms
      summary: Get embeddable form definition
      operationId: get-forms-formid-cardid-boardid
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
        - name: cardId
          in: path
          required: true
          schema:
            type: string
        - name: boardId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Form definition
          content:
            application/json:
              schema:
                type: object
                properties:
                  _id:
                    type: string
                  title:
                    type: string
                  fields:
                    type: array
                    items:
                      type: object
                  submitLabel:
                    type: string
                  companyId:
                    type: string
                  locationId:
                    type: string
      security: []

````