Get Template

Use this API to get a single template

GET https://{{env}}.survey2connect.com/v2/api/templates/{{template_id}}

Path Parameters

Name
Type
Description

template_id

String

id of the template

Headers

Name
Type
Description

Authorization

String

Bearer {access_token}

{
  "_id": "617bc4dfae84c61867dd22d1",
  "templateName": "WP Template 1",
  "language": "EN",
  "medium": "3,",
  "created_at": "1635494793309",
  "modified_at": "1635494793309",
  "message": {
    "type": 0,
    "subjectEData": [],
    "embeddedData": [
      "SurveyLink"
    ],
    "htmlBody": "",
    "body": "We are conducting a survey and your input would be appreciated. Open the link below to start the survey. Thank you! {{SurveyLink}}",
    "subj": ""
  },
  "status": 0,
  "owner": {
    "id": "614190c930eeb15b0da42268",
    "typeOf": "User",
    "careTaker": "614190c930eeb15b0da42268"
  }
}

Last updated

Was this helpful?