# Whether the widget has opened on your site

> Whether the widget has opened on your site: CustomDomain™ API reference in the applications group. Covers parameters, request body, responses and error codes.

Source: https://docs.customdomain.ai/docs/api-reference/applications/getEmbedFact

## `GET https://api.customdomain.ai/v1/applications/{id}/embed`

Reports the first time this application's widget opened on a page of your own (a `localhost` page counts), with that page's origin. Tests run from the console do not count, and a Sandbox application may not report it. Informational only.

### Authentication

`apiKey`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes |  |

### Responses

| Status | Description |
| --- | --- |
| `200` | Embed fact |
| `401` | Error envelope: {code, title, details, request_id}. |
| `403` | Error envelope: {code, title, details, request_id}. |
| `404` | Error envelope: {code, title, details, request_id}. |

### `200` response body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `application_id` | string | yes |  |
| `embed` | object | yes |  |

The full specification is served at `GET https://api.customdomain.ai/v1/openapi.json`.
