Listen. Tap the picture.
Match the picture with the word
Say it out loud
Build the sentence
Listen and type it
Tools you will use in this lesson
WordPress.com โ Get a real site to point your browser at, so the endpoints in this lesson return your own posts.
Free plan: US$0, no expiration date, 1 GB storage; plugin installation is not included. Checked on wordpress.com/pricing, 30 Oct 2026.
Do this next: start the site, publish one post, then open its /wp-json/wp/v2/posts address.
See the plan I recommendMondosol may earn a commission if you sign up through these links, at no cost to you.
WordPress REST API: what this WordPress lesson covers
This free interactive lesson explains the WordPress REST API. In about ten minutes you will learn endpoints, JSON, authentication and nonces, and how the block editor and headless sites use the API, with Aisha, Priya and Lars.
What you will learn
- REST API โ A door that programs use to read and write WordPress data โ it lives at /wp-json/
- Endpoint โ One URL for one kind of data โ for example posts
- JSON โ The text format the API uses to send data โ not HTML
- Block editor โ Publish and autosave in the editor โ they travel to the server through the API
- Authentication โ Proof of who you are โ required before you may create or edit content
- Read the posts endpoint โ Read the latest posts as JSON โ open /wp-json/wp/v2/posts on a site
- Headless WordPress โ WordPress is only the backend โ a separate front end shows the pages
- Send a nonce with each request โ Send a short-lived token with each request โ forged requests are refused
Practice questions
- The WordPress REST API is served from which path? Options: /wp-admin/, /wp-content/, /wp-json/.
- Data over the REST API is mainly sent asโฆ Options: JSON, PDF, Spreadsheets.
- When you click Publish in the block editor, the change reaches the server viaโฆ Options: FTP, The REST API, Email.
- What proves a request from the editor is genuine? Options: The theme name, A nonce, The site colour.
How the lesson works
Each card shows one idea with a picture cue and a short tip; tap it to hear it. Then you learn by doing: listen and tap the right picture, match pictures with words, answer a short quiz where a wrong answer costs a heart, build a sentence and listen and type. At the end you earn Mondi, keep your daily streak alive and can practise your mistakes or restart the lesson.
Why the WordPress REST API matters
The REST API is how the block editor saves your work and how apps, mobile clients and headless front ends read your content. Try it: add /wp-json/wp/v2/posts to your site address in a browser and read the latest posts as JSON.
Keep going
Ready for more? Go back to the full WordPress course to pick your next lesson, or browse all Mondosol courses. For an authoritative reference, see WordPress Developer Resources: REST API Handbook. Mondosol is free to start; Plus unlocks all courses, unlimited hearts and offline practice.