Favorites

User favorite management (requires authentication). Users can save their favorite places for quick access.

Add/remove place from favorites 🔒

patch
/places/{place_id}/favorites

Add or remove a place from the authenticated user's favorites list.

Idempotent: Calling this endpoint with the same favorite status multiple times has the same effect as calling it once.

Returns updated favorite count for the place and current user status.

Authorizations
AuthorizationstringRequired

Decentraland authentication token obtained from the Decentraland SDK or auth services.

To authenticate:

  1. Use Decentraland's authentication SDK in your application
  2. Get the auth token from the SDK
  3. Include in requests: Authorization: Bearer <token>
Path parameters
place_idstring · uuidRequired

UUID of the place

Body
favoritesbooleanRequired

Set to true to add place to favorites, false to remove. Idempotent - safe to call multiple times.

Example: true
Responses
patch
/places/{place_id}/favorites

Last updated