Skip to content

get groups

Gets all family library groups for a family

  • If there are no groups it will return an empty array ([])

  • Groups within the array response follow the same rules as "get a group" (GET /card/family/library/groups/{id})

Responses

200 OK

Content-Type: application/json
[
  {
    "cards": [],
    "createdAt": "2024-09-27T15:30:05.433Z",
    "familyId": "65b120377258d846de4595d8",
    "id": "xHE4ZtAHbQ2f0EXlmCUxi",
    "imageId": "fp-cards",
    "imageUrl": "https://cdn.yoto.io/library/groups/fp-cards.png",
    "items": [
      {
        "addedAt": "2024-09-27T15:30:05.447Z",
        "contentId": "37KwQ"
      },
      {
        "addedAt": "2024-09-27T15:30:05.447Z",
        "contentId": "feNkK"
      }
    ],
    "lastModifiedAt": "2024-09-27T15:30:05.433Z",
    "name": "My Favourites"
  }
]
GET
/card/family/library/groups
Server URL:https://api.yotoplay.com
Authorization
bearerAuth

Samples

curl "https://api.yotoplay.com/card/family/library/groups"
--header "Authorization: Bearer [YOUR_TOKEN]"