# Zonka Feedback

> Read and record Zonka Feedback survey responses, send surveys by email or text, and keep contacts up to date.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/zonka-feedback

## Actions

### Add response

Record a survey response, for example one collected outside Zonka Feedback.

**Inputs**

- Survey (`survey_id`, text, required): The survey.
- Answers (`answers`, list, required): The answers, each with a question variable ID and an answer. Variable IDs are on the question's Options tab in the survey builder.
- Started at (`survey_start_time`, date and time): When the survey was started.
- Finished at (`survey_end_time`, date and time): When the survey was finished.
- Submitted at (`submit_date_time`, date and time): When the response was submitted; now if left empty.
- Language (`language`, text): The language code, such as en_US; the survey's own if left empty.
- Location (`location_id`, text): The location, by ID or your own ID for it.
- Agent (`agent`, text): The agent's email or ID.
- Channel (`channel`, text): How the response came in, such as Web, Email or WhatsApp; Online if left empty.
- Contact name (`contact_name`, text): The respondent's name.
- Contact email (`contact_email`, text): The respondent's email address.
- Contact mobile (`contact_mobile`, text): The respondent's mobile number with country code.
- Contact unique ID (`contact_unique_id`, text): Your own ID for the respondent.
- Attributes (`attributes`, object): Custom and contact attributes as names and values, such as flightNumber.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "message": "Response added successfully",
    "responseId": "68dbc7c83d265d9f05626c64",
    "status": 201,
    "success": true
  }
}
```

### Create or update contacts

Add up to 25 contacts, or update those that already exist.

**Inputs**

- Contacts (`contacts`, list, required): The contacts, each with an email, mobile or uniqueId, and a name, list of segment names and attributes if you like.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "status": 200,
    "success": true
  }
}
```

### Create survey link

Make a single-use survey link for one person, with values the response will carry.

**Inputs**

- Survey (`survey_id`, text, required): The survey.
- Contact name (`contact_name`, text): The name of the person the link is for.
- Contact email (`contact_email`, text): Their email address.
- Contact mobile (`contact_mobile`, text): Their mobile number with country code.
- Contact unique ID (`contact_unique_id`, text): Your own ID for them.
- Attributes (`attributes`, object): Values the response will carry, as names and values, such as booking_id.
- Location (`location_id`, text): The location, by ID or your own ID for it.
- Agent (`agent`, text): The agent's email or ID.
- Expires at (`expires_at`, date and time): When the link stops working; 72 hours after it is made if left empty.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "data": {
      "expiresAt": "2026-07-25T14:30:00.000Z",
      "linkId": "68f1a2b3c4d5e6f708091a2b",
      "trackingCode": "9fK2mP4qR7sT",
      "url": "https://feedback.examplecompany.com/AbC12xYz/9fK2mP4qR7sT"
    },
    "message": "Link created successfully",
    "status": 201,
    "success": true
  }
}
```

### Delete survey link

Delete a single-use survey link and what it stores.

**Inputs**

- Link ID (`link_id`, text, required): The link's ID.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "data": {},
    "message": "Link created successfully",
    "status": 201,
    "success": true
  }
}
```

### Get contact

Get a contact by their ID or your own ID for them.

**Inputs**

- Contact ID (`contact_id`, text, required): The contact's ID, or your own ID for them.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "attributes": [
      {
        "contact_city": "Denver"
      }
    ],
    "bounced": false,
    "channel": "SMS",
    "email": "xmartin@example.com",
    "externalId": "89833",
    "hasNote": "true",
    "id": "5ef5e1e22f1bf3000720a56a",
    "isDeleted": false,
    "lastEmailSurveySentDatetime": "2020-07-17T10:54:20.501Z",
    "lastSmsSurveySentDatetime": "2020-06-17T10:54:20.501Z",
    "lists": [
      {
        "id": "5ee9f87f3a1266000725f327",
        "name": "New Customers"
      }
    ],
    "mobile": "+1232232222",
    "name": "Xavier Martin",
    "pendingTasks": 1,
    "totalResponses": 3,
    "unsubscribeEmail": false,
    "unsubscribeSMS": false
  }
}
```

### Get location

Get a location's details.

**Inputs**

- Location (`location_id`, text, required): The location.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "address": "DLF Tower",
    "externalId": "GGN",
    "id": "5f15816930b2f1000881f8af",
    "isActive": true,
    "labels": [
      "US"
    ],
    "name": "Gurgaon"
  }
}
```

