cStar fires 35 webhook event types across 7 categories. Subscribe to the ones you care about. You don't have to take them all.

Field casing inside data varies by event and source (dashboard and API ticket events use camelCase, widget ones use snake_case), so treat the samples below as sketches. The wrapper envelope (id, type, created_at, team_id, data) is the same for every event.

Categories

Category Events
Tickets ticket.created, ticket.updated, ticket.closed, ticket.message_added, ticket.deleted, ticket.assigned
Customers customer.created, customer.updated, customer.deleted, customer_group.created, customer_group.updated, customer_group.deleted
Articles article.created, article.published, article.updated, article.deleted
Team team.preferences_updated, agent.preferences_updated
Gamification boss.spawned, boss.damaged, boss.defeated, player.level_up, player.achievement_unlocked, player.xp_gained, player.quest_completed, player.streak_milestone, social.one_up_sent, social.high_five_sent
Community community_post.created, community_post.updated, community_post.status_changed, community_post.commented, community_post.deleted, community_post.voted
Surveys survey.submitted

Ticket Events

ticket.created

Fired when a new ticket is created via app, widget, API, or email.

{
  "id": "evt_ticket_created_a1B2c3D4",
  "type": "ticket.created",
  "created_at": "2026-04-27T18:42:11.000Z",
  "team_id": "team_01H8X9YZ7E0J3K4M5N6U",
  "data": {
    "ticket": {
      "id": "tkt_01H8X9YZ7E0J3K4M5N6P",
      "title": "Cannot reset password",
      "status": "new",
      "priority": "normal",
      "channel": "widget",
      "customer_id": "cus_01H8X9YZ7E0J3K4M5N6Q",
      "created_at": "2026-04-27T18:42:11.000Z"
    },
    "customer": {
      "id": "cus_01H8X9YZ7E0J3K4M5N6Q",
      "name": "Casey Patel",
      "email": "casey@example.com"
    }
  }
}

ticket.updated

Fired when a ticket's status, priority, assignment, tags, title, notes, or custom fields change. The changes block uses { field: { from, to } } shape and may contain any subset of watched fields.

{
  "data": {
    "ticket": {
      "id": "tkt_01H8X9YZ7E0J3K4M5N6P",
      "status": "open",
      "priority": "high"
    },
    "changes": {
      "priority": { "from": "normal", "to": "high" },
      "tags": { "from": ["bug"], "to": ["bug", "feature-request"] }
    }
  }
}

ticket.closed

Fired when a ticket's status changes to Closed, one at a time or in bulk. Moving a ticket to Resolved sends ticket.updated instead, and automation rules that set a status don't send either one yet.

{
  "data": {
    "ticket": {
      "id": "tkt_01H8X9YZ7E0J3K4M5N6P",
      "status": "closed"
    },
    "changes": { "status": { "from": "open", "to": "closed" } }
  }
}

ticket.message_added

Fired when a new message is added to a ticket. The customer block is omitted on agent or system replies.

{
  "data": {
    "ticket": { "id": "tkt_01H8X9YZ7E0J3K4M5N6P", "dashboard_url": "..." },
    "message": {
      "id": "msg_01H8X9YZ7E0J3K4M5N6R",
      "sender": "agent",
      "sender_name": "Riley",
      "content": "I just sent a reset link to your inbox.",
      "created_at": "2026-04-27T18:55:02.000Z"
    },
    "customer": { "id": "cus_01H8X9YZ7E0J3K4M5N6Q", "name": "Casey Patel", "email": "casey@example.com" }
  }
}

ticket.deleted

Fired when a ticket is deleted. The deleted row's title and metadata aren't included because the row is gone by the time the webhook is sent.

{ "data": { "id": "tkt_a1B2c3D4e5F6" } }

ticket.assigned

Fired when a ticket is assigned to an agent.

