# API.COM.02 Event Subscription

The subscriber APIS facilitates defining endpoints that facilitate to subscribe/unsubscribing events from the registry. The notify endpoint is to be implemented at the SP system end to receive event data.&#x20;

API definition link:

* [/subscribe](https://api.spdci.org/release/html/registry_core_api_v1.0.0.html#tag/Async/operation/post_reg_subscribe)
  * The SP system needs to subscribe to events with expected search criteria so events with expected criteria are only received on the SP system end.
* [/unsubscribe](https://api.spdci.org/release/html/registry_core_api_v1.0.0.html#tag/Async/operation/post_reg_unsubscribe)
  * The SP system can unsubscribe to events using this endpoint.

Please refer to GitHub for YAML object definitions:

* [YAML definitions](https://spdci.github.io/standards/release/yaml/registry_core_api_v1.0.0.yaml)

Note: Above YAML is consolidated, for any changes kindly raise pull request on [github](https://github.com/spdci/standards).
