{"note":"OpenAPI conversion -- returning structured metadata","name":"hubspot-forms","description":"Forms","version":"v3","base_url":"https://api.hubapi.com","endpoints":6,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Forms\n@base https://api.hubapi.com\n@version v3\n@auth OAuth2 | ApiKey private-app in header\n@endpoints 6\n@toc marketing(6)\n\n@endpoint GET /marketing/v3/forms\n@optional {after: str # 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., archived: bool # Whether to return only results that have been archived., formTypes: [str], limit: int(int32) # The maximum number of results to display per page.}\n@returns(200) {paging: map{next: map{after: str, link: str}}, results: [any]} # successful operation\n\n@endpoint POST /marketing/v3/forms\n@returns(201) successful operation\n\n@endpoint GET /marketing/v3/forms/{formId}\n@desc Get a form definition\n@required {formId: str}\n@optional {archived: bool # Whether to return only results that have been archived.}\n@returns(200) successful operation\n\n@endpoint PUT /marketing/v3/forms/{formId}\n@desc Update a form definition\n@required {formId: str}\n@returns(200) successful operation\n\n@endpoint DELETE /marketing/v3/forms/{formId}\n@desc Archive a form definition\n@required {formId: str}\n@returns(204) No content\n\n@endpoint PATCH /marketing/v3/forms/{formId}\n@desc Partially update a form definition\n@required {formId: str}\n@optional {archived: bool # Whether this form is archived., configuration: map{allowLinkToResetKnownValues!: bool, archivable!: bool, cloneable!: bool, createNewContactForNewEmail!: bool, editable!: bool, embedType: str, language!: str, lifecycleStages!: [map], notifyContactOwner!: bool, notifyRecipients!: [str], postSubmitAction!: map, prePopulateKnownValues!: bool, recaptchaEnabled!: bool}, displayOptions: map{cssClass: str, renderRawHtml!: bool, style!: map, submitButtonText!: str, theme!: str}, fieldGroups: [map{fields!: [any], groupType!: str, richText: str, richTextType!: str}] # The fields in the form, grouped in rows., legalConsentOptions: any # Configuration for legal consent and data processing compliance options. Supports types: none, legitimate_interest, explicit_consent_to_process, implicit_consent_to_process., name: str # The name of the form. Expected to be unique for a hub.}\n@returns(200) successful operation\n\n@end\n"}