Constructors

Methods

  • Archive a form definition. New submissions will not be accepted and the form definition will be permanently deleted after 3 months. Archive a form definition

    Parameters

    • formId: string

      The ID of the form to archive.

    • Optional_options: Configuration

    Returns Promise<void>

  • Archive a form definition. New submissions will not be accepted and the form definition will be permanently deleted after 3 months. Archive a form definition

    Parameters

    • formId: string

      The ID of the form to archive.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>

  • Returns a list of forms based on the search filters. By default, it returns the first 20 hubspot forms Get a list of forms

    Parameters

    • Optionalafter: string

      The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to display per page.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • OptionalformTypes: (
          | "hubspot"
          | "captured"
          | "flow"
          | "blog_comment"
          | "all")[]

      The form types to be included in the results.

    • Optional_options: Configuration

    Returns Promise<CollectionResponseFormDefinitionBaseForwardPaging>

  • Returns a list of forms based on the search filters. By default, it returns the first 20 hubspot forms Get a list of forms

    Parameters

    • Optionalafter: string

      The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to display per page.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • OptionalformTypes: (
          | "hubspot"
          | "captured"
          | "flow"
          | "blog_comment"
          | "all")[]

      The form types to be included in the results.

    • Optional_options: Configuration

    Returns Promise<HttpInfo<CollectionResponseFormDefinitionBaseForwardPaging>>