Create Webhook ​
Endpoint ​
http
POST /webhookRequest Body ​
target_url
string
REQUIRED ·Â
The URL where the webhook payload will be sent.
Example:
https://example.com/webhookis_active
boolean
Whether the webhook is active or not.
Example:
trueevent_types
string[]
The list of event types that the webhook is subscribed to. If not specified, then the webhook will be subscribed to all event types.
All possible enum values:
sync_job_run:createdsync_job_run:updatedsync_job_run:startedsync_job_run:completedsync_job_run:failedsync_job_run:recordintegrated_account:createdintegrated_account:updatedintegrated_account:activeintegrated_account:reactivatedintegrated_account:authentication_errorintegrated_account:post_install_errorintegrated_account:validation_errorintegrated_account:post_connect_form_submittedrecord:createdrecord:updatedrecord:deletedsync_job_cron_trigger:failedbatch_job:dry_run_completedbatch_job:completedbatch_job:dry_run_failedbatch_job:failed
Response Body ​
id
string · uuid
The ID of the webhook.
Example:
4a4de828-f4db-4c9e-adfd-434e0864c3c7target_url
string
The URL where the webhook should send the data.
Example:
https://example.com/webhookis_active
boolean
Whether the webhook is active or not. Inactive webhooks will not receive any data.
Example:
trueenvironment_id
string · uuid
The ID of the environment that this webhook belongs to.
Example:
05daecaf-4365-42e8-8370-8127de5dd717event_types
string[]
The list of event types that the webhook is subscribed to.
Example:
["integrated_account:created", "integrated_account:updated"]All possible enum values:
sync_job_run:createdsync_job_run:updatedsync_job_run:startedsync_job_run:completedsync_job_run:failedsync_job_run:recordintegrated_account:createdintegrated_account:updatedintegrated_account:activeintegrated_account:reactivatedintegrated_account:authentication_errorintegrated_account:post_install_errorintegrated_account:validation_errorintegrated_account:post_connect_form_submittedrecord:createdrecord:updatedrecord:deletedsync_job_cron_trigger:failedbatch_job:dry_run_completedbatch_job:completedbatch_job:dry_run_failedbatch_job:failed
created_at
string · date-time
The date and time when the webhook was created.
Example:
2021-08-10T10:00:00.000Zupdated_at
string · date-time
The date and time when the webhook was last updated.
Example:
2021-08-10T10:00:00.000Zsecret
string · uuid
The secret key that will be used to sign the webhook payload.
Example:
d5fac1cb-1820-4da7-bfd8-a6b758bcf8ff