---
title: "Subscribe to a resource updates"
method: POST
path: "/api/2.0/app/subscriptions/"
tags: ["Event Subscriptions"]
---

# Subscribe to a resource updates

`POST /api/2.0/app/subscriptions/`

You can only subscribe to the same resource and the same target once. A status 409 will be returned if you attempt to send duplicate subscription.

## Request body

- Subscription
  - `created_date` string, date-time
  - `deleted_date` string, date-time, nullable
  - `id` integer
  - `properties` unknown
  - `resource` string, required — The resource name.
  - `signing_pub_key` string
  - `target` string, uri, required — Target URL where we would send the POST request on new events.

## Response `201`

- Subscription
  - `created_date` string, date-time
  - `deleted_date` string, date-time, nullable
  - `id` integer
  - `properties` unknown
  - `resource` string, required — The resource name.
  - `signing_pub_key` string
  - `target` string, uri, required — Target URL where we would send the POST request on new events.

---

[API](https://skmtc.net/elationhealth/apis/api-authentication.md) · [All operations](https://skmtc.net/elationhealth/apis/api-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elationhealth/api-authentication/versions/c060f89d4de7/schema)
