---
type: api
title: Get a coordinator candidate
description: Retrieve a coordinator candidate.
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/cloud-enterprise/v4/operation/operation-get-coordinator-candidate
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/cloud-enterprise/v4/operation/operation-get-coordinator-candidate
products:
  - Elastic Cloud Enterprise
---

# Get a coordinator candidate

## Paths

- `GET` `/platform/infrastructure/coordinators/candidates/{coordinator_candidate_id}`

#### Path parameters

- `coordinator_candidate_id` (string) — required
  The identifier for the coordinator candidate

## Description

Retrieve a coordinator candidate.

## Authentication

- Basic: `Authorization: Basic <credentials>`
- Api key: `Authorization: <value>`

## Responses

#### `200`

Info about a coordinator candidate.

`application/json`

- `name` (string)
  Name of this coordinator candidate.
- `public_hostname` (string)
  Public hostname of this coordinator candidate
- `acl` (object)
  Represents a Zookeeper ACL permission
  - `perms` (integer · format: int32)
    ZK static permissions for admin/all/create/read/write/delete
  - `scheme` (string)
    Zookeeper ACL scheme
  - `id` (string)
    Identity within provided scheme
- `id` (integer · format: int32)
  Zookeeper server identifier corresponding to this coordinator candidate
- `attributes` (map string to string)
  Attributes of this coordinator candidate
- `state` (enum)
  State of the candidate
  Values: `accepted`, `pending`
#### `404`

Unable to find coordinator candidate {coordinator_candidate_id}. Edit your request, then try again. (code: `coordinators.candidate_not_found`)

`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}/platform/infrastructure/coordinators/candidates/${COORDINATOR_CANDIDATE_ID}" \
  -u "${USERNAME}:${PASSWORD}"
```

