---
title: "Subscribe to notifications about on-boarding an application package"
method: POST
path: "/subscriptions"
tags: ["app-pkgm"]
---

# Subscribe to notifications about on-boarding an application package

`POST /subscriptions`

Subscribe to notifications about on-boarding an application package

## Request body

- AppPkgSubscription — 'The data type represents the input parameters of "subscription operation" to notification of application package management for the onboarding, or operational state change of application package.'
  - `callbackUri` string, uri, required — The URI of the endpoint for the notification to be sent to.
  - `subsctiptionType` 'AppPackageOnBoarding' | 'AppPacakgeOperationChange' | 'AppPackageDeletion', required — 'Subscribed notification type'
  - `appPkgFilter` AppPkgFilter[]

## Response `201`

Successful response for created subscription

- AppPkgSubscriptionInfo — 'The data type represents a subscription to notification of application package management for the onboarding, or operational state change of application package'
  - `id` string, required — ''
  - `subscriptionType` 'AppPackageOnBoarding' | 'AppPacakgeOperationChange' | 'AppPackageDeletion', required — Subscribed notification type.
  - `callbackUri` string, uri, required — The URI of the endpoint for the notification to be sent to.
  - `_links` AppPkgSubscriptionInfoLinks, required — Links to resources related to this resource.
    - `self` LinkType, required
      - `href` string, uri, required — URI referring to a resource

## Other responses

- `400` — Bad Request : used to indicate that incorrect parameters were passed to the request.
- `401` — Unauthorized : used when the client did not submit credentials.
- `403` — Forbidden : operation is not allowed given the current status of the resource.
- `404` — Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.
- `406` — Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.
- `429` — Too Many Requests : used when a rate limiter has triggered.

---

[API](https://skmtc.net/etsi/apis/etsi-gs-mec-010-2-part-2-application-lifecycle-rules-and-req.md) · [All operations](https://skmtc.net/etsi/apis/etsi-gs-mec-010-2-part-2-application-lifecycle-rules-and-req/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/etsi/etsi-gs-mec-010-2-part-2-application-lifecycle-rules-and-req/versions/5e79fac60c9d/schema)
