function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Adam199Adam199 

Create custom object via UI API

Hi

How can I create a custom object via UI API? I've heard that it is possible but I can't find a way to do to it via UI API, what is the path to send payload to?
ui-api/...? 

I would like to be able to create a custom object via a POST request call..
VinayVinay (Salesforce Developers) 
Hi Adam,

Check below references that can help you.

https://www.forcetalks.com/salesforce-topic/how-can-i-create-custom-object-using-the-metadata-api-from-apex/
https://salesforce.stackexchange.com/questions/20763/creating-a-custom-object-using-rest-api

Thanks,