Projects API
List projects
GET /api/projectsReturns all projects accessible to the authenticated user.
Response
{
"projects": [
{
"id": "uuid",
"name": "Project Name",
"status": "active",
"agency": { "id": "uuid", "name": "Agency Name" },
"created_at": "2026-01-01T00:00:00Z"
}
]
}Get project
GET /api/projects/{project_id}Returns a single project with full details.
Create project
POST /api/projects
Content-Type: application/json
{
"name": "New Project",
"agency_id": "uuid",
"campaign_id": "uuid",
"media_category_id": "uuid"
}Update project
PATCH /api/projects/{project_id}
Content-Type: application/json
{
"status": "on_hold"
}