### Get response

Get a response with its answers, scores and sentiment.

**Inputs**

- Response ID (`response_id`, text, required): The response's ID.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "CES": "7",
    "CSAT": "4",
    "NPS": "9",
    "channel": "email",
    "channelDetails": {
      "emailOpened": "2020-08-07T10:38:21.264Z",
      "sent": "2020-08-07T10:38:21.264Z",
      "surveyOpened": "2020-08-07T10:38:21.264Z",
      "surveySubmitted": "2020-08-07T10:38:21.264Z",
      "userAgent": "Mozilla/5.0"
    },
    "emotion": [
      "Happy"
    ],
    "id": "5f2d2f1d605a2a000770f69f",
    "integrationDetails": {
      "ticketId": 6728282,
      "type": "zendesk"
    },
    "intent": [
      "Praise"
    ],
    "locationId": "8f2d2f1dd12993bdd57da9a6",
    "locationName": "Japan",
    "ratedUserId": "6f2d2f1dd12993bdd57da9a6",
    "ratedUserName": "Mahesh",
    "recievedDate": "2020-08-07T10:38:21.264Z",
    "respondentDetails": {
      "emailAddress": "mark@example.com",
      "externalId": "ZF30",
      "mobile": "+9123232323",
      "name": "Mark Wood"
    },
    "respondentId": "7f2d2f1dd12993bdd57da9a6",
    "responseURL": "https://platform.zonkafeedback.com/responseinbox/5f2d2f1d605a2a000770f69f",
    "sentiment": "Positive",
    "surveyId": "5ee21f82401f2400074e4474",
    "surveyLanguage": "en_US",
    "surveyName": "Net Promoter Score",
    "surveyResponse": [
      {
        "answer": "9",
        "questionId": "5ee21f82401f2400074e448f",
        "questionLabel": "How likely are you to recommend us to a friend or colleague?",
        "variableId": "q_62737232"
      }
    ],
    "tags": [
      "service"
    ],
    "takenByUserId": "6f2d2f1dd12993bdd57da9a6",
    "takenByUserName": "Rohit Sharma",
    "urgency": "Low"
  }
}
```

### Get survey

Get a survey's details and links.

**Inputs**

- Survey (`survey_id`, text, required): The survey.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "id": "5f3e63edce6aee000774d4ba",
    "isActive": "true",
    "locationId": [
      "5f15816930b2f1000881f8af"
    ],
    "modifiedBy": "5e9ad7193d4967002c4b55ac",
    "modifiedDate": "2020-08-24T11:35:06.849Z",
    "surveyDescription": "Customer satisfaction form",
    "surveyName": "Customer Feedback Survey",
    "webSurveyTitle": "Customer Feedback Survey",
    "webSurveyURLs": [
      "https://zonka.co/7rOX4x"
    ]
  }
}
```

### Get survey link

Get a single-use survey link's details.

**Inputs**

