Projects
API endpoints for projects
List projects
GET /api/v1/projects
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | query | string | No | Organization scope id. Omit for token default; pass an empty value for personal scope where supported. |
include | query | string | No | Comma-separated relation names to hydrate, or all. |
limit | query | integer | No | Maximum number of items to return. |
offset | query | integer | No | Number of items to skip. |
Example request
curl -X GET \
"https://api.getpilfer.com/api/v1/projects?organizationId=<organizationId>&include=<include>&limit=<limit>&offset=<offset>" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"Example response
Status: 200
{
"data": [
{
"_id": "string",
"name": "string",
"organizationId": "string",
"priority": "string"
}
]
}Other statuses: 401, 403.
Response body type
{ data: Project[] }
Create project
POST /api/v1/projects
Example request
curl -X POST \
"https://api.getpilfer.com/api/v1/projects" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"
-d '{"name":"string","organizationId":"string","priority":"urgent"}'Example response
Status: 201
{
"data": {
"_id": "string",
"name": "string",
"organizationId": "string",
"priority": "string"
}
}Other statuses: 400, 401, 403.
Response body type
{ data: Project }
Get project
GET /api/v1/projects/{id}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Convex document id |
include | query | string | No | Comma-separated relation names to hydrate, or all. |
Example request
curl -X GET \
"https://api.getpilfer.com/api/v1/projects/<id>?include=<include>" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"Example response
Status: 200
{
"data": {
"_id": "string",
"name": "string",
"organizationId": "string",
"priority": "string"
}
}Other statuses: 401, 403, 404.
Response body type
{ data: Project }
Update project
PATCH /api/v1/projects/{id}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Convex document id |
Example request
curl -X PATCH \
"https://api.getpilfer.com/api/v1/projects/<id>" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"
-d '{"name":"string","priority":"urgent"}'Example response
Status: 200
{
"data": {
"_id": "string",
"name": "string",
"organizationId": "string",
"priority": "string"
}
}Other statuses: 400, 401, 403, 404.
Response body type
{ data: Project }
Delete project
DELETE /api/v1/projects/{id}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Convex document id |
Example request
curl -X DELETE \
"https://api.getpilfer.com/api/v1/projects/<id>" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json"Example response
Status: 200
{
"data": {}
}Other statuses: 401, 403, 404.
Response body type
{ data: DeleteResult }
© 2025 Pilfer
All rights reserved.
All rights reserved.