# Subscriptions Events are published to your events endpoint when they match a `Subscription`. Subscriptions are created in one of two ways: 1. Subscriptions are automatically created for prescriptions sent to Gifthealth through the Intake API. 2. Subscriptions can be created for prescriptions received via fax or eRx using these endpoints. You are responsible for matching Gifthealth events to your own prescription records using the prescription's `PrescriptionIdentity` attributes. ## Create a subscription - [POST /subscriptions](https://docs.gifthealth.com/intake-api/openapi/subscriptions/createsubscription.md) ## Get a subscription - [GET /subscriptions/{id}](https://docs.gifthealth.com/intake-api/openapi/subscriptions/getsubscription.md) ## Cancel a subscription - [DELETE /subscriptions/{id}](https://docs.gifthealth.com/intake-api/openapi/subscriptions/cancelsubscription.md)