AnsweredAssumed Answered

error: nil is not a supported event

Question asked by pubnubcraig on Feb 28, 2017
Latest reply on Mar 1, 2017 by Michael Bulkeley

I am trying to create an integration from Freshdesk to Flowdock (using Freshdesk webhooks to start and eventually a plugin app) so I am testing the REST calls using curl from terminal. I have made some progress (able to list all flows) but having issue trying to post a message.

Here is the curl command I am using (token redacted):

 

curl https://eb...7112c@api.flowdock.com/flows/pubnub/support-team/messages7112c@api.flowdock.com/flows/pubnub/support-team/messages -d '{"event":"message","content":"Howdy-Doo @Jackie #awesome"}'

 

... and I get this error message:

 

{"message":"nil is not a supported event"}

 

I just want to be able to post a message to a flow.

What am I doing wrong?

 

Thanks

Craig

Outcomes