Skip to main content

Create Project

POST /public/action/projects/create

Creates a new project for a client, optionally from a template.

Authentication: X-API-KEY header (see Authentication).

Request body​

FieldTypeDescription
namestringProject name.
clientNamestringClient the project belongs to.
startDatedateProject start date.
dueDatedateProject due date.
portalAccessenumProject.PortalAccess visibility setting.
feeScheduleobjectFee schedule configuration.
showTimeWorkedInPortalbooleanShow logged time in the client portal.
templateNamestringName of a project template to apply.
customValuesmapCustom-field values keyed by field name.

Request​

curl -X POST https://api.withmoxie.com/public/action/projects/create \
-H "X-API-KEY: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"name": "Website Redesign", "clientName": "Acme Kft.", "startDate": "2026-07-15"}'

Response​

Returns the created Project.

{
"id": "66b0f4c3c3a9e40012ab6611",
"accountId": 10016,
"clientId": "66b0f2a1c3a9e40012ab34cd",
"name": "Website Redesign",
"description": null,
"active": true,
"startDate": "2026-07-15",
"dueDate": null,
"dateCreated": "2026-07-14T10:00:00Z",
"portalAccess": "FULL",
"showTimeWorkedInPortal": false,
"hexColor": "#5C00E2",
"customValues": []
}