DevelopersAPI reference
List materials
GET
/materialsLists the organisation’s published materials. Drafts and deleted materials never appear.
Authorization
apiKey materials:readAuthorizationBearer <token>
An organisation API key, sent as Authorization: Bearer enl_…. Create keys in Settings, API Keys.
In: header
Scope: materials:read
Query Parameters
limit?integer
Range
1 <= value <= 200Default
50cursor?string
The next_cursor from the previous page.
type?string
Value in
- "course"
- "policy"
- "survey"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/materials"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "course", "title": "string", "description": "string", "estimated_minutes": 15, "version": 3, "published_at": "2019-08-24T14:15:22Z", "unlisted": true, "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}