public function add(array $data)
    {
        $data = $this->resolverFactory->createNotificationResolver()->resolve($data);

        return $this->api->request('POST', '/notifications', [
            'Authorization' => 'Basic '.$this->api->getConfig()->getApplicationAuthKey(),
        ], json_encode($data));
    }