Get destinations

get/v1/environments/{environmentId}/destinations
Page View

Destination endpoints allow you to manage destinations in a specified environment.

You must be a member of the environment and be assigned to an engineer role to manage destinations. Learn about roles.

Get destinations

Retrieve a list of configured destinations in the specified environment.

Request parameters

cURL request example

bash
1
curl 'https://api.redoxengine.com/platform/v1/environments/{environmentId}/destinations' \
2
--request GET \
3
--header 'Authorization: Bearer $API_TOKEN' \
4
--header 'accept: application/json'

Response fields and example

Example payload generated from schema
1
{
2
"meta": {
3
"version": "1.0.0"
4
},
5
"payload": {
6
"destinations": [
7
{
8
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
9
"name": "string",
10
"authCredential": "95dc8346-96b6-4721-88bf-bd96d3ac7a91",
11
"environment": {
12
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
13
"environmentFlag": "Staging"
14
}
15
}
16
]
17
}
18
}
  • meta
    object
    • version
      string

      Lists the major and minor version number for the format of the returned payload. The payload format or shape may change between minor versions, like including additional or extended fields in later versions. We include the version data in each response so that you have the option to handle the signaled differences.

  • payload
    object

    Contains the payload with details about the requested destination(s).

    • destinations
      Array of object

      Contains an array of destinations.

      • id
        string

        Displays the unique identifier of the endpoint that will receive messages from Redox.

        Format: uuid
      • name
        string

        Displays the human-readable name of the endpoint that will receive messages from Redox.

      • authCredential
        string

        Displays the unique identifier of the destination's attached auth credential, if any.

        Format: uuid
      • environment
        object

        Contains metadata about the environment within the associated Redox organization.

        • id
          string

          Contains the unique identifier of the Redox environment.

          Format: uuid
        • environmentFlag
          string

          Indicates whether the environment is used for development, staging, or production.

          Possible Values: Production, Staging, Development