Employment Hero LogoEmployment Hero

Survey Template

Lists the system and organisation survey templates available to the organisation.

GET
https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

Query Parameters

page_indexnumber

Current page index

Default1
Min1
item_per_pagenumber

Number of items per page

Default20
Max100

Response Body

dataobject
itemsobject[]
iduuid

Unique identifier for the survey template.

namestring

The name of the survey template.

systemboolean

Whether this is a system template. System templates cannot be updated or deleted.

created_atdatetime

The date and time the survey template was created, in RFC 3339 format (UTC).

updated_atdatetime

The date and time the survey template was last updated, in RFC 3339 format (UTC).

page_indexnumber

Current page index

Default1
Min1
item_per_pagenumber

Number of items per page

Default20
Max100
total_itemsnumber

Total items

total_pagesnumber

Total pages

Example

curl -X GET \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ"

Response

{  "data": {    "items": [      {        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",        "name": "Team Pulse Check",        "system": false,        "created_at": "2026-11-02T09:00:00Z",        "updated_at": "2026-11-02T09:00:00Z"      }    ],    "page_index": 1,    "item_per_page": 20,    "total_items": 1,    "total_pages": 1  }}

Retrieves a single survey template with its questions and choices.

GET
https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates/:template_id

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

template_iduuidrequired

The ID of the survey template.

Response Body

dataobject
iduuid

Unique identifier for the survey template.

namestring

The name of the survey template.

systemboolean

Whether this is a system template. System templates cannot be updated or deleted.

created_atdatetime

The date and time the survey template was created, in RFC 3339 format (UTC).

updated_atdatetime

The date and time the survey template was last updated, in RFC 3339 format (UTC).

questionsobject[]

The questions of the survey template, in display order.

Example

curl -X GET \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates/:template_id" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ"

Response

{  "data": {    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",    "name": "Team Pulse Check",    "system": false,    "created_at": "2026-11-02T09:00:00Z",    "updated_at": "2026-11-02T09:00:00Z",    "questions": [      {        "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",        "text": "How are you feeling about work this week?",        "type": "single_choice",        "order": 1,        "choices": [          {            "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",            "value": "Great"          },          {            "id": "d4e5f6a7-b8c9-0123-def0-234567890123",            "value": "Okay"          },          {            "id": "e5f6a7b8-c9d0-1234-ef01-345678901234",            "value": "Not good"          }        ]      },      {        "id": "f6a7b8c9-d0e1-2345-f012-456789012345",        "text": "Is there anything we could do better?",        "type": "text",        "order": 2,        "choices": null      }    ]  }}

Creates a survey template for the organisation.

POST
https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

Request Body

namestringrequired

The name of the survey template.

questionsobject[]required

The questions of the survey template. At least one question is required.

Response Body

Returns HTTP 201 Created with the full detail of the newly created survey template, including all questions.

dataobject
iduuid

Unique identifier for the survey template.

namestring

The name of the survey template.

systemboolean

Whether this is a system template. System templates cannot be updated or deleted.

created_atdatetime

The date and time the survey template was created, in RFC 3339 format (UTC).

updated_atdatetime

The date and time the survey template was last updated, in RFC 3339 format (UTC).

questionsobject[]

The questions of the survey template, in display order.

Example

curl -X POST \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ" \  -H "Content-Type: application/json" \  -d '{    "name": "Team Pulse Check",    "questions": [      {        "text": "How are you feeling about work this week?",        "type": "single_choice",        "choices": [          "Great",          "Okay",          "Not good"        ]      },      {        "text": "Is there anything we could do better?",        "type": "text"      }    ]  }'

Response

{  "data": {    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",    "name": "Team Pulse Check",    "system": false,    "created_at": "2026-11-02T09:00:00Z",    "updated_at": "2026-11-02T09:00:00Z",    "questions": [      {        "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",        "text": "How are you feeling about work this week?",        "type": "single_choice",        "order": 1,        "choices": [          {            "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",            "value": "Great"          },          {            "id": "d4e5f6a7-b8c9-0123-def0-234567890123",            "value": "Okay"          },          {            "id": "e5f6a7b8-c9d0-1234-ef01-345678901234",            "value": "Not good"          }        ]      },      {        "id": "f6a7b8c9-d0e1-2345-f012-456789012345",        "text": "Is there anything we could do better?",        "type": "text",        "order": 2,        "choices": null      }    ]  }}

Updates an organisation survey template.

Only the fields you send are changed. Sending questions replaces the whole list of questions, so include every question you want to keep.

PATCH
https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates/:template_id

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

template_iduuidrequired

The ID of the survey template to update. System templates cannot be updated.

Request Body

namestring

The name of the survey template.

questionsobject[]

The questions of the survey template. At least one question is required.

Response Body

Returns the full detail of the survey template, including all questions.

dataobject
iduuid

Unique identifier for the survey template.

namestring

The name of the survey template.

systemboolean

Whether this is a system template. System templates cannot be updated or deleted.

created_atdatetime

The date and time the survey template was created, in RFC 3339 format (UTC).

updated_atdatetime

The date and time the survey template was last updated, in RFC 3339 format (UTC).

questionsobject[]

The questions of the survey template, in display order.

Example

curl -X PATCH \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates/:template_id" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ" \  -H "Content-Type: application/json" \  -d '{    "name": "Team Pulse Check",    "questions": [      {        "text": "How are you feeling about work this week?",        "type": "single_choice",        "choices": [          "Great",          "Okay",          "Not good"        ]      },      {        "text": "Is there anything we could do better?",        "type": "text"      }    ]  }'

Response

{  "data": {    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",    "name": "Team Pulse Check",    "system": false,    "created_at": "2026-11-02T09:00:00Z",    "updated_at": "2026-11-02T09:00:00Z",    "questions": [      {        "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",        "text": "How are you feeling about work this week?",        "type": "single_choice",        "order": 1,        "choices": [          {            "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",            "value": "Great"          },          {            "id": "d4e5f6a7-b8c9-0123-def0-234567890123",            "value": "Okay"          },          {            "id": "e5f6a7b8-c9d0-1234-ef01-345678901234",            "value": "Not good"          }        ]      },      {        "id": "f6a7b8c9-d0e1-2345-f012-456789012345",        "text": "Is there anything we could do better?",        "type": "text",        "order": 2,        "choices": null      }    ]  }}

Deletes an organisation survey template.

Deleting a template cannot be undone. It does not change surveys that were already created from the template.

DELETE
https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates/:template_id

Path Parameters

organisation_iduuidrequired

The ID of the organisation.

template_iduuidrequired

The ID of the survey template to delete. System templates cannot be deleted.

Response Body

Returns HTTP 204 No Content on success. No response body is included.

Example

curl -X DELETE \  "https://api.employmenthero.com/api/v1/organisations/:organisation_id/survey_templates/:template_id" \  -H "Authorization: Bearer AUXJ3123xyrj123fdsjkl124aAJKQ"

Response

This endpoint does not return a response body.