---
title: "Modify FYI Notifications"
method: POST
path: "/fyi/settings/{typecode}"
tags: ["tradingFyIsAndNotifications"]
---

# Modify FYI Notifications

`POST /fyi/settings/{typecode}`

Enable or disable group of notifications by the specific typecode.

## Path parameters

- `typecode` 'BA' | 'CA' | 'DA' | 'EA' | 'MF' | 'OE' | 'PR' | 'SE' | 'SG' | 'SM' | 'T2' | 'TO' | 'UA' | 'M8' | 'PS' | 'DL' | 'PT' | 'CB' | 'MS' | 'TD' | 'ST' | 'TI' | 'CT', required — Many FYI endpoints reference a "typecode" value. The table below lists the available codes and what they correspond to. * `BA` - Borrow Availability * `CA` - Comparable Algo * `DA` - Dividends Advisory * `EA` - Upcoming Earnings * `MF` - Mutual Fund Advisory * `OE` - Option Expiration * `PR` - Portfolio Builder Rebalance * `SE` - Suspend Order on Economic Event * `SG` - Short Term Gain turning Long Term * `SM` - System Messages * `T2` - Assignment Realizing Long-Term Gains * `TO` - Takeover * `UA` - User Alert * `M8` - M871 Trades * `PS` - Platform Use Suggestions * `DL` - Unexercised Option Loss Prevention Reminder * `PT` - Position Transfer * `CB` - Missing Cost Basis * `MS` - Milestones * `TD` - MiFID || 10% Deprecation Notice * `ST` - Save Taxes * `TI` - Trade Idea * `CT` - Cash Transfer

## Request body

- object
  - `enabled` boolean — the notification should be enabled or disabled.

## Response `200`

Successfully retrieve preset details

- FyiVT
  - `V` integer — Returns 1 to state message was acknowledged.
  - `T` integer — Returns the time in ms to complete the edit.

## Other responses

- `401` — Missing, invalid, or unparseable Authorization token.
- `500` — internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
- `503` — service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

---

[API](https://skmtc.net/interactivebrokers/apis/api-reference.md) · [All operations](https://skmtc.net/interactivebrokers/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactivebrokers/api-reference/revisions/67f9f562c2c6/schema)
