---
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.dev/elationhealth/apis/billing-api.md) · [All operations](https://skmtc.dev/elationhealth/apis/billing-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elationhealth/billing-api/revisions/0acfdeb9bd9b/schema)
