public function createContact($name, $email)
    {
        if (filter_var($email, FILTER_VALIDATE_EMAIL) === false) {
            throw new Exceptions\InvalidRecipientException('Invalid email address.');
        }

        $data = [
            'name'  => $name,
            'email' => $email
        ];

        return new Contact(
            Connection::sendCurlRequest(Connection::URL_CONTACTS, 'POST', $data, true, $this->apiKey),
            $this->apiKey
        );
    }