Skip to main content

Project

Endpoint GET /projects/:id

Retrieve a user's project data by id.

Path Parameters

Required
  • id - The project's id.

Example Request:

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://api.commoninja.com/platform/api/v1/projects/894f5aed-29f5-46c5-9f26-022bfccc5292"

Example Response:

{
"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"
}