Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Get Object Metadata Using sObject Basic Information

Gets basic metadata for a specified object, including some object properties, recent items, and URIs for other resources related to the object.

To retrieve the complete metadata for an object, use the sObject Describe resource.

Syntax

URI: /services/data/vXX.X/sobjects/sObject/

Formats: JSON, XML

HTTP Method: GET

Authentication: Authorization: Bearer token

Parameters

Parameter Description
sObject The name of the object. For example, Account. A required path parameter.

Example

For an example of retrieving metadata for an object, see Get Metadata for an Object.