---
title: "Check Embed Privacy Mode"
method: GET
path: "/embed/privacyState"
tags: ["Media Embed"]
---

# Check Embed Privacy Mode

`GET /embed/privacyState`

## Request

- Base URL: `https://api.speakai.co/v1`
- URL: `https://api.speakai.co/v1/embed/privacyState`
- Auth: API key in header `x-speakai-key` and API key in header `x-access-token`

### Endpoint Description

This endpoint retrieves the privacy state of the application based on the provided token. It is primarily used to check whether the current privacy settings are secure.

### Request

- **Method**: GET

- **URL**: `{{url}}/v1/embed/privacyState?token={token}`


#### Query Parameters

- `token` (string): A unique token that identifies the user's session or request. This parameter is required for the request to be processed.


### Response

The response will contain the following structure:

- **status** (string): A status message indicating the result of the request.

- **data** (object): An object containing the privacy state information.

 - **isSecure** (boolean): A boolean value indicating whether the privacy settings are secure (`true` or `false`).


### Example Response

``` json
{
 "status": "",
 "data": {
 "isSecure": true
 }
}

 ```

This response indicates that the privacy settings are currently secure.

## Query parameters

- `token` string

## Response `200`

OK

- object
  - `status` string
  - `data` object
    - `isSecure` boolean

---

[API](https://skmtc.dev/speakai/apis/speak-ai-api.md) · [All operations](https://skmtc.dev/speakai/apis/speak-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/speakai/apis/speak-ai-api/revisions/52d777e6d46e?raw)
