The Content API is used for server-side personalization and other server-side content related functions.
In order to call the API you must have your Fresh Relevance Account ID.
To find this, in Fresh Relevance, expand the User menu and copy the Account ID value.
Endpoints
The API is available at your content serving domain.
To find this, expand the User menu, then go to Settings > System configuration > Custom domains and copy the domain from the Content Serving URL field, for example, c8.dycdn.net.
OAS / Swagger
Download OAS / Swagger specification
Authorization
You must have an API token key for the type Dynamic Content with at least the following area access:
- Read access
- content
- content server extensions
Learn more about creating and editing API access tokens.
The authorization for this API is passed using a query string parameter of k containing a valid Dynamic Content API access token.
Scoping
To ensure we scope the calls to the correct account/website you must pass your Account/Website ID in the path of each call to the API in the website_id
parameter.
Security
The API is served by HTTPS using TLS 1.2 or higher for security.