public function getTemplate(string $templateId): Template
    {
        try {
            $template = TemplateFactory::createFromAPIResponse($this->client->getTemplate($templateId));
        } catch (ClientException $ce) {
            $response = $ce->getResponse();

            throw ExceptionFactory::create($response, $ce);
        }

        return $template;
    }