> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# GetConnectedSynchronizers

Ledger API

›

[Protobuf](https://docs.canton.network/reference/protobuf/overview.md)

›

[com.daml.ledger.api.v2](https://docs.canton.network/reference/protobuf/packages/com-daml-ledger-api-v2.md)

›

GetConnectedSynchronizers

com.daml.ledger.api.v2

# GetConnectedSynchronizers

gRPC

RPC

`/com.daml.ledger.api.v2.StateService/GetConnectedSynchronizers`

## Protocol Details

Protocol
gRPC

Service
StateService

RPC
GetConnectedSynchronizers

Client stream
No

Server stream
No

## Inputs

### GetConnectedSynchronizersRequest

Message
com.daml.ledger.api.v2.GetConnectedSynchronizersRequest

Client stream
No

`party`
string

`participant_id`
string

`identity_provider_id`
string

## Outputs

### GetConnectedSynchronizersResponse

Message
com.daml.ledger.api.v2.GetConnectedSynchronizersResponse

Server stream
No

`connected_synchronizers`
repeated ConnectedSynchronizer

## Related Schemas

> [accordion] com.daml.ledger.api.v2.GetConnectedSynchronizersRequest
>
> `party`
> string
>
> `participant_id`
> string
>
> `identity_provider_id`
> string

> [accordion] com.daml.ledger.api.v2.GetConnectedSynchronizersResponse
>
> `connected_synchronizers`
> repeated ConnectedSynchronizer

> [accordion] com.daml.ledger.api.v2.GetConnectedSynchronizersResponse.ConnectedSynchronizer
>
> `synchronizer_alias`
> string
>
> `synchronizer_id`
> string
>
> `permission`
> ParticipantPermission

> [accordion] com.daml.ledger.api.v2.ParticipantPermission
>
> <ul>
>   <li>`PARTICIPANT_PERMISSION_UNSPECIFIED`</li>
>
>   <li>`PARTICIPANT_PERMISSION_SUBMISSION`</li>
>
>   <li>`PARTICIPANT_PERMISSION_CONFIRMATION`</li>
>
>   <li>`PARTICIPANT_PERMISSION_OBSERVATION`</li>
> </ul>

grpcurl

```bash grpcurl theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.daml.ledger.api.v2.StateService/GetConnectedSynchronizers <<'EOF'
{
  "party": "string",
  "participantId": "string",
  "identityProviderId": "string"
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "connectedSynchronizers": [
    {
      "synchronizerAlias": "string",
      "synchronizerId": "string",
      "permission": "PARTICIPANT_PERMISSION_UNSPECIFIED"
    }
  ]
}
```
