---
title: "Update SMS survey V2"
method: PUT
path: "/v2/survey/{surveyId}/shares/sms/{channelId}"
tags: ["share"]
---

# Update SMS survey V2

`PUT /v2/survey/{surveyId}/shares/sms/{channelId}`

## Request

- Base URL: `https://api.surveysparrow.com`
- URL: `https://api.surveysparrow.com/v2/survey/{surveyId}/shares/sms/{channelId}`
- Auth: none declared

## Path parameters

- `surveyId` number, required
- `channelId` number, required

## Request body

- Model245
  - `contacts` Model150[]
    - `mobile` string, required
    - `variables` Properties
  - `contactList` Model244[]
    - `id` number, required
    - `variables` Properties
  - `message` string
  - `smsTargetId` number
  - `variables` Properties
  - `sendLaterInDays` number
  - `twilio_consent_agreed` boolean: For using surveysparrow message service you need to agree the consent.

## Response `default`

Successful

---

[API](https://skmtc.dev/surveysparrow/apis/api-documentation.md) - [All operations](https://skmtc.dev/surveysparrow/apis/api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/surveysparrow/apis/api-documentation/revisions/b3aef0940a8b?raw)
