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

book

Article ID: 105836

calendar_today

Updated On:

Products

CA Flowdock

Issue/Introduction



How can we send a message to a flow using Flowdock's REST API?

Environment

Release:
Component: ACSAAS

Resolution

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:

<Please see attached file for image>

User-added image

<Please see attached file for image>

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

<Please see attached file for image>

User-added image

And this is how it looks like when back in Flowdock and look at the flow:

<Please see attached file for image>

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

Attachments

1558698429019000105836_sktwi1f5rjvs16jcx.png get_app
1558698427284000105836_sktwi1f5rjvs16jcw.png get_app
1558698425584000105836_sktwi1f5rjvs16jcv.png get_app
1558698423612000105836_sktwi1f5rjvs16jcu.png get_app