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
Bhu'1 salesforceBhu'1 salesforce 

Is it possible to create to Custom Setting from REST API ?

Hi All,

Please help me out in letting me know - whether it is possible to create to Custom Setting from REST API ?

Thanks & Regards,
Bhuvan
logontokartiklogontokartik
Yes you can, its just like any other object in Salesforce. Use a POST and the endpoint would be
/services/data/v35.0/sobjects/<Custom Settings API Name>

In your post body, include the field names and values you want to load as JSON.