How can I Acttivate AR in a upload model POST METHOD

Hello, I have the following code to upload a model automatically to sketchfab, do you know how “AR” can be activated during the POST method with the parameter “isArEnabled”.

            SketchfabWebRequest p = new SketchfabWebRequest();
            p.title = modelName;
            p.description = description;
            p.contents = Convert.ToBase64String(File.ReadAllBytes(modelPath));
            p.filename = modelName + Path.GetExtension(modelPath) ;
            p.tags = tags;
            p.token = token;
            p.source = source;               
           p.thumbnail = Convert.ToBase64String(File.ReadAllBytes(imagePath));

            string json_str = p.stringify();

            // Get the URI from the command line.
            Uri httpSite = new Uri(@"");

            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls;

            // Create a 'WebRequest' object with the specified url. 
            var myWebRequest = WebRequest.Create(httpSite) as HttpWebRequest;
            myWebRequest.Method = "POST";

            // Write the payload to the request.
            UTF8Encoding encoding = new UTF8Encoding();
            myWebRequest.ContentLength = encoding.GetByteCount(json_str);
            myWebRequest.ContentType = "application/json";

            // Write request data over the wire.
            using (Stream reqStream = myWebRequest.GetRequestStream())
                reqStream.Write(encoding.GetBytes(json_str), 0,

            // Send the 'WebRequest' and wait for response.
            WebResponse myWebResponse = myWebRequest.GetResponse();

            StreamReader read = new StreamReader(myWebResponse.GetResponseStream());
            string fullResponse = read.ReadToEnd();

            var json_response = JSON.toJSON(fullResponse, typeof(SketchfabWebResponse)) as SketchfabWebResponse;
            if (json_response == null)
                return null;

            if (warn != null)
                warn = json_response.warn;

            if (error != null)
                error = json_response.error;

        catch (Exception ex)
            System.Diagnostics.Trace.WriteLine("Sketchfab SW publishing failed. Message: " + ex.Message);

            return null;

internal class SketchfabWebRequest : JSON
internal string title = null; // model title

    internal string description = null; // model description (optional)

    internal string contents = null; // base64 encoded model data

    internal string filename = null; // name of your model file, this must be given with the extension related to content

    internal string tags = null; // list of space separated tags (optional)

    internal string token = null; // your sketchfab API token

    internal string thumbnail = null; // base64 encoded png thumbnail (optional)

    internal string source = null; // model origin (optional)
    internal string isArEnabled = null; // model origin (optional)

Hi @Aw3DViewer ,
I’m not seeing the isArEnabled property documented in the docs (Swagger UI). Though, I just tested it in postman with a PATCH call, and it seems to work just fine. You need to add the isArEnabled to your SketchfabWebRequest object. It takes a boolean value.