Skip to content
LinkedInInstagramFacebook

Get Projects List

The Get Projects List API allows you to retrieve a list of projects associated with your account. Projects help organize your screenshots and provide better management capabilities.

GET https://api.peekshot.com/api/v1/projects

All requests must include the x-api-key header with a valid API key.

HeaderRequiredDescription
x-api-keyYesYour unique API key for authentication
ParameterTypeRequiredDefaultDescription
pageintegerNo1Page number for pagination
limitintegerNo10Number of results per page
namestringNo-Filter projects by name
curl --location 'https://api.peekshot.com/api/v1/projects' \
  --header 'x-api-key: your-api-key'
{
  "status": "success",
  "message": "Projects fetched successfully",
  "data": {
    "projects": [
      {
        "id": 11,
        "name": "Delta",
        "createdAt": "2025-02-25T04:58:28.205Z",
        "updatedAt": "2025-02-25T04:58:28.205Z",
        "createdByUser": {
          "id": 21,
          "email": "john.doe@gmail.com",
          "firstName": "John",
          "lastName": "Doe"
        }
      }
    ],
    "meta": {
      "currentPage": 1,
      "totalProjects": 1,
      "limit": 10
    }
  },
  "statusCode": 200
}
Status CodeError MessageDescription
400Invalid RequestCheck your input parameters
403ForbiddenInvalid or inactive API key
500Internal Server ErrorIssue on the server side