---
title: "Check if SMS consent exists for a phone number"
method: GET
path: "/public/widget/sms-consent/check"
tags: ["Widget"]
---

# Check if SMS consent exists for a phone number

`GET /public/widget/sms-consent/check`

## Request

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

## Query parameters

- `phone` string, required
- `clinicId` string, required

## Response `200`

OK

- SmsConsentStatusDto: SMS consent status for a phone number
  - `required` boolean
  - `hasConsent` boolean
  - `consentId` string, nullable
  - `consentedAt` string, date-time, nullable
  - `consentSource` string, nullable

## Other responses

- `400`: Bad Request

---

[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)
