Documentation

Decks

List user's decks

ProductionStagingUAT
GEThttps://ankiren.com/api/decks

Responses

200 · Deck list

  • decks[Deck]
    • idstring
    • namestring
    • descriptionstring?
    • userIdstring
    • createdAtstring<date-time>
      format: date-time
    • updatedAtstring<date-time>
      format: date-time
application/json
{
  "decks": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "userId": "string",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Sample Code

Đổi ngôn ngữ ở ô Language trên thanh Documentation.

cURL
curl -X GET 'https://ankiren.com/api/decks' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json'