Configure a Lime HL7 Integration

1 min read
💬
This article explains how to call our API to send us HL7 messages, but please contact us if you wish to automate HL7 messages deliveries to Lime as it will require work from our team to complete the integration.

After creating an API key with the integration scope Automated rules integration, follow the steps below to call our API.

Call Lime’s API with the key

Build the following HTTPS request:

POST /api/v1/ext/adt HTTP/2
content-type: text/plain
api-key: [YOUR API KEY]

[HL7 CONTENT]

cURL example:

curl --request POST \
	--url 'https://api.lime.health/api/v1/ext/adt' \
	--header 'content-type: text/plain' \
	--header 'api-key:  [YOUR API KEY]' \
	--data '[HL7_MESSAGE]'

Javascript example:

fetch("https://api.lime.health/api/v1/ext/adt", {
	method: 'POST',
	body: HL7_MESSAGE,
	headers: {
		'Content-type': 'text/plain',
		'api-key': API_KEY
	},
});

Related articles
Did this answer your question?