Creates a new project. Send the body as multipart/form-data (form-data). Optional file field: logo (project image).
Body
Required
-
Subteam ID to create the project under. Omit to create in the default team context.
-
Project name. Required.
Minimum length is
1. -
Project description or summary.
-
Whether this is a demo project. Send as form field "true" or "false".
Values are
trueorfalse. -
Template ID to create the project from. Omit to create a blank project.
-
Short custom identifier for the project (2–3 characters). Used in task IDs and URLs.
Minimum length is
2, maximum length is3. -
Who can access the project. Values: public (0), limited (1), personal (2). Send as form string (e.g. "0").
Values are
0,1, or2. Default value ispublic. -
Project type. Values: default (0), demo (1), empty (2). Send as form string (e.g. "0").
Values are
0,1, or2. Default value isdefault. -
Default view for the Tasks section. Allowed: table, calendar, swimlane, kanban, timeline, report.
Values are
table,calendar,swimlane,kanban,timeline, orreport. -
List of feature names to disable on the project. Omit or leave empty if none.
-
Widgets to hide on the project. Allowed values: milestones, tasks, discussion, docs, files, time, description, members, activity. Send multiple form fields or comma-separated.
Values are
milestones,tasks,discussion,docs,files,time,description,members, oractivity.
Responses
-
The resource created successfully
-
The client request has not been completed because it lacks valid authentication credentials for the requested resource.
-
The client does not have access rights to the content.
-
The request method is known by the server but is not supported by the target resource.
curl \
--request POST 'https://openapi.niftypm.com/api/v1.0/projects' \
--header "Content-Type: multipart/form-data" \
--form "subteam_id=a1b2c3d4-e5f6" \
--form "name=Q1 Marketing Campaign" \
--form "description=Campaign for Q1 product launch and awareness." \
--form "demo=false" \
--form "template_id=b2c3d4e5-f6a7" \
--form "nice_id=MK" \
--form "access_type=public" \
--form "project_type=default" \
--form "default_tasks_view=table" \
--form "disabled[]=string" \
--form "disabled_widget[]=milestones"
{
"id": "Jh3f8k",
"nice_id": "MK",
"name": "Q1 Marketing Campaign",
"description": "Campaign for Q1 product launch.",
"initials": "Q1MC",
"logo": "https://cdn.example.com/logo.png",
"color": "#4A90D9",
"secondary_color": "#E74C3C",
"demo": false,
"archived": false,
"auto_milestones": true,
"default_tasks_view": "table",
"access_type": "public",
"owner": "V1StGXR8",
"members": [
"Jh3f8k",
"Z5jdHi6B"
],
"general_discussion": "B-myT9k2",
"subteam": "N7xQw2p",
"progress": 0.65,
"joined": true,
"general_discussion_muted": false,
"email": "acme.mk@inbound.example.com",
"zoom_id": "1234567890",
"zoom_password": "string",
"zoom_join_url": "https://zoom.us/j/1234567890",
"webex_id": "string",
"webex_password": "string",
"webex_join_url": "string",
"enabled_modules": [
"milestones",
"tasks",
"discussion"
],
"disabled_modules": [
"string"
],
"disabled_widgets": 0,
"hidden_taskboard_fields": 0,
"repo": "https://github.com/acme/repo-name",
"total_story_points": 42,
"completed_story_points": 28,
"pinned_message": "string",
"pinned_by": "Jh3f8k",
"completion_groups": [
"string"
],
"doc_root_folder": {},
"file_root_folder": {},
"removed": false,
"milestones_rollup": {},
"rollups": [
{}
],
"list_columns_order": [
"status",
"assignee",
"dueDate"
],
"hidden_list_columns": [
"string"
],
"integrations": [
{}
]
}