Resend Webhooks
Medplum implements a custom operation, $resend, that can be used to trigger all Subscriptions listening to a a particular resource.
Invoke the $resend operation
- TypeScript
 - CLI
 - cURL
 
const medplum = new MedplumClient();
// auth...
await medplum.post(medplum.fhirUrl(<resourceType>, <id>, '$resend'), {});
medplum login
medplum post '<resourceType>/<id>/$resend' {}
curl 'https://api.medplum.com/fhir/R4/<resourceType>/<resourceId>/$resend' \
-X 'POST' \
-H 'authorization: Bearer MY_ACCESS_TOKEN' \
-H 'content-type: application/fhir+json' \
--data-raw '{}
Output
If successful, you will receive the following OperationOutcome
{
  "resourceType": "OperationOutcome",
  "id": "ok",
  "issue": [
    {
      "severity": "information",
      "code": "informational",
      "details": {
        "text": "All OK"
      }
    }
  ]
}
Related Documentation
- Refer to Subscriptions to learn more about Medplum's implementation of FHIR Subscriptions