# 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](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3webformscreateorupdatewebformrequesttags) | :heavy\_minus\_sign: | Key-value tags for the webform                    |
| `isCaptchaEnabled` | *boolean*                                                                                                                                                                | :heavy\_check\_mark: | Whether CAPTCHA is enabled on the form            |
| `captchaSecret`    | [models.V3WebformsRecaptchaSecrets](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3webformsrecaptchasecrets)                                 | :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](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3webformswfservice)\[]                                            | :heavy\_check\_mark: | List of services tied to this webform             |
| `inputField`       | [models.V3WebformsWFInputField](https://developers.incidents.cloud.solarwinds.com/typescript/docs/models/v3webformswfinputfield)\[]                                      | :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              |
