# `Twilio.Studio.V2.Flow.ValidateService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/studio/v2/flow/validate_service.ex#L2)

Flow definition validator

Operations: `create`

# `create`

```elixir
@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Studio.V2.Flow.Validate.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Validate flow JSON definition

Operation: `UpdateFlowValidate` | Tags: StudioV2FlowValidate

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Definition` | string | JSON representation of flow definition. |
| `FriendlyName` | string | The string that you assigned to describe the Flow. |
| `Status` | string |  Values: `draft`, `published` |
## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `CommitMessage` | string | Description of change made in the revision. |

---

*Consult [api-reference.md](api-reference.md) for complete listing*
