protected function sendMessage(BaseMessageInterface $message, $baseUrl, array $options = array())
    {
        $client = $this->createClient(sprintf('%s/%s', $baseUrl, $this->flowApiToken));

        $response = $client->post(null, array_merge(
            $options, [
                'headers' => ['Content-Type' => 'application/json'],
                'json'    => $message->getData()
            ]
        ));

        $message->setResponse($response);

        return !$message->hasResponseErrors();
    }