Create your first model and entries
In this tutorial you create a model called Articles, add three fields, save one entry, and read that entry from the REST API.
What you'll make: one model with a title, a summary and a date, and one saved entry you can read from /morphic/v1/items/article.
Before you start
- The Morphic plugin is active. See Install and activate Morphic.
- You are logged in as an administrator. Only administrators can change models.
1. Create the model
- Open Models in the sidebar.
- Select New model.
- In Name, enter
Articles. Morphic fills in the API namearticleand the Id prefixart. Leave them as they are. - Select Create model.
Morphic shows the toast "Model created. Now add fields." and opens the model editor. The model is saved and the editor shows No fields yet.
2. Add fields
Add these three fields. Each field uses the same first step: select Add field, then choose the type.
Add the title field
- Select Add field.
- Select Text.
- In Label, enter
Title. - Turn on Required.
- Turn on Use as title.
- Select Add field.
Add the summary field
- Select Add field.
- Select Text.
- In Label, enter
Summary. - Select Add field.
Add the published field
- Select Add field.
- Select Date.
- In Label, enter
Published. - Select Add field.
After the third field, the editor shows 3 fields.
Save the fields
- Select Save changes.
The button changes to Saved, and Morphic shows a toast with the new version number.
3. Create an entry
- Open Articles under Content in the sidebar. The list shows No articles yet.
- Select New article. The entry editor opens.
- In Title, enter
The Lighthouse Keeper's Almanac. - In Summary, enter
A short guide to the harbour year. - In Published, enter a date, for example
2026-11-30. - Select Save.
Morphic shows the toast "Article created" and the entry appears in the list.
4. Read the entry from the API
- On the Articles list, select More (⋮).
- Select API for Articles.
- Open the REST address
/morphic/v1/items/articleunder your WordPress REST base, while logged in as an administrator.
The response contains an items list with your entry. Its data holds title and summary.
Result
You have an Articles model with three fields and one saved entry. The entry is returned by the REST API.
What you learned
- A model is saved as soon as you select Create model. Fields are added to it in the editor.
- Save changes saves the fields. Each save creates a new version of the model.
- Each entry is a row in the model's list under Content. The entry's API address is in the More menu.
Next
- Create a model covers the name rules and the other model kinds.
- Add and configure fields covers field options such as Filter by this field and Searchable.
- Create and edit entries covers the entry editor, the bin and history.