- Link ID (`link_id`, text, required): The link's ID.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "data": {
      "agent": "EXE1",
      "attributes": {
        "flight_no": "EK678"
      },
      "contact": {
        "email": "john@examplecompany.com",
        "mobile": "+9198XXXXXXXX",
        "name": "Jonathan"
      },
      "createdDate": "2026-07-22T14:30:00.000Z",
      "expiresAt": "2026-07-25T14:30:00.000Z",
      "linkId": "68f1a2b3c4d5e6f708091a2b",
      "locationId": "6512a0b1c2d3e4f5a6b7c8d9",
      "status": "active",
      "surveyId": "68d63cd5b548d00edd86d0f5",
      "trackingCode": "9fK2mP4qR7sT",
      "url": "https://feedback.examplecompany.com/AbC12xYz/9fK2mP4qR7sT"
    },
    "message": "Link created successfully",
    "status": 201,
    "success": true
  }
}
```

### Get survey scores

Get a survey's response count, completion rate and NPS, CSAT and CES between two dates.

**Inputs**

- Survey (`survey_id`, text, required): The survey.
- From (`start_date`, date, required): The first day to count.
- To (`end_date`, date, required): The last day to count.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "CES": {
      "ces": 7,
      "highEffortCount": 0,
      "lowEffortCount": 1,
      "mediumEffortCount": 0
    },
    "CSAT": {
      "csat": 5,
      "negativeCount": 0,
      "neutralCount": 0,
      "positiveCount": 1
    },
    "NPS": {
      "detractorCount": 0,
      "nps": 100,
      "passiveCount": 0,
      "promoterCount": 1
    },
    "averageTime": "38s",
    "completionRate": 70,
    "responses": 1,
    "surveyId": "63b2919287e5f30008edd977",
    "surveyLanguage": "en_US",
    "surveyName": "Bug Report Form 1"
  }
}
```

### Get user

Get a user's details and role.

**Inputs**

- User (`user`, text, required): The user.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "designation": "Manager",
    "email": "robert@example.com",
    "externalId": "RM34",
    "id": "5f3a7eb628860b0007d93613",
    "isActive": true,
    "isOwner": false,
    "labels": [
      "External"
    ],
    "lastLogin": "2020-08-24T13:12:54.129Z",
    "locationId": [
      "5f15816930b2f1000881f8af"
    ],
    "mobile": "+192382882212",
    "name": "Robert Wade",
    "role": "admin"
  }
}
```

### List contact segments

List your contact segments and how many contacts are in each.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "contacts": "25",
      "id": "5fabc3ae2bf62c0007366593",
      "name": "Old Contacts",
      "type": "Standard"
    }
  ]
}
```

### List contacts

List your contacts, filtered by channel or subscription if you like.

**Inputs**

- After (`after`, text): The ID of the last contact on the previous page, to get the next page.
- Page size (`limit`, number): How many to return; 25 if left empty. At least 1.
- Channel (`channel`, text): Only contacts from this channel. One of: `Email`, `SMS`, `Manual` (Added by hand), `Device`, `Online`.
- Bounced (`bounced`, true/false): Only contacts whose emails bounce.
- Unsubscribed from email (`unsubscribe_email`, true/false): Only contacts who unsubscribed from email surveys.
- Unsubscribed from SMS (`unsubscribe_sms`, true/false): Only contacts who unsubscribed from SMS surveys.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "email": "xmartin@example.com",
      "externalId": "89833",
      "id": "5ef5e1e22f1bf3000720a56a",
      "lists": [
        {
          "id": "5ee9f87f3a1266000725f327",
          "name": "New Customers"
        }
      ],
      "mobile": "+1232232222",
      "name": "Xavier Martin"
    }
  ]
}
```

### List locations

List your locations.

**Inputs**

- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`limit`, number): How many to return on one page; 25 if left empty. At least 1.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "address": "DLF Tower",
      "externalId": "GGN",
      "id": "5f15816930b2f1000881f8af",
      "isActive": true,
      "labels": [
        "US"
      ],
      "name": "Gurgaon"
    }
  ]
}
```

### List responses

List your survey responses, newest first, between two dates if you like.

**Inputs**

