Search for a String

Use the Search resource to execute a SOSL search or use the Parameterized Search resource to execute a simple RESTful search without SOSL.

The following example executes a SOSL search for Acme. The search string in this example must be URL-encoded.

Example usage

Example request body: None required

Example response body

The following example executes a parameterized search for Acme. The search string in this example must be URL-encoded.

Example usages

Global search for all results containing Acme Account search for results containing Acme, returning the id and name fields

Example request body: None required

Example response body

Example response body with metadata parameter

The metadata parameter is only returned if the request specified metadata=LABELS.

Execute a parameterized search using the POST method to access all search features available.

Example usage

Example request body: None required

Example JSON file

Example response body

See Also