I just created a new org, so there are different layout on the Account object:

  • Account Layout
  • Account (Marketing) Layout
  • Account (Sales) Layout
  • Account (Support) Layout

But when I retrieve the describe from accounts using:

  • /vXX.X/sobjects/Object/describe/layouts/

It returns only one layout:

enter image description here

Do you know why?





I have tested the describe using REST request via Workbench and you are right; its not returning all the layouts.

Do you really need to use describe layout? I have managed to get the layout using Tooling API

Here is the syntax:


Regards, Raj

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.