cURL
curl --request POST \ --url https://api.decodahealth.com/v1/webhook/create \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data '{ "notificationEmail": "<string>", "subscriptions": [ "PATIENT_CREATED" ], "url": "<string>" }'
{ "createdDate": "2023-11-07T05:31:56Z", "id": "<string>", "notificationEmail": "<string>", "secret": "<string>", "subscriptions": [ "PATIENT_CREATED" ], "updatedDate": "2023-11-07T05:31:56Z", "url": "<string>" }
Create a new Webhook for the Tenant
Webhook
Tenant
The tenant you are making this request on behalf of
Your api key
Successful Response
The response is of type object.
object