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

# Check if SMS consent exists for a phone number

`GET /sms-consent/check`

## Request

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

## Query parameters

- `phoneNumber` string

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