Templates

List templates the requester has access to. Supports filtering by id, project, target type (with deal/budget discriminated via the underlying quote), free-text query, and a task-template-only task_project_id filter.

get/api/v2/templates

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/templates
  • Auth
    none declared

Query parameters

OR

Filter the templates collection. Accepts a deepObject of operator-keyed fields (see _filter_root_template).

{
  "0": {
    "target_type": {
      "eq": "budget"
    }
  },
  "1": {
    "target_type": {
      "eq": "deal"
    }
  },
  "$op": "or"
}
sortstring[]

Sort the templates collection by one or more fields. Prefix a field with - for descending order.

Response

Successful response containing a paginated list of templates.

Example response

{
  "data": [
    {
      "type": "templates",
      "id": "18",
      "attributes": {
        "name": "Offboarding: General",
        "description": "Popis stvari koje trebamo obaviti kada osoba odlazi iz firme",
        "target_id": "258974",
        "target_type": "project",
        "color_id": null,
        "created_at": "2023-01-24T14:08:06.857+01:00",
        "updated_at": "2026-04-29T12:27:06.627+02:00",
        "deleted_at": null
      },
      "relationships": {
        "project": {
          "data": {
            "type": "projects",
            "id": "258974"
          }
        },
        "deal": {
          "data": null
        },
        "page": {
          "data": null
        },
        "task": {
          "data": null
        },
        "creator": {
          "data": {
            "type": "people",
            "id": "13"
          }
        }
      }
    }
  ],
  "meta": {
    "total_count": 25,
    "current_page": 1,
    "total_pages": 13
  },
  "included": []
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the /// response property's maxLength was unset from 255 for the response status

    • breaking

      the /// response's property type changed from integer to no type for status

    • breaking

      the /// response's property type changed from string to no type, and format from date-time to no format for status

    • breaking

      the /// response's property type changed from string to no type for status

    • breaking

      the /// response's property type changed from string to no type for status

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.