Get Component Content

Get static content from a component definition. This includes text nodes, image nodes, select nodes, text input nodes, submit button nodes, and nested component instances. To retrieve dynamic content set by component properties, use the [get component properties](/data/reference/pages-and-components/components/get-properties) endpoint. <Note>If you do not provide a Locale ID in your request, the response will return any content that can be localized from the Primary locale.</Note> Required scope | `components:read`

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site
component_idstringRequired
Unique identifier for a Component

Query parameters

localeIdstringOptional

Unique identifier for a specific Locale.

Lear more about localization.

branchIdstringOptionalformat: "objectid"
Scope the operation to work on a specific branch.
limitdoubleOptional

Maximum number of records to be returned (max limit: 100)

offsetdoubleOptional
Offset used for pagination if the results have more than limit records

Response

Request was successful
componentIdstring or null
Component ID
nodeslist of objects or null
paginationobject or null
Pagination object

Errors