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

# Update SMS share

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

## Request

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

## Path parameters

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

## Request body

- Model242
  - `contacts` string[]
  - `contactList` number[]
  - `message` string
  - `smsTargetId` number
  - `variables` Properties
  - `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)
