---
title: "Retrieve a Relay"
method: GET
path: "/relays/{id}"
tags: ["Core", "Relays"]
---

# Retrieve a Relay

`GET /relays/{id}`

## Request

- Base URL: `https://api.evervault.com`
- URL: `https://api.evervault.com/relays/{id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/evervault/apis/evervault-api/docs/relays/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a [Relay](/relay) by its ID.

## Path parameters

- `id` string, required

## Response `200`

The Relay has been fetched.

- Relay
  - `id` string, required: The unique identifier for the Relay.
  - `destinationDomain` string, required: The domain in front of which the Relay should be configured.
  - `evervaultDomain` string, required: The Evervault managed domain to which requests to be relayed to the destination domain should be sent.
  - `routes` RelayRoute[], required: A collection of route configurations for the Relay.
    - `method` 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH': The HTTP method that must be matched for the operation to be performed. For any method, use null.
    - `path` string, required: The path that must be matched for the operation to be performed. For wildcards, use '*'. For a catchall of all subsequent paths, use '**'.
    - `request` RelayAction[], required: The actions to be performed on the data on request.
      - `action` 'encrypt' | 'decrypt', required: The operation to perform on the selected data.
      - `selections` RelaySelection[], required: The selections of data on which the operation will be performed.
        - `type` 'header' | 'json' | 'form': The type of the selector used to identify the data on which the action should be performed.
        - `role` string: The role of the encrypted field that must be matched for the operation to be performed.
        - `selector` string, required: The selector that identifies the data on which the action should be performed
    - `response` RelayAction[], required: The actions to be performed on the data on response.
      - `action` 'encrypt' | 'decrypt', required: The operation to perform on the selected data.
      - `selections` RelaySelection[], required: The selections of data on which the operation will be performed.
        - `type` 'header' | 'json' | 'form': The type of the selector used to identify the data on which the action should be performed.
        - `role` string: The role of the encrypted field that must be matched for the operation to be performed.
        - `selector` string, required: The selector that identifies the data on which the action should be performed
  - `authentication` 'api-key' | 'null', nullable, required: The type of authentication required for the Relay
  - `encryptEmptyStrings` boolean, required: Whether or not empty strings should be encrypted.
  - `app` string, required: The unique identifier for the app to which the Relay belongs.
  - `createdAt` integer, required: The exact time, in epoch milliseconds, when this Relay was created.
  - `updatedAt` integer, required: The exact time, in epoch milliseconds, when this Relay was updated.

## Changes

- **2026-11-06** `8d0ca833fa04`: 9 info
  - the response property `app` became required for the status `200`
  - the response property `authentication` became required for the status `200`
  - the response property `createdAt` became required for the status `200`
  - the response property `destinationDomain` became required for the status `200`
  - …5 more

[Operation history](https://skmtc.dev/evervault/apis/evervault-api/changes/relays/:id/get.md)

---

[API](https://skmtc.dev/evervault/apis/evervault-api.md) - [All operations](https://skmtc.dev/evervault/apis/evervault-api/llms.txt) - [OpenAPI document](https://skmtc.dev/evervault/apis/evervault-api/revisions/8d0ca833fa04?raw)
