Retrieve the datalayer
Retrieves the Datalayer object for the current session. The datalayer can be used to provide contextual data when tracking user activity, for example providing values for 'User Attributes' in hotjar. The /blaize/profile endpoint is preferred for retrieving complete user profile information. <br /> All fields configured in the admin console will be resolved against the current session and returned. <br /> The top-level property in the response object defaults to 'dataLayer' and can be configured in the console under the data layer settings using the 'Data Layer Name' field. <br /> Data layer fields can be grouped by their 'Entity' as configured in the console. An example of the possible groupings is included.
Request
- Base URL: https://demo-site
- URL: https://demo-site/blaize/datalayer
- Auth: one of:
- API key in cookie blaize_session
- API key in query parameter jwt
- API key in header x-blaize-jwt
- API key in header x-zephr-jwt
- HTTP bearer
- API key in cookie blaize_jwt
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.