---
title: "Webhook Triggers"
description: "<p>Create and manage data import and export jobs.</p>"
url: "https://www.contentstack.com/docs/developers/apis/lytics-api/jobs/webhook-triggers"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-11-05"
---

# Webhook Triggers

Create and manage data import and export jobs.

## WebhookTriggers: Create job

### WebhookTriggers: Create job

**POST** `/v2/job/webhook-triggers`

Create a WebhookTriggers job

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {
    "account_id": "string",
    "anomaly_rule": {
      "aid": 0,
      "checks": [
        {
          "allowable_violations": 0,
          "interval": "string",
          "lookback_count": 0,
          "max_threshold": 0,
          "metric_type": "string",
          "min_threshold": 0,
          "type": "string",
          "variance_pct": 0
        }
      ],
      "created": "string",
      "id": "string",
      "subject_id": "string",
      "subject_type": "string",
      "updated": "string"
    },
    "api_token_auth_id": "string",
    "auth_ids": [
      "string"
    ],
    "config": {
      "additionalProperties": {},
      "audience_events": "enters_only",
      "batch_flush_duration": 0,
      "batch_requests": true,
      "batch_size": 0,
      "cloudevents": true,
      "cloudevents_source": "string",
      "cloudevents_type": "string",
      "field_changes": [
        "string"
      ],
      "http_method": "GET",
      "include_segs": true,
      "rate_limit": 0,
      "segment_ids": [
        "string"
      ],
      "template_id": "string",
      "user_limit": 0,
      "user_limit_day_of_week": "string",
      "user_limit_frequency": "string",
      "user_limit_time_of_day": "string",
      "user_limit_timezone": "string",
      "webhook_url": "string",
      "withbackfill": true,
      "worker_count": 0
    },
    "created": "string",
    "deleted": true,
    "description": "string",
    "drop_events_during_quiet_window": true,
    "expires_at": "2019-08-24T14:15:22Z",
    "id": "string",
    "meta": {},
    "monitoring": {},
    "name": "string",
    "quiet_period": 0,
    "quiet_time_of_day": "string",
    "quiet_timezone": "string",
    "sleep_until": "string",
    "status": "runnable",
    "updated": "string",
    "user_id": "string",
    "workflow": "string",
    "workflow_id": "string"
  },
  "request_id": "string",
  "status": 0
}
```

## WebhookTriggers: Get job

### WebhookTriggers: Get job

**GET** `/v2/job/webhook-triggers/{id}`

Get the summary of a WebhookTriggers job

#### URL Parameters

- **id** (required)
  The Job ID

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {
    "account_id": "string",
    "anomaly_rule": {
      "aid": 0,
      "checks": [
        {
          "allowable_violations": 0,
          "interval": "string",
          "lookback_count": 0,
          "max_threshold": 0,
          "metric_type": "string",
          "min_threshold": 0,
          "type": "string",
          "variance_pct": 0
        }
      ],
      "created": "string",
      "id": "string",
      "subject_id": "string",
      "subject_type": "string",
      "updated": "string"
    },
    "api_token_auth_id": "string",
    "auth_ids": [
      "string"
    ],
    "config": {
      "additionalProperties": {},
      "audience_events": "enters_only",
      "batch_flush_duration": 0,
      "batch_requests": true,
      "batch_size": 0,
      "cloudevents": true,
      "cloudevents_source": "string",
      "cloudevents_type": "string",
      "field_changes": [
        "string"
      ],
      "http_method": "GET",
      "include_segs": true,
      "rate_limit": 0,
      "segment_ids": [
        "string"
      ],
      "template_id": "string",
      "user_limit": 0,
      "user_limit_day_of_week": "string",
      "user_limit_frequency": "string",
      "user_limit_time_of_day": "string",
      "user_limit_timezone": "string",
      "webhook_url": "string",
      "withbackfill": true,
      "worker_count": 0
    },
    "created": "string",
    "deleted": true,
    "description": "string",
    "drop_events_during_quiet_window": true,
    "expires_at": "2019-08-24T14:15:22Z",
    "id": "string",
    "meta": {},
    "monitoring": {},
    "name": "string",
    "quiet_period": 0,
    "quiet_time_of_day": "string",
    "quiet_timezone": "string",
    "sleep_until": "string",
    "status": "runnable",
    "updated": "string",
    "user_id": "string",
    "workflow": "string",
    "workflow_id": "string"
  },
  "request_id": "string",
  "status": 0
}
```

## WebhookTriggers: Update job

### WebhookTriggers: Update job

**PUT** `/v2/job/webhook-triggers/{id}`

Update a WebhookTriggers job

#### URL Parameters

- **id** (required)
  The Job ID

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {
    "account_id": "string",
    "anomaly_rule": {
      "aid": 0,
      "checks": [
        {
          "allowable_violations": 0,
          "interval": "string",
          "lookback_count": 0,
          "max_threshold": 0,
          "metric_type": "string",
          "min_threshold": 0,
          "type": "string",
          "variance_pct": 0
        }
      ],
      "created": "string",
      "id": "string",
      "subject_id": "string",
      "subject_type": "string",
      "updated": "string"
    },
    "api_token_auth_id": "string",
    "auth_ids": [
      "string"
    ],
    "config": {
      "additionalProperties": {},
      "audience_events": "enters_only",
      "batch_flush_duration": 0,
      "batch_requests": true,
      "batch_size": 0,
      "cloudevents": true,
      "cloudevents_source": "string",
      "cloudevents_type": "string",
      "field_changes": [
        "string"
      ],
      "http_method": "GET",
      "include_segs": true,
      "rate_limit": 0,
      "segment_ids": [
        "string"
      ],
      "template_id": "string",
      "user_limit": 0,
      "user_limit_day_of_week": "string",
      "user_limit_frequency": "string",
      "user_limit_time_of_day": "string",
      "user_limit_timezone": "string",
      "webhook_url": "string",
      "withbackfill": true,
      "worker_count": 0
    },
    "created": "string",
    "deleted": true,
    "description": "string",
    "drop_events_during_quiet_window": true,
    "expires_at": "2019-08-24T14:15:22Z",
    "id": "string",
    "meta": {},
    "monitoring": {},
    "name": "string",
    "quiet_period": 0,
    "quiet_time_of_day": "string",
    "quiet_timezone": "string",
    "sleep_until": "string",
    "status": "runnable",
    "updated": "string",
    "user_id": "string",
    "workflow": "string",
    "workflow_id": "string"
  },
  "request_id": "string",
  "status": 0
}
```