Skip to main content
POST
/
api
/
2.0
/
app
/
subscriptions
Subscribe to a resource updates
curl --request POST \
  --url https://sandbox.elationemr.com/api/2.0/app/subscriptions/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resource": "<string>",
  "target": "<string>",
  "properties": "<unknown>"
}
'
{
  "resource": "<string>",
  "target": "<string>",
  "created_date": "2023-11-07T05:31:56Z",
  "deleted_date": "2023-11-07T05:31:56Z",
  "id": 123,
  "properties": "<unknown>",
  "signing_pub_key": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
resource
string
required

The resource name.

Maximum string length: 50
target
string<uri>
required

Target URL where we would send the POST request on new events.

properties
any | null

Properties specific to this subscription.

Response

201 - application/json
resource
string
required

The resource name.

Maximum string length: 50
target
string<uri>
required

Target URL where we would send the POST request on new events.

created_date
string<date-time>
read-only
deleted_date
string<date-time> | null
read-only
id
integer
read-only
properties
any | null

Properties specific to this subscription.

signing_pub_key
string
read-only