Skip to main content
POST
/
files
/
{id}
/
favorite
Toggle file favorite
curl --request POST \
  --url https://app.mavera.io/api/v1/files/{id}/favorite \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "file",
  "is_favorite": true,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mavera.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.

Path Parameters

id
string
required

File ID

Response

Favorite status toggled

id
string
object
enum<string>
Available options:
file,
folder
is_favorite
boolean

New favorite status

message
string

Status message