Examples
Practical, copy-paste examples for the most common Wyzed API tasks. Each page covers one task, links to the relevant API reference, and shows working Python code.
Setup
The examples use the httpx library:
pip install httpx
Each snippet assumes you already have:
access_token— an access token, see Authenticationtenant_id— your Tenant ID, see Create Credentials
and uses your Wyzed account domain (e.g. https://your-account.wyzed.com) as the
base URL.
In this section
- List Users — page through active learners
- Get Users by Email — look up users by email address
- Get a User's SSO ID — map a Wyzed user to your identity provider
- Read Course Completions — page through recent completions
- Read Course Content — read every course, activity, and element
- Custom Fields — read fields, assignments, and records, and download record files