Webhooks
Integrate hotglue with your own workflow by configuring a webhook
Configure the webhook
To configure a webhook for your environment, head to the environment settings and set the webhook options. There are two fields:
Name | Description |
---|---|
Webhook URL | This is the webhook endpoint you want hotglue to send POST requests to |
Webhook Secret | Optional - if provided, hotglue will encrypt the payload and send an |
Webhook payload
hotglue will send a webhook POST request to your hook every time a job moves forward in the job lifecycle. You can read about the job lifecycle here.
Example payload
{
"job_id": "16FzN",
"env_id": "dev.dummy.hotglue.xyz",
"flow_id": "l8odS2mce",
"job_name": "test_job:kr8J8ks-u",
"tenant": "default",
"started_by": "default",
"s3_root": "default/flows/l8odS2mce/jobs/16FzN",
"start_time": "2020-12-30T20:29:21.614299+00:00",
"state": {},
"tap": "quickbooks:sandbox",
"status": "JOB_COMPLETED",
"task_id": "dab752626e3944db960b7c9cc9ab3a25",
"last_updated": "2020-12-30T20:31:00.081282+00:00"
}
Updated 7 months ago
Did this page help you?