Get Custom Code

GET

Get all registered scripts that have been applied to a specific Page. In order to use the Custom Code APIs for Sites and Pages, Custom Code Scripts must first be registered to a Site via the registered_scripts endpoints, and then applied to a Site or Page using the appropriate custom_code endpoints.

Access to this endpoint requires a bearer token from a Data Client App.
Required scope | custom_code:read

Path parameters

page_idstringRequired

Unique identifier for a Page

Response

Request was successful

scriptslist of objectsOptional

A list of scripts applied to a Site or a Page

lastUpdatedstringOptional

Date when the Site’s scripts were last updated

createdOnstringOptional

Date when the Site’s scripts were created

Errors