GET
/
v1
/
courses
curl --request GET \
  --url https://public-api.tryriot.com/v1/courses \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "created_at": "2024-01-13T10:00:00.000000Z",
      "duration": 3,
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "settings": [
        {
          "delivery": "first_day",
          "year": 2
        }
      ],
      "slug": "digital_footprint",
      "theme": "passwords",
      "updated_at": "2024-01-13T10:00:00.000000Z"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Headers

x-item-limit
integer
default:50

Maximum number of items to return. Maximum value is 100.

Required range: 1 <= x <= 100
x-next-cursor
string

Pagination cursor for retrieving the next page of results. This value is obtained from the 'x-next-cursor' response header of a previous API call. The cursor should be passed unchanged to fetch next pages. See https://docs.tryriot.com/api-reference/introduction#pagination for examples.

Query Parameters

workspace_id
string
required

ID of the workspace for which to retrieve courses

Response

200
application/json
Courses list
data
object[]
required