{
  "data": {
    "ticket": { "id": "tkt_01H8X9YZ7E0J3K4M5N6P" },
    "assignee": { "id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley", "email": "riley@acme.test" },
    "previous_assignee": null
  }
}

Customer Events

customer.created

{
  "data": {
    "customer": {
      "id": "cus_01H8X9YZ7E0J3K4M5N6Q",
      "name": "Casey Patel",
      "email": "casey@example.com",
      "status": "active",
      "tags": ["trial"],
      "created_at": "2026-04-27T18:42:11.000Z"
    }
  }
}

customer.updated

Same shape as customer.created plus a changes block.

{
  "data": {
    "customer": { "id": "cus_01H8X9YZ7E0J3K4M5N6Q", "tags": ["trial", "paying"] },
    "changes": { "tags": { "from": ["trial"], "to": ["trial", "paying"] } }
  }
}

customer.deleted

Sends only the customer ID.

{ "data": { "id": "cus_01H8X9YZ7E0J3K4M5N6Q" } }

customer_group.created, customer_group.updated, customer_group.deleted

Customer group lifecycle. Deletes send { customer_group: { id } } from the API and just { id } from the dashboard.

{
  "data": {
    "customer_group": {
      "id": "5c9d2e1a-7b3f-4a6e-8d2c-1f0e9b8a7c6d",
      "name": "Pro Plan",
      "slug": "pro-plan",
      "customer_count": 38
    }
  }
}

Article Events

article.created, article.published, article.updated

{
  "data": {
    "article": {
      "id": "art_01H8X9YZ7E0J3K4M5N6U",
      "title": "How to reset your password",
      "slug": "how-to-reset-your-password",
      "is_public": true,
      "published_at": "2026-04-27T19:00:00.000Z"
    }
  }
}

article.deleted

Sends only the article ID.

{ "data": { "id": "art_01H8X9YZ7E0J3K4M5N6U" } }

Team Events

team.preferences_updated

Fires when team-wide UX preferences change. Useful for keeping CRM mirrors in sync with feature toggles like bossBattlesEnabled.

{
  "data": {
    "team_id": "team_01H8X9YZ7E0J3K4M5N6U",
    "changed": ["bossBattlesEnabled"],
    "preferences": { "bossBattlesEnabled": false }
  }
}

agent.preferences_updated

Per-user preferences (e.g., boringMode toggled).

{
  "data": {
    "team_id": "team_01H8X9YZ7E0J3K4M5N6U",
    "member_id": "mem_01H8X9YZ7E0J3K4M5N6U",
    "agent_id": "agt_01H8X9YZ7E0J3K4M5N6U",
    "changed": ["boringMode"],
    "preferences": { "boringMode": true }
  }
}

Gamification Events

boss.spawned

{
  "data": {
    "boss": { "id": "boss_thunder_drake", "name": "The Thunder Drake", "level": 4, "max_hp": 1200 }
  }
}

boss.damaged

Fires when damage is dealt through the REST API (POST /api/v1/teams/{teamId}/game/boss/damage). Ticket closes in the dashboard don't send it yet.

{
  "data": {
    "boss": { "name": "The Thunder Drake", "current_hp": 740 },
    "damage": 120,
    "defeated": false,
    "by": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S" }
  }
}

boss.defeated

{
  "data": {
    "boss": { "name": "The Thunder Drake", "level": 4 },
    "final_blow_by": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley" }
  }
}

player.level_up

{
  "data": {
    "player": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley" },
    "level": { "from": 7, "to": 8 },
    "total_xp": 4200
  }
}

player.achievement_unlocked

Note the namespace: it's player.achievement_unlocked, not achievement.unlocked.

{
  "data": {
    "player": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley" },
    "achievement": { "id": "first_resolve", "name": "First Resolve", "xp": 50 }
  }
}

player.xp_gained

{
  "data": {
    "player": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley" },
    "amount": 75,
    "reason": "ticket.resolved",
    "ticket_id": "tkt_01H8X9YZ7E0J3K4M5N6P"
  }
}

