---
title: "Record SMS consent (authenticated - for staff-assisted opt-in)"
method: POST
path: "/sms-consent"
tags: ["SmsConsent"]
---

# Record SMS consent (authenticated - for staff-assisted opt-in)

`POST /sms-consent`

## Request body

- RecordSmsConsentRequest — Request to record SMS consent
  - `phoneNumber` string
  - `clientId` string, nullable
  - `consentGranted` boolean
  - `consentSource` string
  - `sessionId` string, nullable

## Response `200`

OK

- SmsConsentDto — Full SMS consent record
  - `id` string
  - `phoneNumber` string
  - `clientId` string, nullable
  - `consentGranted` boolean
  - `consentedAt` string, date-time
  - `consentVersion` string
  - `consentSource` string
  - `revokedAt` string, date-time, nullable
  - `createdAt` string, date-time

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/d8d7501dde48/schema)
