public function createRoom($options)
    {
        if (!isset($options['creator_id'])) {
            throw new MissingArgumentException('You must provide the ID of the user creating the room');
        }
        if (!isset($options['name'])) {
            throw new MissingArgumentException('You must provide a name for the room');
        }

        $body = [
            'name' => $options['name'],
            'private' => false
        ];
        if (isset($options['private'])) {
            $body['private'] = $options['private'];
        }
        if (isset($options['user_ids'])) {
            $body['user_ids'] = $options['user_ids'];
        }
        if (isset($options['custom_data'])) {
        	$body['custom_data'] = $options['custom_data'];
        }

        $token = $this->getServerToken([ 'user_id' => $options['creator_id'] ])['token'];

        return $this->apiRequest([
            'method' => 'POST',
            'path' => '/rooms',
            'jwt' => $token,
            'body' => $body
        ]);
    }