player.quest_completed

{
  "data": {
    "player": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley" },
    "quest": { "id": "resolve_5_tickets", "name": "Resolve 5 tickets today", "xp": 100 }
  }
}

player.streak_milestone

For streaks of 3, 5, 10, and 25 tickets closed in 2 messages or fewer (closing one in 5 or more messages resets the streak).

{
  "data": {
    "player": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley" },
    "streak_days": 5,
    "milestone": 5
  }
}

social.one_up_sent

{
  "data": {
    "from": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S", "name": "Riley" },
    "to": { "agent_id": "usr_01H8X9YZ7E0J3K4M5N6V", "name": "Sam" },
    "message": "Great empathy on this one",
    "gold_amount": 0,
    "created_at": "2026-04-27T18:55:02.000Z"
  }
}

social.high_five_sent

Recognition between teams, sent only for high fives made through the REST API, and only to the sending team's webhooks.

{
  "data": {
    "from_team": { "id": "team_acme", "name": "Acme Support" },
    "to_team": { "id": "team_globex", "name": "Globex Support" },
    "message": "Thanks for the assist!"
  }
}

Community Events

community_post.created

{
  "data": {
    "post": {
      "id": "post_01H8X9YZ7E0J3K4M5N6W",
      "title": "Add Slack-style threading to tickets",
      "status": "open",
      "visibility": "public",
      "created_at": "2026-04-27T18:42:11.000Z"
    }
  }
}

community_post.updated

Same shape as created.

community_post.status_changed

Fires on transitions like Open to Planned to Completed.

{
  "data": {
    "post": {
      "id": "post_01H8X9YZ7E0J3K4M5N6W",
      "title": "Add Slack-style threading to tickets",
      "status": "planned",
      "visibility": "public"
    }
  }
}

community_post.commented

{
  "data": {
    "post": { "id": "post_01H8X9YZ7E0J3K4M5N6W" },
    "comment": {
      "id": "cmt_01H8X9YZ7E0J3K4M5N6X",
      "post_id": "post_01H8X9YZ7E0J3K4M5N6W",
      "body": "Bumping for visibility.",
      "is_official": false,
      "author_name": "Casey Patel",
      "created_at": "2026-04-27T18:55:02.000Z"
    }
  }
}

community_post.deleted

{
  "data": {
    "post": {
      "id": "post_01H8X9YZ7E0J3K4M5N6W",
      "title": "Add Slack-style threading to tickets"
    }
  }
}

prefixed_id and title are best-effort. Today prefixed_id comes through as null from the dashboard and the v1 API, and posts customers delete from the widget send only id and author. Subscribers should rely on id only.

community_post.voted

Listed in the event picker, but cStar doesn't send it yet.

{
  "data": {
    "post": { "id": "post_01H8X9YZ7E0J3K4M5N6W", "vote_count": 13 },
    "voter": { "id": "cus_01H8X9YZ7E0J3K4M5N6Q" },
    "direction": "up"
  }
}

Survey Events

survey.submitted

{
  "data": {
    "survey": {
      "id": "svy_01H8X9YZ7E0J3K4M5N6Y",
      "rating": 5,
      "comment": "Resolved fast, thank you!",
      "ticket_id": "tkt_01H8X9YZ7E0J3K4M5N6P",
      "agent_id": "usr_01H8X9YZ7E0J3K4M5N6S",
      "submitted_at": "2026-04-27T19:30:00.000Z"
    }
  }
}

Flat Payload Mode

When Flat Payload is enabled on a webhook, nested fields in data are duplicated at a flat root key with underscore-separated names. Easier to use in visual automation builders like Zapier:

{
  "id": "evt_ticket_created_a1B2c3D4",
  "type": "ticket.created",
  "data": { "ticket": { "id": "tkt_abc", "title": "Help" } },
  "flat": { "ticket_id": "tkt_abc", "ticket_title": "Help" }
}

Related