Lives / Shorts e outros

Referência da API · Lives · Shorts e outros

Favoritar/Desfavoritar Live

Toggle de favorito em uma live

POSThttps://api.realoficial.com.br/api/v1/lives/{liveId}/favorite
  • Bearer token
  • Accepts X-Workspace-Id

This documentation is only available in Portuguese. Code samples, endpoints and field names are the same in any language.

Endpoint

POST https://api.realoficial.com.br/api/v1/lives/{liveId}/favorite

Toggle — favorita se não estava, desfavorita se já estava.

Path Parameters

liveIdstringpathobrigatório

ID da live (ULID)

Exemplo de requisição

curl -X POST "https://api.realoficial.com.br/api/v1/lives/01def.../favorite" \
  -H "Authorization: Bearer seu_token_aqui"

Exemplo de resposta

{
  "is_favorited": true
}
Favoritar/Desfavoritar Live | API Real Oficial