You can fetch a single dynamic content by its id.
Requires the read_dynamic_content or read_write_dynamic_content OAuth scope.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
- The production API serverhttps://api.intercom.io/dynamic_contents/{id}
- The european API serverhttps://api.eu.intercom.io/dynamic_contents/{id}
- The australian API serverhttps://api.au.intercom.io/dynamic_contents/{id}
curl -i -X GET \
https://api.intercom.io/dynamic_contents/123 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: Preview'Successful response
String representing the object's type. Always has the value dynamic_content.
The name of the dynamic content. Returned HTML-escaped, for example & as &.
The identifier that articles use to reference the dynamic content. Derived from the name when the dynamic content is created, and never changes.
Whether the dynamic content is a short inline value (inline) or one or more blocks of content (block).
The locale whose variation is used when there's no variation for the requested locale.
The variations of the dynamic content.
The time the dynamic content was created as a Unix timestamp.
{ "type": "dynamic_content", "id": "124", "name": "Refund policy", "key": "refund-policy", "content_type": "block", "default_locale": "en", "variations": [ { … }, { … } ], "created_at": 1663597223, "updated_at": 1663597223 }