Create Status

POST /api/v1.0/taskgroups

This endpoint creates a new status using the provided details.

application/json

Body Required

  • name string Required

    Name

  • order number

    Order

  • color string

    Color

  • isCompletionGroup boolean

    Is Completion Group

  • project_id string Required

    Project ID

Responses

  • 201 application/json

    The resource created successfully

    Hide response attributes Show response attributes object
    • id string Required
    • name string Required
    • created_by string Required
    • project string Required
    • color string Required
    • order number Required
    • assignees array[string] Required
    • rollup string Required
  • 401

    The client request has not been completed because it lacks valid authentication credentials for the requested resource.

  • 403

    The client does not have access rights to the content.

  • 405

    The request method is known by the server but is not supported by the target resource.

POST /api/v1.0/taskgroups
curl \
 --request POST 'https://openapi.niftypm.com/api/v1.0/taskgroups' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"string","order":42.0,"color":"string","isCompletionGroup":true,"project_id":"string"}'
Request examples
{
  "name": "string",
  "order": 42.0,
  "color": "string",
  "isCompletionGroup": true,
  "project_id": "string"
}
Response examples (201)
{
  "id": "string",
  "name": "string",
  "created_by": "string",
  "project": "string",
  "color": "string",
  "order": 42.0,
  "assignees": [
    "string"
  ],
  "rollup": "string"
}