API Reference
API Reference

/review-cycles/templates/:id

Returns a single performance review master template by id. Required scope: r_reviews.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

This endpoint uses the r_reviews scope, which must be enabled through the Integrations section found within the Settings menu.

Requires a user token whose member has permission to view performance templates.

Only the latest, non-deleted master template in the performance_review category is returned. Templates belonging to a different category (for example surveys) return 404.

Results

{
  "id": "get-test-template-1",
  "title": "Get Test Template",
  "updated_at": "2021-01-01T00:00:00.000Z",
  "version": 1,
  "questionnaire": {
    "sections": [
      {
        "id": "section1",
        "body": "Section 1: General Questions",
        "questions": [
          {
            "id": "question1",
            "body": "A question about performance",
            "type": "star_rated"
          },
          {
            "id": "question2",
            "body": "Overall rating",
            "type": "star_rated",
            "metadata": {
              "mandatory": true,
              "semantic_type": "overall_rating"
            }
          }
        ]
      }
    ]
  }
}
keytypedescription
idstringMaster template id
titlestringTitle of the template
updated_atstring | nullISO 8601 timestamp of the last update in the template registry
versionintegerTemplate version
questionnaireobjectTemplate questionnaire
questionnaire.sectionsarrayOrdered list of sections
questionnaire.sections[].idstringSection id
questionnaire.sections[].bodystringSection title / header text
questionnaire.sections[].questionsarrayOrdered list of questions in the section
questionnaire.sections[].questions[].idstringQuestion id
questionnaire.sections[].questions[].bodystringQuestion text
questionnaire.sections[].questions[].typestringQuestion type in snake_case. One of: paragraph, paragraph_star_rated, paragraph_numeric_rated, paragraph_custom_rated, single_choice, multiple_choice, star_rated, numeric_rated, custom_rated
questionnaire.sections[].questions[].metadataobjectOptional metadata for the question
questionnaire.sections[].questions[].metadata.mandatorybooleanWhether an answer is required
questionnaire.sections[].questions[].metadata.semantic_typestringSemantic role of the question. One of: section_rating, overall_rating
questionnaire.sections[].questions[].metadata.rating_optionsobjectMap of rating value to label
questionnaire.sections[].questions[].metadata.answer_optionsobjectMap of choice key to label, wrapped under choices

Error responses

StatusCondition
403Missing r_reviews scope, or the user lacks permission to view performance templates
404No performance review template exists with the supplied id
Path Params
string
required

Master template id

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json