# Create a new Webhook for the Service **POST /v2/Services/{ServiceSid}/Webhooks** Create a new Webhook for the Service TODO: Resource-level docs ## Servers ## Parameters ### Path parameters - **ServiceSid** (string) The unique SID identifier of the Service. ### Body: (object) - **EventTypes** (array[string]) The array of events that this Webhook is subscribed to. Possible event types: `*, factor.deleted, factor.created, factor.verified, challenge.approved, challenge.denied` - **FriendlyName** (string) The string that you assigned to describe the webhook. **This value should not contain PII.** - **Status** (string) The webhook status. Default value is `enabled`. One of: `enabled` or `disabled` - **Version** (string) The webhook version. Default value is `v2` which includes all the latest fields. Version `v1` is legacy and may be removed in the future. - **WebhookUrl** (string) The URL associated with this Webhook. ## Responses ### 201 Created #### Body: (object) - **account_sid** (string | null) The SID of the Account that created the resource - **date_created** (string(date-time) | null) The ISO 8601 date and time in GMT when the resource was created - **date_updated** (string(date-time) | null) The ISO 8601 date and time in GMT when the resource was last updated - **event_types** (array[string] | null) The array of events that this Webhook is subscribed to. - **friendly_name** (string | null) The string that you assigned to describe the webhook - **service_sid** (string | null) Service Sid. - **sid** (null | string) The unique string that identifies the resource - **status** (string | null) The webhook status - **url** (string(uri) | null) The absolute URL of the Webhook resource - **version** (string | null) The webhook version - **webhook_method** (string | null) The method used when calling the webhook's URL. - **webhook_url** (string(uri) | null) The URL associated with this Webhook. [Powered by Bump.sh](https://bump.sh)