Skip to main content
GET
https://api.chessplay.io
/
api
/
v1
/
batches
curl -X GET https://api.chessplay.io/api/v1/batches/ \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "count": 5,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "name": "Beginner Batch",
      "coach": {...},
      "students": [...],
      "student_count": 15
    }
  ]
}

Authentication

Authorization
string
required
Bearer token for authentication

Query Parameters

Search batches by name
curl -X GET https://api.chessplay.io/api/v1/batches/ \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "count": 5,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": 1,
      "name": "Beginner Batch",
      "coach": {...},
      "students": [...],
      "student_count": 15
    }
  ]
}