Skip to main content
Question

Subscribed webhook for event filter '/restapi/v1.0/glip/tasks' have not receive events


  • Participating Frequently
  • 7 replies

I've create a subscription webhook for event filter = '/restapi/v1.0/glip/tasks', but didn't get eny events on create/delete/update a task. Why ?

3 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2331 replies
  • April 20, 2022

Out of my curiosity, where did you get that event filter from? I don't see it in the list of event filters in the API reference.


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2331 replies
  • April 20, 2022

So instead of asking such a question, ask how to get Team Messaging Task notification events.

In fact, you just need to subscribe for the ''/restapi/v1.0/glip/posts' event and detect the type in the event payload. E.g.

{
  "id": "37742841397252",
  "groupId": "1152743292930",
  "type": "TextMessage",
  ...
  "attachments": [
    {
      ...
      "section": "Delete",
      "status": "Pending",
      "subject": "Check and clean up",
      "type": "Task"
    }
  ],
  ...
  "eventType": "PostAdded"
}

  • Author
  • Participating Frequently
  • 7 replies
  • April 20, 2022

Yeah, great, but how it will help me to catch an event on update (title, assignees, due datetime, e.t.c.) a task?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings