Core
Relays

Retrieve a Relay

Retrieves a Relay by its ID.

get/relays/{id}

Request

Path parameters

idstring required

The id of the Relay to be fetched.

Response

The Relay has been fetched.

idstring required

The unique identifier for the Relay.

destinationDomainstring required

The domain in front of which the Relay should be configured.

evervaultDomainstring required

The Evervault managed domain to which requests to be relayed to the destination domain should be sent.

authentication'api-key' | 'null' nullable required

The type of authentication required for the Relay

encryptEmptyStringsboolean required

Whether or not empty strings should be encrypted.

appstring required

The unique identifier for the app to which the Relay belongs.

createdAtinteger required

The exact time, in epoch milliseconds, when this Relay was created.

updatedAtinteger required

The exact time, in epoch milliseconds, when this Relay was updated.

Example response

{
  "id": "relay_destination_d4ja57js9lnh",
  "destinationDomain": "example.com",
  "evervaultDomain": "example-com.app-12345.relay.evervault.app",
  "encryptEmptyStrings": true,
  "authentication": null,
  "routes": [
    {
      "method": "POST",
      "path": "/checkout",
      "request": [
        {
          "action": "encrypt",
          "selections": [
            {
              "type": "json",
              "role": "pci",
              "selector": "$.cardNumber"
            }
          ]
        }
      ],
      "response": [
        {
          "action": "decrypt",
          "selections": [
            {
              "type": "json",
              "selector": "$..*"
            }
          ]
        }
      ]
    }
  ],
  "app": "app_cc7fcd533649",
  "createdAt": 1692972623233,
  "updatedAt": 1692972623234
}

Changes

No recorded changes to this operation across all 1 revision of this API.