---
type: api
title: Get ECE telemetry config
description: Returns whether ECE telemetry is enabled.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/operation/operation-get-telemetry-config
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/operation/operation-get-telemetry-config
products:
  - Elastic Cloud Enterprise
---

# Get ECE telemetry config

Authentication: required

## Paths

- `GET` `/phone-home/config`

## Description

Returns whether ECE telemetry is enabled.

## Responses

#### `200`

The current ECE telemetry configuration

`application/json`

- `enabled` (boolean)
  Whether ECE telemetry is enabled
#### `403`

User must have Platform level permissions. (code: `root.unauthorized.rbac`)

`application/json`

- `errors` (object[])
  A list of errors that occurred in the failing request
  - `code` (string)
    A structured code representing the error type that occurred
  - `message` (string)
    A human readable message describing the error that occurred
  - `fields` (string[])
    If the error can be tied to a specific field or fields in the user request, this lists those fields
##### Response headers

- `x-cloud-error-codes` (enum)
  The error codes associated with the response

## Code examples

#### curl

```curl
curl -X GET "${API_URL}/phone-home/config" \
  -u "${USERNAME}:${PASSWORD}"
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "enabled": false
}
```

#### 403

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}
```

