Flowdock: REST API - How to use API to send a message to a flow

Document ID : KB000105836
Last Modified Date : 30/07/2018
Show Technical Document Details
Question:
How can we send a message to a flow using Flowdock's REST API?
Answer:
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: https://www.flowdock.com/account/tokens and copy the value of the API Token.

You will need to know the <Org Name> and <Flow Name> where you'd like to post your message. These will be concatenated into the final destination string you post your message to.

Here is an example of a simple text message issued using the API. Note the JSON type must be specified for the data format of your message:

User-added image
User-added image
A successful result will have a '201 Created' return code as well as UUID value unique to your message:
User-added image

And this is how it looks like when back in Flowdock and look at the flow:
User-added image
Additional Information:
Flowdock's help: https://www.flowdock.com/help

Flowdock's API: https://www.flowdock.com/api

Flowdock's Tokens: https://www.flowdock.com/account/tokens