---
title: "Create or update an event_type -> destination route"
method: PUT
path: "/v1/notifications/routes"
tags: ["notifications"]
---

# Create or update an event_type -> destination route

`PUT /v1/notifications/routes`

## Request body

- RouteUpsert — Map an ``event_type`` to a destination (idempotent on the pair).
  - `event_type` string, required
  - `destination_id` string, uuid, required
  - `enabled` boolean

## Response `200`

Successful Response

- RouteResponse
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `event_type` string, required
  - `destination_id` string, uuid, required
  - `enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `404` — Resource not found
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
