List Dynamic Content Profiles
const url = 'https://example.com/%7B%7Bapp_url%7D/api/v1/workspaces/1/dynamic_content_profiles?per=10&page=1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/%7B%7Bapp_url%7D/api/v1/workspaces/1/dynamic_content_profiles?per=10&page=1' \ --header 'Authorization: Bearer <token>'Retrieves the dynamic content profiles for the currently logged in user.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Workspace ID
Query Parameters
Section titled “Query Parameters”Number of records per page
Page number
Responses
Section titled “Responses”Successful
object
object
Optional. Stable key identifying the template engine preset applied to this profile’s conditional syntax.
Capability manifest describing the joiners, operators, and branch options allowed by this profile’s template engine preset. Null when no preset is set.
object
Supported joiner strings between conditions within a branch (e.g. “and”, “or”). Empty disallows compound conditions.
Map of value type (“string”, “number”, “boolean”) to the operators allowed for that type. Each operator declares whether it takes a value, so the UI picker knows whether to render a value input.
object
object
Wire identifier for the operator (e.g. “equals”, “is_empty”).
Whether this operator takes a value. When false, the UI picker hides the value input and the wire payload omits value.
object
Example
{ "results": [ { "id": "uuid TODO", "name": "Mailchimp Profile", "created_at": "2023-08-23T10:30:00.000Z", "updated_at": "2023-08-23T10:30:00.000Z", "organization_id": 12345, "template_engine_preset": "liquid", "template_engine_preset_schema": { "joiners": [ "and", "or" ], "operators_by_type": { "string": [ { "key": "equals", "requires_value": true }, { "key": "is_empty", "requires_value": false } ], "boolean": [ { "key": "equals", "requires_value": true } ] } } } ], "pagination": { "per": 10, "page": 1, "total": 100 }}