# V3WebformsCreateOrUpdateWebformRequest

Public API request for creating a webform

## Example Usage

```typescript
import { V3WebformsCreateOrUpdateWebformRequest } from "@solarwinds/squadcast-sdk-typescript/models";

let value: V3WebformsCreateOrUpdateWebformRequest = {
  ownerId: "<id>",
  name: "<value>",
  isCname: true,
  isCaptchaEnabled: true,
  captchaSecret: {
    siteKey: "<value>",
    secret: "<value>",
  },
  formOwnerType: "<value>",
  formOwnerId: "<id>",
  services: [],
  header: "<value>",
  title: "<value>",
  footerText: "<value>",
  footerLink: "<value>",
};
```

## Fields

| Field              | Type                                                                                                                       | Required             | Description                                       |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------- |
| `ownerId`          | *string*                                                                                                                   | :heavy\_check\_mark: | Unique identifier of the owner (string or UUID)   |
| `name`             | *string*                                                                                                                   | :heavy\_check\_mark: | Name of the webform                               |
| `isCname`          | *boolean*                                                                                                                  | :heavy\_check\_mark: | Indicates if a custom domain (CNAME) is used      |
| `hostName`         | *string*                                                                                                                   | :heavy\_minus\_sign: | Custom hostname if CNAME is enabled               |
| `tags`             | [models.V3WebformsCreateOrUpdateWebformRequestTags](/typescript/docs/models/v3webformscreateorupdatewebformrequesttags.md) | :heavy\_minus\_sign: | Key-value tags for the webform                    |
| `isCaptchaEnabled` | *boolean*                                                                                                                  | :heavy\_check\_mark: | Whether CAPTCHA is enabled on the form            |
| `captchaSecret`    | [models.V3WebformsRecaptchaSecrets](/typescript/docs/models/v3webformsrecaptchasecrets.md)                                 | :heavy\_check\_mark: | CAPTCHA credentials to be validated               |
| `formOwnerType`    | *string*                                                                                                                   | :heavy\_check\_mark: | Entity type that owns the form (e.g., team, user) |
| `formOwnerId`      | *string*                                                                                                                   | :heavy\_check\_mark: | Identifier for the owner entity                   |
| `services`         | [models.V3WebformsWFService](/typescript/docs/models/v3webformswfservice.md)\[]                                            | :heavy\_check\_mark: | List of services tied to this webform             |
| `inputField`       | [models.V3WebformsWFInputField](/typescript/docs/models/v3webformswfinputfield.md)\[]                                      | :heavy\_minus\_sign: | Input fields to be rendered on the form           |
| `header`           | *string*                                                                                                                   | :heavy\_check\_mark: | Header text shown on the form                     |
| `title`            | *string*                                                                                                                   | :heavy\_check\_mark: | Title of the webform                              |
| `logoUrl`          | *string*                                                                                                                   | :heavy\_minus\_sign: | URL to the organization's logo                    |
| `footerText`       | *string*                                                                                                                   | :heavy\_check\_mark: | Text displayed in the footer                      |
| `footerLink`       | *string*                                                                                                                   | :heavy\_check\_mark: | Hyperlink in the footer (mailto or https)         |
| `emailOn`          | *string*\[]                                                                                                                | :heavy\_minus\_sign: | Emails to notify on submission                    |
| `description`      | *string*                                                                                                                   | :heavy\_minus\_sign: | Optional description for the webform              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3webformscreateorupdatewebformrequest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
