Source endpoints allow you to manage sources and their related portmaps in a specified environment. Portmaps include a port, virtual host (vhost), source, and list of host IPs.
You must be a member of the environment and be assigned to an engineer role to manage sources. Learn about roles.
Create source
Create a new source in the specified environment.
cURL request example
Path Parameters
- environmentIdrequired, stringIdentifies the specific environment that you're operating in or on behalf of. 
Request Body Schema
- namerequired, stringDisplays the human-readable name of the source. 
- dataFormatstringDisplays the data format of the source. Possible Values:HL7V2,JSON,Custom,X12,X12v2,XML (to JSON)
- ehrstringDisplays the EHR or sending system type of the source. 
- serviceRegionstringSpecifies the Redox service region where the source resides. You can't change this after creation. Possible Values:AWS_USA_EAST_1,AWS_CAN_CENTRAL,GCP_USA_CENTRAL_1
- setupStatenullable, objectDescribes the current state of configuration for a source in your Redox organization. - steprequired, stringIndicates which step the user is on in the configuration process. 
- namestringDisplays the human-readable name of the source, as configured during setup. 
- dataFormatstringDisplays the data format of the source. Possible Values:HL7V2,JSON,Custom,X12,X12v2,XML (to JSON)
- ehrstringDisplays the EHR or sending system type of the source. 
- serviceRegionstringSpecifies the Redox service region where the source resides. You can't change this after creation. Possible Values:AWS_USA_EAST_1,AWS_CAN_CENTRAL,GCP_USA_CENTRAL_1
 
- timeZonestringSpecifies the time zone that should be used when parsing dates/times from the sending system. 
Contains the fields that can be provided when creating a new source.
- metaobject- versionstringLists 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. 
 
- payloadobjectContains the payload with details about the requested source(s). - sourceobjectContains a source and its related details. - namestringDisplays the human-readable name of the source. 
- idstringDisplays the unique identifier (i.e., client ID) of the source. 
- environmentobjectContains metadata about the environment within the associated Redox organization. - idstringContains the unique identifier of the Redox environment. Format: uuid
- environmentFlagstringIndicates whether the environment is used for development, staging, or production. Possible Values:Production,Staging,Development
 
- sftpUsernamestringContains a UUID that represents the username for this source's SFTP access. In order to view, this field must be enabled for your organization. Talk to your Technical Account Manager if your organization needs this field. 
- hasSFTPPasswordbooleanIndicates whether an SFTP password exists for this source. In order to view, this field must be enabled for your organization. Talk to your Technical Account Manager if your organization needs this field. 
- serviceRegionstringSpecifies the Redox service region where the source resides. You can't change this after creation. Possible Values:AWS_USA_EAST_1,AWS_CAN_CENTRAL,GCP_USA_CENTRAL_1
- dataFormatstringDisplays the data format of the source. Possible Values:HL7V2,JSON,Custom,X12,X12v2,XML (to JSON)
- ehrstringDisplays the EHR or sending system type of the source. 
- apiKeystringDisplays the API key of the source. This is server-generated when the source is created and can't be changed. 
- hasSecretbooleanDisplays whether the source has a secret. 
- setupStatenullable, objectDescribes the current state of configuration for a source in your Redox organization. - steprequired, stringIndicates which step the user is on in the configuration process. 
- namestringDisplays the human-readable name of the source, as configured during setup. 
- dataFormatstringDisplays the data format of the source. Possible Values:HL7V2,JSON,Custom,X12,X12v2,XML (to JSON)
- ehrstringDisplays the EHR or sending system type of the source. 
- serviceRegionstringSpecifies the Redox service region where the source resides. You can't change this after creation. Possible Values:AWS_USA_EAST_1,AWS_CAN_CENTRAL,GCP_USA_CENTRAL_1
 
- timeZonestringSpecifies the time zone that should be used when parsing dates/times from the sending system.