- From (`start_date`, date): Only responses from this day on.
- To (`end_date`, date): Only responses up to this day.
- Has comments (`has_comments`, true/false): Only responses with (or without) comments.
- Important (`is_important`, true/false): Only responses marked (or not marked) important.
- Starred (`is_starred`, true/false): Only responses starred (or not starred).
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`limit`, number): How many to return on one page; 25 if left empty. At least 1.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "CES": "7",
      "CSAT": "4",
      "NPS": "9",
      "channel": "email",
      "channelDetails": {
        "emailOpened": "2020-08-07T10:38:21.264Z",
        "sent": "2020-08-07T10:38:21.264Z",
        "surveyOpened": "2020-08-07T10:38:21.264Z",
        "surveySubmitted": "2020-08-07T10:38:21.264Z",
        "userAgent": "Mozilla/5.0"
      },
      "emotion": [
        "Happy"
      ],
      "id": "5f2d2f1d605a2a000770f69f",
      "integrationDetails": {
        "ticketId": 6728282,
        "type": "zendesk"
      },
      "intent": [
        "Praise"
      ],
      "locationId": "8f2d2f1dd12993bdd57da9a6",
      "locationName": "Japan",
      "ratedUserId": "6f2d2f1dd12993bdd57da9a6",
      "ratedUserName": "Mahesh",
      "recievedDate": "2020-08-07T10:38:21.264Z",
      "respondentDetails": {
        "emailAddress": "mark@example.com",
        "externalId": "ZF30",
        "mobile": "+9123232323",
        "name": "Mark Wood"
      },
      "respondentId": "7f2d2f1dd12993bdd57da9a6",
      "responseURL": "https://platform.zonkafeedback.com/responseinbox/5f2d2f1d605a2a000770f69f",
      "sentiment": "Positive",
      "surveyId": "5ee21f82401f2400074e4474",
      "surveyLanguage": "en_US",
      "surveyName": "Net Promoter Score",
      "surveyResponse": [
        {
          "answer": "9",
          "questionId": "5ee21f82401f2400074e448f",
          "questionLabel": "How likely are you to recommend us to a friend or colleague?",
          "variableId": "q_62737232"
        }
      ],
      "tags": [
        "service"
      ],
      "takenByUserId": "6f2d2f1dd12993bdd57da9a6",
      "takenByUserName": "Rohit Sharma",
      "urgency": "Low"
    }
  ]
}
```

### List sent surveys

List the surveys sent by email, SMS or WhatsApp, and whether each was opened or answered.

**Inputs**

- From (`start_date`, date, required): The first day to list.
- To (`end_date`, date, required): The last day to list.
- Channel (`channel`, text, required): How the surveys were sent. One of: `email`, `sms`, `whatsapp`.
- Survey (`survey_id`, text, required): The survey.
- Location (`location_id`, text): Only this location, by ID or your own ID for it.
- Location label (`location_label`, text): Only locations with this label.
- Status (`status`, text): Only sends in this state. One of: `responded` (Answered), `surveyOpened` (Survey opened), `emailOpened` (Email opened), `noResponse` (No response).
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`limit`, number): How many to return on one page; 50 if left empty. At least 1.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "SurveySubmitted": "2025-04-11T13:00:45.000Z",
      "channel": "email",
      "emailOpened": "2025-04-11T12:58:40.375Z",
      "locationName": "Denver",
      "sentDateTime": "2025-04-11T12:58:40.375Z",
      "status": "responded",
      "surveyId": "60d30bed53a777000706fd87",
      "surveyName": "Gym Feedback Form",
      "surveyOpened": "2025-04-11T12:59:10.000Z",
      "to": "rupert@example.com"
    }
  ]
}
```

### List survey links

List the active single-use links of a survey.

**Inputs**

