---
title: "Update Custom Event Config"
method: PATCH
path: "/v1/custom_events/{application_id}/{config_id}"
tags: ["custom_events"]
---

# Update Custom Event Config

`PATCH /v1/custom_events/{application_id}/{config_id}`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/custom_events/{application_id}/{config_id}`
- Auth: HTTP bearer

## Path parameters

- `application_id` string, uuid, required
- `config_id` string, uuid, required

## Request body

- CustomEventConfigUpdateAPI
  - `event_name` string, nullable
  - `display_name` string, nullable
  - `css_selector` string, nullable
  - `html_tags` AllowedHtmlTag[], nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- CustomEventConfigAPI
  - `id` string, uuid, required
  - `application_id` string, uuid, required
  - `event_name` string, required
  - `display_name` string, nullable, required
  - `css_selector` string, nullable, required
  - `html_tags` AllowedHtmlTag[], nullable, required
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/branchly/apis/branchly-io-api.md) · [All operations](https://skmtc.dev/branchly/apis/branchly-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/branchly/apis/branchly-io-api/revisions/9ffb024f8ec8?raw)
