restful-api.dev
App · 6 actions
A real REST API for testing and learning: read restful-api.dev's sample objects, and create, replace, update and delete your own, each a name plus any JSON data. Good for trying out a workflow against a live backend. No account or API key required.
Actions
| Action | What it does |
|---|---|
| Create object | Store a new object on restful-api.dev, with a name and any data you like, and get back its new id. |
| Delete object | Delete an object you created from restful-api.dev, for good. |
| Get object | Get one restful-api.dev object by its id: its name and data. |
| List objects | List restful-api.dev objects. |
| Replace object | Replace an object you created with a new name and data (a PUT): anything not given is gone afterwards. |
| Update object | Change the name or the data of an object you created (a PATCH), keeping whatever you leave empty. |
Create object
Store a new object on restful-api.dev, with a name and any data you like, and get back its new id. It is really saved, and anyone with the id can read it, so keep it to test data. No API key required.
Inputs
- Name
nametextRequired - The object's name.
- Data
dataobject - The object's data: any fields and values you like, such as year 2024 and color Teal.
Outputs
objectobject- A restful-api.dev object.
Example output
{
"object": {
"created_at": "2026-10-16T18:27:03.241Z",
"data": {
"color": "Teal",
"price": 12.5,
"year": 2026
},
"id": "ff808181a09d98f701a145f7b1c9755b",
"name": "Lodol QA test object",
"updated_at": null
}
}Delete object
Delete an object you created from restful-api.dev, for good. No API key required.
Inputs
- Object id
object_idtextRequired - The id of an object you created. The sample objects 1 to 13 can't be changed or deleted.
Outputs
deletedtrue/false- True once the object is deleted.
messagetext- restful-api.dev's confirmation message.
object_idtext- The id of the object deleted.
Example output
{
"deleted": true,
"message": "Object with id = ff808181a09d98f701a145f7b1c9755b has been deleted.",
"object_id": "ff808181a09d98f701a145f7b1c9755b"
}Get object
Get one restful-api.dev object by its id: its name and data. No API key required.
Inputs
- Object id
object_idtextRequired - The object's id: one of the sample ids 1 to 13, or the id restful-api.dev gave an object you created.
Outputs
objectobject- A restful-api.dev object.
Example output
{
"object": {
"created_at": null,
"data": {
"CPU model": "Intel Core i9",
"Hard disk size": "1 TB",
"price": 1849.99,
"year": 2019
},
"id": "7",
"name": "Apple MacBook Pro 16",
"updated_at": null
}
}List objects
List restful-api.dev objects. With no ids you get its 13 sample objects (phones, laptops and tablets); with ids you get just those objects, including ones you created. No API key required.
Inputs
- Ids
idslist - The ids of the objects to get, up to 50. Leave empty for the 13 sample objects.
Outputs
countnumber- How many objects came back.
idslist- The ids asked for; empty for the samples.
objectslist- The objects, in the order the service gave.
Example output
{
"count": 1,
"ids": [
"7"
],
"objects": [
{
"created_at": null,
"data": {
"CPU model": "Intel Core i9",
"Hard disk size": "1 TB",
"price": 1849.99,
"year": 2019
},
"id": "7",
"name": "Apple MacBook Pro 16",
"updated_at": null
}
]
}Replace object
Replace an object you created with a new name and data (a PUT): anything not given is gone afterwards. No API key required.
Inputs
- Object id
object_idtextRequired - The id of an object you created. The sample objects 1 to 13 can't be changed or deleted.
- Name
nametextRequired - The object's name.
- Data
dataobject - The object's new data. It replaces all of the old data; leave empty to clear it.
Outputs
objectobject- A restful-api.dev object.
Example output
{
"object": {
"created_at": null,
"data": {
"color": "Navy",
"year": 2027
},
"id": "ff808181a09d98f701a145f7b1c9755b",
"name": "Lodol QA test object v2",
"updated_at": "2026-10-16T18:27:11.957Z"
}
}Update object
Change the name or the data of an object you created (a PATCH), keeping whatever you leave empty. New data replaces all of the old data. No API key required.
Inputs
- Object id
object_idtextRequired - The id of an object you created. The sample objects 1 to 13 can't be changed or deleted.
- Name
nametext - The object's new name. Leave empty to keep it.
- Data
dataobject - The object's new data. Leave empty to keep the old data; anything given replaces all of it.
Outputs
objectobject- A restful-api.dev object.
Example output
{
"object": {
"created_at": null,
"data": {
"color": "Navy",
"year": 2027
},
"id": "ff808181a09d98f701a145f7b1c9755b",
"name": "Lodol QA patched",
"updated_at": "2026-10-16T18:27:12.475Z"
}
}