Subscription endpoints allow you to review and manage subscriptions in a specified environment.
You must be a member of the environment and be assigned to an engineer role to manage subscriptions. Learn about roles.
Create subscription
Create a new subscription in the specified environment.
cURL request example
Path Parameters
- environmentIdrequired, string
Identifies the specific environment that you're operating in or on behalf of.
Request Body Schema
- sourcerequired, object
- idrequired, string
Identifies the unique identifier for the source that initiates the data exchange.
Format: uuid
- destinationrequired, object
- idrequired, string
Identifies the unique identifier for the destination that receives the data.
Format: uuid
- dataModelrequired, string
Specifies the Redox data model used to exchange data between the source and destination.
- metaobject
- versionstring
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.
- payloadobject
- subscriptionobject
Contains details about the subscription.
- sourceobject
- idstring
Contains the unique identifier of the source.
Format: uuid - environmentFlagstring
Indicates the environment type of the source.
- destinationobject
- idstring
Contains the unique identifier of the destination.
Format: uuid - environmentFlagstring
Indicates the environment type of the destination.
- dataModelstring
Specifies the Redox data model used for this subscription.
- deletedAtnullable, string
Indicates when the subscription was deleted, if applicable.
Format: date-time