---
title: "Get all SMS consents for a client"
method: GET
path: "/sms-consent/client/{clientId}"
tags: ["SmsConsent"]
---

# Get all SMS consents for a client

`GET /sms-consent/client/{clientId}`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/sms-consent/client/{clientId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/sms-consent/client/:clientId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `clientId` string, required

## Response `200`

List of SMS consents for the client

- SmsConsentDto[]
  - `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.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
