---
title: "Add Project Endpoint"
method: POST
path: "/addProject"
---

# Add Project Endpoint

`POST /addProject`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/addProject`
- Auth: none declared

Creates a new project and associates it with an event organizer.

Request Body:
    eventOrganizerId (str): The ID of the event organizer (required)
    title (str): The title of the project (required)
    startDate (str): The start date in ISO format (required)
    endDate (str): The end date in ISO format (required)

Returns:
    JSON response with:
        - message: Success message
        - project: Created project details

Errors:
    - 400 if any required parameter is missing or dates are invalid
    - 404 if event organizer is not found
    - 500 if database access fails

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/pavoot/apis/pavoot-api.md) - [All operations](https://skmtc.dev/pavoot/apis/pavoot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pavoot/apis/pavoot-api/revisions/8c0cd91c2a05?raw)