- Survey (`survey_id`, text): Only links for this survey.
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`limit`, number): How many to return on one page; 20 if left empty. At least 1.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "data": {
      "links": [
        {
          "agent": "EXE1",
          "attributes": {
            "flight_no": "EK678"
          },
          "contact": {
            "email": "john@examplecompany.com",
            "mobile": "+9198XXXXXXXX",
            "name": "Jonathan"
          },
          "createdDate": "2026-07-22T14:30:00.000Z",
          "expiresAt": "2026-07-25T14:30:00.000Z",
          "linkId": "68f1a2b3c4d5e6f708091a2b",
          "locationId": "6512a0b1c2d3e4f5a6b7c8d9",
          "status": "active",
          "surveyId": "68d63cd5b548d00edd86d0f5",
          "trackingCode": "9fK2mP4qR7sT",
          "url": "https://feedback.examplecompany.com/AbC12xYz/9fK2mP4qR7sT"
        }
      ],
      "pagination": {
        "limit": 20,
        "page": 1,
        "pages": 1,
        "total": 1
      }
    },
    "message": "Link created successfully",
    "status": 201,
    "success": true
  }
}
```

### List surveys

List your surveys, in one workspace if you like.

**Inputs**

- Workspace (`workspace_id`, text): Only surveys in this workspace.
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`limit`, number): How many to return on one page; 25 if left empty. At least 1.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "description": "Feedback from Customers",
      "id": "5f43cd087b5d1500070d0f1f",
      "isActive": true,
      "locationId": [
        "5f15816930b2f1000881f8af"
      ],
      "modifiedBy": "Robin Smith",
      "modifiedDate": "2020-08-24T14:25:08.278Z",
      "name": "Customer Survey",
      "webSurveyTitle": "Customer Survey",
      "webSurveyURLs": [
        "https://zonka.co/V5cr3I"
      ],
      "workspaceId": "63b28fdec1b3b5000819e73f",
      "workspaceName": "Default"
    }
  ]
}
```

### List tasks

List follow-up tasks, by status if you like.

**Inputs**

- Status (`status`, text): Which tasks to list. One of: `pending`, `completed`, `overdue`, `all`.
- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`limit`, number): How many to return on one page; 25 if left empty. At least 1.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "assignedTo": [
        "5f8fe0076f83b70008ef70b9"
      ],
      "contactId": "5ef5e1e22f1bf3000720a56a",
      "description": "Call Customer and ask for reason for bad feedback",
      "dueDateTime": "2021-01-02T02:30:00.000Z",
      "id": "5fec7ff21d5122000806261d",
      "isCompleted": true,
      "name": "Call Customer",
      "reminderSetting": "15min",
      "responseId": "5f2d2f1d605a2a000770f69f",
      "type": {
        "id": "5e58b84522ae2a042e6aabe3",
        "name": "To Do"
      }
    }
  ]
}
```

### List users

List the people who use your Zonka Feedback account.

**Inputs**

- Page (`page`, number): Which page to return, starting at 1. At least 1.
- Page size (`limit`, number): How many to return on one page; 25 if left empty. At least 1.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "designation": "Manager",
      "email": "robert@example.com",
      "externalId": "RM34",
      "id": "5f3a7eb628860b0007d93613",
      "isActive": true,
      "isOwner": false,
      "labels": [
        "External"
      ],
      "lastLogin": "2020-08-24T13:12:54.129Z",
      "locationId": [
        "5f15816930b2f1000881f8af"
      ],
      "mobile": "+192382882212",
      "name": "Robert Wade",
      "role": "admin"
    }
  ]
}
```

### List workspaces

List the workspaces in your Zonka Feedback account.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Zonka Feedback.

**Example output**

```json
{
  "data": [
    {
      "id": "63b28fdec1b3b5000819e73f",
      "modifiedBy": "Robin",
      "modifiedDate": "2023-02-02T12:36:05.584Z",
      "workspaceName": "Default"
    }
  ]
}
```

### Send email survey

Email a survey to a person or to contact segments, with your own wording if you like.

**Inputs**

