Outpost Community Demo

Webhook payload is missing topic tags — bug or intended?

By priya.sh ·

I'm building an integration that syncs new topics to our Linear project board. The topic.created webhook fires correctly, but the payload doesn't include the topic's tags — just the category.

{
  "event": "topic.created",
  "data": {
    "id": "abc-123",
    "title": "Bug: Login fails on Safari",
    "category": { "id": "...", "name": "Bug Reports" }
    // ← no tags field?
  }
}

Is this intentional or a bug? I need the tags to determine which Linear team to route it to:

  • frontend tag → Frontend team
  • api tag → Backend team
  • mobile tag → Mobile team

For now I'm making a follow-up API call to GET /api/community/:slug/topics/:id to fetch the tags, but it'd be cleaner if they were in the webhook payload.

5 replies

top-outpost-ninja ·

Good catch — this is a bug. The webhook serializer wasn't including the tags relation. I'll get a fix out for this. In the meantime, the follow-up API call is the right workaround.

Tracking this internally. Should be in the next release.

priya.sh ·

Awesome, thanks for the quick response! No rush — the workaround is fine for now. Would be great to also include tags in the topic.updated webhook when tags are added/removed.

jmpk ·

Same issue here. I'm using webhooks to push new topics into a Slack channel and wanted to include tags as labels. +1 for including them in the payload.

top-outpost-ninja ·

Update: fix is deployed! Both topic.created and topic.updated webhooks now include a tags array. Each tag has id, name, and slug. Let me know if it works on your end.

priya.sh ·

Just tested — works perfectly. Thanks for the fast turnaround! The Linear integration is running smoothly now.