public function registerActivity($authyId, $type, $data, $ip = null): Response
    {
        // Prepare required variables
        $url = $this->api."users/{$authyId}/register_activity";
        $params = $this->params + ['form_params' => ['type' => $type, 'data' => $data, 'user_ip' => $ip]];

        // Register Authy user activity, and return response
        return new Response($this->http->post($url, $params));
    }