{"id":81987,"date":"2017-04-27T08:54:59","date_gmt":"2017-04-27T08:54:59","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=81987"},"modified":"2026-01-30T10:39:19","modified_gmt":"2026-01-30T10:39:19","slug":"how-to-run-rest-api-through-workbench-salesforce","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/","title":{"rendered":"A Practical Guide to REST API In Salesforce Using Workbench"},"content":{"rendered":"\n<p>This is not a guide on the theoretical overview of the REST API in Salesforce. It\u2019s a hands-on, developer-friendly walkthrough of how to run REST API calls using <strong>Workbench REST Explorer.<\/strong><\/p>\n\n\n\n<p>If you work with Salesforce long enough, you will eventually hit a moment when clicking the UI doesn&#8217;t count.<\/p>\n\n\n\n<p>You need to inspect raw data, test an API call, or debug an integration issue. And that&#8217;s usually when Salesforce Workbench enters the picture.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Is Salesforce REST API (And Why Developers Actually Use It)<\/strong><\/h2>\n\n\n\n<p>Salesforce REST API is used to interact with the Salesforce data programmatically. Developers could perform CRUD operations, run SOQL queries, and access metadata. <\/p>\n\n\n\n<p>All this could be done using standard HTTP methods like GET, POST, PATCH, and DELETE.<\/p>\n\n\n\n<p>Unlike <a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.api.meta\/api\/sforce_api_quickstart_intro.htm\">SOAP<\/a>, REST is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Lightweight<\/li>\n\n\n\n<li>JSON-first<\/li>\n\n\n\n<li>Easier to debug<\/li>\n\n\n\n<li>Better suited for modern integrations<\/li>\n<\/ul>\n\n\n\n<p>In real projects, Salesforce REST API is used for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Syncing Salesforce with eCommerce platforms<\/li>\n\n\n\n<li>Connecting ERP or accounting systems<\/li>\n\n\n\n<li>Triggering data updates from external apps<\/li>\n\n\n\n<li>Debugging integration issues during development<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Is Salesforce Workbench (And Why It\u2019s Still Relevant)<\/strong><\/h2>\n\n\n\n<p><strong>Salesforce Workbench<\/strong> is a browser-based tool built specifically for developers and administrators. Think of it as a <strong>Swiss Army knife<\/strong> for inspecting and interacting with your Salesforce org.<\/p>\n\n\n\n<p>Workbench is especially useful when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You want to test a REST API endpoint quickly<\/li>\n\n\n\n<li>You need to validate a SOQL query at the API level<\/li>\n\n\n\n<li>You\u2019re debugging a third-party integration<\/li>\n\n\n\n<li>You want to inspect raw API responses without writing code<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Running Salesforce REST API Calls Using Workbench REST Explorer<\/strong><\/h2>\n\n\n\n<p>1. Once logged into <a href=\"https:\/\/workbench.developerforce.com\/\">Workbench<\/a>, navigate to <strong>Utilities \u2192 REST Explorer<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-1200x943.webp\" alt=\"rest api in salesforce\" class=\"wp-image-524360\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>2. Select the HTTP Method to GET if you want to fetch data or run a SOQL query.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-t-1200x943.webp\" alt=\"rest api in salesforce \" class=\"wp-image-524348\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-t-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-t-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-t-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-t-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-t-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-t-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>3. URI set to the following:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/services\/data\/v62.0<\/pre>\n\n\n\n<p>4. When you click on the Headers button, you will find that Request Headers is set to the\u00a0 following code by default:<br><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">Content-Type: application\/json; charset=UTF-8\nAccept: application\/json<\/pre>\n\n\n\n<p>5. Through the above header, you can get a JSON response. If you want to receive your response in XML format, set the code in Request Headers<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">Content-Type: application\/json; charset=UTF-8\nAccept: application\/xml<\/pre>\n\n\n\n<p>Let us execute the default set URI. You\u2019ll get the output as below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-th-1200x943.webp\" alt=\"workbench rest explorer\" class=\"wp-image-524349\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-th-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-th-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-th-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-th-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-th-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-th-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-f-1200x943.webp\" alt=\"rest api in salesforce\" class=\"wp-image-524346\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-f-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-f-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-f-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-f-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-f-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-get-f-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">CRED operations using REST API<\/h2>\n\n\n\n<p>Let us perform the CRED operations using the REST API:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Records<\/h3>\n\n\n\n<p>To create records through the REST API, use the \/sobjects\/URI. And make sure the HTTP method is set to POST.<\/p>\n\n\n\n<p>Step 1: Set the URI according to the object you want to insert.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/services\/data\/v62.0\/sobjects\/Account<\/pre>\n\n\n\n<p>Step 2: Set the request body with fields and their values<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">{\n\n\u00a0\u00a0\u00a0\u00a0&quot;Name&quot;:&quot;Test Company&quot;\n\n}<\/pre>\n\n\n\n<p>Step 3: Execute, then you will get the following result<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-create-1200x943.webp\" alt=\"create record through workbench\" class=\"wp-image-524343\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-create-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-create-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-create-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-create-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-create-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-create-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">READ Operation<\/h3>\n\n\n\n<p>To perform the READ operation through SOQL query using REST API, please make sure that the HTTP method is set to GET.<\/p>\n\n\n\n<p>Follow the resources to request an SOQL query through the REST API:<\/p>\n\n\n\n<p>1) \/query: It returns all the records present in the org according to the query.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/services\/data\/v62.0\/query\/?q=Select+Id,Name+from+Account+LIMIT+10<\/pre>\n\n\n\n<p>2) \/queryAll: It returns all the records present in the org, including the deleted records that are present in the \u201crecycle bin\u201d, according to the query.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/services\/data\/v62.0\/queryAll\/?q=Select+Id,Name+from+Account+LIMIT+10<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">EDIT Records<\/h3>\n\n\n\n<p>The editing and updating of records through the REST API requires the use of the \/sobjects\/URI. And make sure to select the HTTP method to PATCH.<\/p>\n\n\n\n<p>Step 1: Set the URI according to the object you want to edit, and also mention the related Id.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/services\/data\/v62.0\/sobjects\/Account\/001RK00001q0GHiYAM<\/pre>\n\n\n\n<p>Step 2: Set the Request Body with fields and their values<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">{\n\n\u00a0\u00a0\u00a0\u00a0&quot;Name&quot;:&quot;Test Company&quot;,\n\n\u00a0\u00a0\u00a0\u00a0&quot;AccountNumber&quot;:&quot;abc123&quot;\n\n}<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-edit-1200x943.webp\" alt=\"edit records through workbench\" class=\"wp-image-524345\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-edit-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-edit-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-edit-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-edit-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-edit-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-edit-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">DELETE Records<\/h3>\n\n\n\n<p>Deleting the records requires the use of the \/sobjects\/URI. And make sure to set the HTTP method to DELETE.<\/p>\n\n\n\n<p>Step 1: Set the URI according to the object you want to delete, and also mention the related Id.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\/services\/data\/v62.0\/sobjects\/Account\/001RK00001q0GHiYAM<\/pre>\n\n\n\n<p>Step 2: Execute.<\/p>\n\n\n\n<p>You will get the following result:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"943\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-delete-1200x943.webp\" alt=\"delete records through workbench\" class=\"wp-image-524344\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-delete-1200x943.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-delete-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-delete-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-delete-768x603.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-delete-1536x1207.webp 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/workbench-delete-2048x1609.webp 2048w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Salesforce Workbench is a powerful tool for not just admins but also for developers. It\u2019s one of the most practical tools for testing, debugging, and understanding the Salesforce REST APIs.&nbsp;<\/p>\n\n\n\n<p>If you work on <a href=\"https:\/\/webkul.com\/blog\/salesforce-ecommerce-integration\/\">Salesforce integrations<\/a> and know how to use REST Explorer properly, it will save you hours, and sometimes days of debugging.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Support&nbsp;<\/h2>\n\n\n\n<p>If you\u2019re planning a Salesforce integration or refactoring an existing one, email us at <a href=\"mailto:support@webkul.com\">support@webkul.com<\/a><\/p>\n\n\n\n<p>You can also <a href=\"https:\/\/webkul.com\/hire-salesforce-developers\/\">hire Salesforce Developers<\/a> to help your business deliver more by providing expertise and resources for all kinds of Salesforce development projects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is not a guide on the theoretical overview of the REST API in Salesforce. It\u2019s a hands-on, developer-friendly walkthrough of how to run REST API calls using Workbench REST Explorer. If you work with Salesforce long enough, you will eventually hit a moment when clicking the UI doesn&#8217;t count. You need to inspect raw <a href=\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":104,"featured_media":82061,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3128,1887],"tags":[2253,4764,4763],"class_list":["post-81987","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api-support","category-salesforce","tag-rest-api","tag-rest-explorer-in-workbench","tag-workbench"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to run REST API through Workbench Salesforce<\/title>\n<meta name=\"description\" content=\"Struggling to test rest api in Salesforce? This Workbench guide shows how to retrieve, create, update, or delete the data with examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to run REST API through Workbench Salesforce\" \/>\n<meta property=\"og:description\" content=\"Struggling to test rest api in Salesforce? This Workbench guide shows how to retrieve, create, update, or delete the data with examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-27T08:54:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-30T10:39:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aakanksha Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aakanksha Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\"},\"author\":{\"name\":\"Aakanksha Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/7d54984c6524404eb2ba261ace62da80\"},\"headline\":\"A Practical Guide to REST API In Salesforce Using Workbench\",\"datePublished\":\"2017-04-27T08:54:59+00:00\",\"dateModified\":\"2026-01-30T10:39:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\"},\"wordCount\":708,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png\",\"keywords\":[\"REST API\",\"rest explorer in workbench\",\"workbench\"],\"articleSection\":[\"API Support\",\"Salesforce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\",\"name\":\"How to run REST API through Workbench Salesforce\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png\",\"datePublished\":\"2017-04-27T08:54:59+00:00\",\"dateModified\":\"2026-01-30T10:39:19+00:00\",\"description\":\"Struggling to test rest api in Salesforce? This Workbench guide shows how to retrieve, create, update, or delete the data with examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png\",\"width\":825,\"height\":260,\"caption\":\"rest api in salesforce\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Practical Guide to REST API In Salesforce Using Workbench\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/7d54984c6524404eb2ba261ace62da80\",\"name\":\"Aakanksha Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eef6d7ed23fc4ad8f12c94d6d6d30ec2ebbb9bedbf9d8a9dc8626a3a171fa3fa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eef6d7ed23fc4ad8f12c94d6d6d30ec2ebbb9bedbf9d8a9dc8626a3a171fa3fa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Aakanksha Singh\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/aakanksha-singh391\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to run REST API through Workbench Salesforce","description":"Struggling to test rest api in Salesforce? This Workbench guide shows how to retrieve, create, update, or delete the data with examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/","og_locale":"en_US","og_type":"article","og_title":"How to run REST API through Workbench Salesforce","og_description":"Struggling to test rest api in Salesforce? This Workbench guide shows how to retrieve, create, update, or delete the data with examples.","og_url":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-04-27T08:54:59+00:00","article_modified_time":"2026-01-30T10:39:19+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png","type":"image\/png"}],"author":"Aakanksha Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Aakanksha Singh","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/"},"author":{"name":"Aakanksha Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/7d54984c6524404eb2ba261ace62da80"},"headline":"A Practical Guide to REST API In Salesforce Using Workbench","datePublished":"2017-04-27T08:54:59+00:00","dateModified":"2026-01-30T10:39:19+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/"},"wordCount":708,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png","keywords":["REST API","rest explorer in workbench","workbench"],"articleSection":["API Support","Salesforce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/","url":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/","name":"How to run REST API through Workbench Salesforce","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png","datePublished":"2017-04-27T08:54:59+00:00","dateModified":"2026-01-30T10:39:19+00:00","description":"Struggling to test rest api in Salesforce? This Workbench guide shows how to retrieve, create, update, or delete the data with examples.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2017\/04\/webkul26.png","width":825,"height":260,"caption":"rest api in salesforce"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-run-rest-api-through-workbench-salesforce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A Practical Guide to REST API In Salesforce Using Workbench"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/7d54984c6524404eb2ba261ace62da80","name":"Aakanksha Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eef6d7ed23fc4ad8f12c94d6d6d30ec2ebbb9bedbf9d8a9dc8626a3a171fa3fa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eef6d7ed23fc4ad8f12c94d6d6d30ec2ebbb9bedbf9d8a9dc8626a3a171fa3fa?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Aakanksha Singh"},"url":"https:\/\/webkul.com\/blog\/author\/aakanksha-singh391\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/81987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/104"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=81987"}],"version-history":[{"count":15,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/81987\/revisions"}],"predecessor-version":[{"id":524368,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/81987\/revisions\/524368"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/82061"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=81987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=81987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=81987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}