curl --request POST \
--url https://{your-workspace}.neetoinvoice.com/api/external/v1/projects \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"project": {
"name": "Website Redesign Initiative",
"client_id": "5a2de667-243b-4da3-b090-b698a03d98da",
"billing_method": "hourly_project_rate",
"tasks_attributes": [
{
"name": "UI Design Phase",
"billable": true,
"hourly_rate": 85,
"checklists_attributes": [
{
"description": "Review wireframe mockups"
}
]
}
],
"hourly_rate": 75.5,
"currency": "USD",
"flat_amount": 5000,
"internal_notes": "This is a priority project with tight deadlines",
"time_round_upto": 15,
"autolock_enabled": true,
"reply_to": "[email protected]",
"enable_approvals": true,
"notify_timesheet_approval_request_instantly": false,
"notify_timesheet_approval_request_weekly": true,
"timesheet_approval_email_notification_day": "friday",
"timesheet_approval_email_notification_time": "17:00",
"autolock_settings": {
"end_of_the_day": true,
"end_of_the_week": false,
"end_of_the_month": false
},
"project_users_attributes": [
{
"user_id": "f448f61d-0834-455c-b9f2-8a69fe159c16",
"role": "project_manager",
"hourly_rate": 75.5,
"approval_type": "manual_approval"
}
]
},
"email": "[email protected]"
}
'{
"notice_code": "<string>",
"project": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"identifier": "<string>",
"billing_method": "<string>",
"hourly_rate": 123,
"flat_amount": "<string>",
"status": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_invoice_id": "<string>",
"internal_notes": "<string>",
"time_round_upto": 123,
"autolock_enabled": true,
"autolock_settings": {
"end_of_the_day": "<string>",
"end_of_the_week": "<string>",
"end_of_the_month": "<string>"
},
"currency": "<string>",
"reply_to": "[email protected]",
"enable_approvals": true,
"notify_timesheet_approval_request_instantly": true,
"timesheet_approval_email_notification_day": "<string>",
"timesheet_approval_email_notification_time": "<string>"
}
}This API allows to create a project in an organization.
curl --request POST \
--url https://{your-workspace}.neetoinvoice.com/api/external/v1/projects \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"project": {
"name": "Website Redesign Initiative",
"client_id": "5a2de667-243b-4da3-b090-b698a03d98da",
"billing_method": "hourly_project_rate",
"tasks_attributes": [
{
"name": "UI Design Phase",
"billable": true,
"hourly_rate": 85,
"checklists_attributes": [
{
"description": "Review wireframe mockups"
}
]
}
],
"hourly_rate": 75.5,
"currency": "USD",
"flat_amount": 5000,
"internal_notes": "This is a priority project with tight deadlines",
"time_round_upto": 15,
"autolock_enabled": true,
"reply_to": "[email protected]",
"enable_approvals": true,
"notify_timesheet_approval_request_instantly": false,
"notify_timesheet_approval_request_weekly": true,
"timesheet_approval_email_notification_day": "friday",
"timesheet_approval_email_notification_time": "17:00",
"autolock_settings": {
"end_of_the_day": true,
"end_of_the_week": false,
"end_of_the_month": false
},
"project_users_attributes": [
{
"user_id": "f448f61d-0834-455c-b9f2-8a69fe159c16",
"role": "project_manager",
"hourly_rate": 75.5,
"approval_type": "manual_approval"
}
]
},
"email": "[email protected]"
}
'{
"notice_code": "<string>",
"project": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"identifier": "<string>",
"billing_method": "<string>",
"hourly_rate": 123,
"flat_amount": "<string>",
"status": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"client_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_invoice_id": "<string>",
"internal_notes": "<string>",
"time_round_upto": 123,
"autolock_enabled": true,
"autolock_settings": {
"end_of_the_day": "<string>",
"end_of_the_week": "<string>",
"end_of_the_month": "<string>"
},
"currency": "<string>",
"reply_to": "[email protected]",
"enable_approvals": true,
"notify_timesheet_approval_request_instantly": true,
"timesheet_approval_email_notification_day": "<string>",
"timesheet_approval_email_notification_time": "<string>"
}
}{your-workspace} with your workspace’s subdomain. X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.
Hide child attributes
Name of the project.
"Website Redesign Initiative"
Unique identifier for the client.
"5a2de667-243b-4da3-b090-b698a03d98da"
The billing strategy used for the project.
hourly_project_rate, hourly_person_rate, hourly_task_rate, fixed_price_project List of tasks to create in the project.
Hide child attributes
Name of the task.
"UI Design Phase"
Whether the task is billable.
true
Hourly rate for the task.
85
Hourly rate for the project. Required if billing_method is 'hourly_project_rate'.
75.5
Currency used for billing.
"USD"
Fixed amount for the project. Required if billing_method is 'fixed_price_project'.
5000
Internal notes about the project.
"This is a priority project with tight deadlines"
Time rounding configuration in minutes.
0, 6, 15, 30 15
Whether automatic time entry locking is enabled.
true
Reply-to email address for project communications.
Whether timesheet approvals are required.
true
Send instant notifications for approval requests.
false
Send weekly notifications for approval requests.
true
Day of the week for weekly approval notifications.
sunday, monday, tuesday, wednesday, thursday, friday, saturday "friday"
Time of day for weekly approval notifications (24-hour format).
"17:00"
Configuration to automatically lock time entries.
Hide child attributes
Lock time entries at the end of each day.
true
Lock time entries at the end of each week.
false
Lock time entries at the end of each month.
false
Users assigned to the project along with their roles.
Hide child attributes
Unique ID of the user. Refer to Getting the User ID section for detailed instructions.
"f448f61d-0834-455c-b9f2-8a69fe159c16"
Role of the user in the project.
project_manager, regular_user "project_manager"
Hourly rate for user.
75.5
Approval type for timesheet submissions.
manual_approval, auto_approval "manual_approval"
Email of the user creating the project. Required for authentication and user identification.
OK - Project created successfully
Hide child attributes