ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Flowdock: REST API - How to reply to a thread


Article ID: 105839


Updated On:


CA Flowdock


How can we use Flowdock's REST API to send a message into a specific thread in a given flow?


Component: ACSAAS


In order to use Flowdock's REST API, you will need to get your personal API Token. You will use this token to authenticate your API calls with Flowdock. To get your perosnal API Token go to: and copy the value of the API Token.

The URL you will need to post your message to consists of the following format:
https://<Your API Token><Org Name>/<Flow Name>/threads/<Thread ID>/messages

- The <Org Name> and <Flow Name> can easily be known to you simply by going into Flowdock and checking your the flow.
- To find the <Thread ID> you will need to use a preliminary API call for the flow's threads:

<Please see attached file for image>

User-added image

Search the reply JSON for your thread. The 'title' is the field holding the first message in that thread, which you'll need to examine to make the determination which thread you need to reply to. In this example, we're going to select a thread titled: "My Thread":
The "id" field is the <Thread ID> you'll need to construct your final URL.

<Please see attached file for image>

User-added image

Now, let's compose our URL and post our message to this thread.

<Please see attached file for image>

User-added image

<Please see attached file for image>

User-added image
Our post is successful, see the "201 Created" status. We also received a UUID for our message post.

<Please see attached file for image>

User-added image

Let's see it in Flowdock. We can see the first message in that thread matches the title of the thread we posted to. The last message below is the message we just posted via the API:

<Please see attached file for image>

User-added image

Additional Information

Flowdock's Help:

Flowdock's API:

Flowdock's Tokens:


1558699789992000105839_sktwi1f5rjvs16juz.png get_app
1558699788127000105839_sktwi1f5rjvs16juy.png get_app
1558699786499000105839_sktwi1f5rjvs16jux.png get_app
1558699784803000105839_sktwi1f5rjvs16juw.png get_app
1558699783121000105839_sktwi1f5rjvs16juv.png get_app
1558699781211000105839_sktwi1f5rjvs16juu.png get_app