Items and answer checks
List questions, use board-facing part IDs, parse response schemas, and submit answers.
List items
GET /api/v1/items requires board=goethe or board=telc. Optional filters are level, skill, part, difficulty, response_type, limit, and cursor. part requires level. limit is 1 to 100 and defaults to 25.
curl --request GET \
--url 'https://sprachpass.com/api/v1/items?board=telc&level=A2&skill=hoeren&limit=25' \
--header "Authorization: Bearer $SPRACHPASS_API_KEY"Pagination
Use pagination.next_cursor without changing any filter, including limit. The cursor is opaque and bound to the original filter set. A malformed cursor or a cursor reused with different filters returns validation_error. Stop when next_cursor is null.
Board and part IDs
board_part_id is the public identity of the part for the requested board, such as goethe_a1_lesen_1 or telc_a2_hoeren_2. Do not derive it from an item's storage value. GET /api/v1/meta?board=goethe returns the valid part IDs and labels for that board.
Item shape
Each item contains only public prompt, stimulus, option, response schema, board placement, version, date, and audio fields. It never returns an answer key, transcript, grading feedback, or authoring metadata.
Response types
- mcq_picture and mcq_text: send one selected_option_id from option_ids.
- true_false and yes_no: send a boolean value.
- source_choice: send selected_source_id as a or b.
- matching: send every prompt id exactly once in selections, using listed option ids.
- form_fill: send every listed field id exactly once in fields.
Check an answer
POST /api/v1/items/{id}/check takes the requested board and one strict response object. Extra or missing ids return validation_error.
curl --request POST \
--url 'https://sprachpass.com/api/v1/items/example-item/check' \
--header "Authorization: Bearer $SPRACHPASS_API_KEY" \
--header 'Content-Type: application/json' \
--data '{"board":"goethe","response":{"type":"mcq_text","selected_option_id":"b"}}'{ "correct": true }Verdict only
The check endpoint returns true or false. It does not return the correct answer or an item-specific explanation.