---
title: "POST /editor-agent/favorites"
method: POST
path: "/editor-agent/favorites"
tags: ["Editor Agent"]
---

# POST /editor-agent/favorites

`POST /editor-agent/favorites`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/editor-agent/favorites`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- EditorFavoriteInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `favorite` Favorite, required
    - `device_local` boolean, required
    - `editor_kind` string, required
    - `entry_id` string, required
    - `entry_name` string, required
    - `favorite` boolean, required
    - `updated_at` string, date-time
  - `workspace_id` string, required

## Response `200`

OK

- EditorAgentEmptyOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `ok` boolean, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
