---
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}`

## Path parameters

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

## Request body

- Model233
  - `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.net/surveysparrow/apis/api-documentation.md) · [All operations](https://skmtc.net/surveysparrow/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/surveysparrow/api-documentation/revisions/f9da74f558da/schema)
