- Start your journey
- Dummy JSON
Get all post by user id
GET
/posts/user/1
Last modified:2025-05-23 10:27:35
Maintainer:ekovegeance
Request
None
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dummyjson.com/posts/user/1'
Responses
🟢200OK
application/json
Body
posts
array [object {7}]
required
id
integer
optional
title
string
optional
body
string
optional
tags
array[string]
optional
reactions
object
optional
views
integer
optional
userId
integer
optional
total
integer
required
skip
integer
required
limit
integer
required
Example
{
"posts": [
{
"id": 0,
"title": "string",
"body": "string",
"tags": [
"string"
],
"reactions": {
"likes": 0,
"dislikes": 0
},
"views": 0,
"userId": 0
}
],
"total": 0,
"skip": 0,
"limit": 0
}
Modified at 2025-05-23 10:27:35