- Survey (`survey_id`, text, required): The survey.
- Email (`email`, text, required): The recipient's email address.
- Name (`name`, text): The recipient's name.
- Subject (`subject`, text): The email's subject; the survey's saved email if left empty.
- Message (`message`, text): The email's text.
- Signature (`signature`, text): The sign-off at the end of the email.
- Embed first question (`embed_field`, true/false): Put the survey's first question in the email, instead of a Start Survey button.
- Heading (`heading`, text): The email's heading.
- Button text (`button_text`, text): The Start Survey button's text.
- Button colour (`button_color`, text): The button's colour as a hex code, such as #1a73e8.
- Send reminder (`reminder`, true/false): Remind recipients who don't answer.
- Reminders (`reminder_max_count`, text): How many reminders to send at most.
- Reminder message (`reminder_message`, text): The reminder email's text.
- Segments (`list`, list): Send to everyone in these contact segments, by name.
- Send at (`schedule_date_time`, date and time): A future time to send it; now if left empty.
- Location (`location_id`, text): The location the survey is for.
- Ignore throttling (`ignore_throttling`, true/false): Send even if the recipient was surveyed within your throttling period.
- Attributes (`attributes`, object): Survey, contact and hidden variables as names and values, such as flight_no.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "success": "true"
  }
}
```

### Send SMS survey

Text a survey to a person or to contact segments.

**Inputs**

- Survey (`survey_id`, text, required): The survey.
- Mobile (`mobile`, text, required): The recipient's mobile number with country code, such as +14155550123.
- Message (`message`, text): The text message.
- Name (`name`, text): The recipient's name.
- Segments (`list`, list): Send to everyone in these contact segments, by name.
- Send at (`schedule_date_time`, date and time): A future time to send it; now if left empty.
- Location (`location_id`, text): The location the survey is for.
- Ignore throttling (`ignore_throttling`, true/false): Send even if the recipient was surveyed within your throttling period.
- Attributes (`attributes`, object): Survey, contact and hidden variables as names and values, such as flight_no.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "success": "true"
  }
}
```

### Update response

Change a recorded response's answers and details.

**Inputs**

- Response ID (`response_id`, text, required): The response's ID.
- Answers (`answers`, list, required): The answers, each with a question variable ID and an answer. Variable IDs are on the question's Options tab in the survey builder.
- Started at (`survey_start_time`, date and time): When the survey was started.
- Finished at (`survey_end_time`, date and time): When the survey was finished.
- Submitted at (`submit_date_time`, date and time): When the response was submitted; now if left empty.
- Language (`language`, text): The language code, such as en_US; the survey's own if left empty.
- Location (`location_id`, text): The location, by ID or your own ID for it.
- Agent (`agent`, text): The agent's email or ID.
- Channel (`channel`, text): How the response came in, such as Web, Email or WhatsApp; Online if left empty.
- Contact name (`contact_name`, text): The respondent's name.
- Contact email (`contact_email`, text): The respondent's email address.
- Contact mobile (`contact_mobile`, text): The respondent's mobile number with country code.
- Contact unique ID (`contact_unique_id`, text): Your own ID for the respondent.
- Attributes (`attributes`, object): Custom and contact attributes as names and values, such as flightNumber.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "message": "Response updated successfully",
    "status": 200,
    "success": true
  }
}
```

### Update survey link

Change an unused survey link's person, values, agent or expiry.

**Inputs**

- Link ID (`link_id`, text, required): The link's ID.
- Contact name (`contact_name`, text): The name of the person the link is for.
- Contact email (`contact_email`, text): Their email address.
- Contact mobile (`contact_mobile`, text): Their mobile number with country code.
- Contact unique ID (`contact_unique_id`, text): Your own ID for them.
- Attributes (`attributes`, object): Values the response will carry, as names and values, such as booking_id.
- Location (`location_id`, text): The location, by ID or your own ID for it.
- Agent (`agent`, text): The agent's email or ID.
- Expires at (`expires_at`, date and time): When the link stops working; 72 hours after it is made if left empty.

**Outputs**

- `data` (object): The response from Zonka Feedback.

**Example output**

```json
{
  "data": {
    "data": {
      "agent": "EXE1",
      "attributes": {
        "flight_no": "EK678"
      },
      "contact": {
        "email": "john@examplecompany.com",
        "mobile": "+9198XXXXXXXX",
        "name": "Jonathan"
      },
      "createdDate": "2026-07-22T14:30:00.000Z",
      "expiresAt": "2026-07-25T14:30:00.000Z",
      "linkId": "68f1a2b3c4d5e6f708091a2b",
      "locationId": "6512a0b1c2d3e4f5a6b7c8d9",
      "status": "active",
      "surveyId": "68d63cd5b548d00edd86d0f5",
      "trackingCode": "9fK2mP4qR7sT",
      "url": "https://feedback.examplecompany.com/AbC12xYz/9fK2mP4qR7sT"
    },
    "message": "Link created successfully",
    "status": 201,
    "success": true
  }
}
```
