Get Labels

GET /api/v2.0/labels

This endpoint fetch list of all the label based on given query parameters.

Query parameters

  • limit number

    No of records per page

  • offset number

    Record Offset

  • type string

    Label Type

    Values are others or member.

Responses

  • 200 object

    Success Response

  • 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.

GET /api/v2.0/labels
curl \
 -X GET https://openapi.niftypm.com/api/v2.0/labels \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response example (200)
{
  "hasMore": false,
  "items": [
    {
      "id": "string",
      "name": "string",
      "color": "string",
      "type": "string",
      "created_by": "string",
      "team": "string",
      "default": "string"
    }
  ]
}