---
title: "Mark or unmark an inbox as favorite"
method: POST
path: "/teams/favorite"
tags: ["Teams"]
---

# Mark or unmark an inbox as favorite

`POST /teams/favorite`

REQUIRED SCOPES <code>['teams:write']</code><br>Mark or unmark an inbox as favorite

## Request body

- object
  - `inbox_type` string, required — Type of the inbox
  - `inbox_id` integer, required — ID of the inbox
  - `favorite` boolean, required — Whether to mark as favorite or not

## Response `200`

Successful operation

- object
  - `type` string
  - `message` string

## Other responses

- `401` — Unauthenticated
- `404` — Inbox not found
- `422` — Validation error

---

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