Skip to main content

Projects list

Endpoint GET /projects

Retrieve a list of user's projects data.

Query parameters:

  • limit - number of projects to retrieve (default: 10)

Example Request:

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://api.commoninja.com/platform/api/v1/projects?limit=5"

Example Response:

{
"total": 5,
"limit": 5,
"offset": 0,
"page": 1,
"pages": 1,
"docs": [
{
"projectId": "894f5aed-29f5-46c5-9f26-022bfccc5292",
"userId": "194f5aed-29f5-46c5-9f26-022bfccc5292",
"name": "My Project",
"slug": "my-project",
"domains": ["https://www.commoninja.com"],
"description": "",
"thumbnail": "",
"created": "2023-04-25T09:44:42.842Z",
"updated": "2023-04-25T09:44:42.842Z"
}
]
}