Question

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

  • 20 April 2022
  • 3 replies
  • 379 views

  • Participating Frequently
  • 8 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

Userlevel 1

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.

Userlevel 1

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"
}

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

Reply