Detect if a topic has a new post

(jj11909) #1

I needed to determine if it was possible to:

  1. Detect when a new post is submitted via client side
    Reason: We do a lot of support here. We do not want “stale” cases to go unanswered or slip through the cracks.

    ==> If specific poster != x set topic timer on a specific topic based on this change and set it to a specific user

It a long shot and I have a feeling this functionality will require a full plugin however I wanted to determine if this was the case.

I guess I am more directly trying to find out if I can even detect a post submission and if I can update the timer via an api call to the topic. I can figure out the rest myself if I can confirm this is possible and where this is documented.

(Simon Cossar) #2

There are webhooks sent when a new topic or post is created. They could probably get you the information you need. See: Setting up webhooks.

(jj11909) #3

That is excellent. Just what was needed for the submission. Last thing is there a way to update the time on a topic? I can see in the app docs how to create a topic with a timer but can this timer be updated dynamically?

(cpradio) #4

There is also update a topic timestamp, which might be what you want.