Skip to content

Add Dynamic Content endpoints to the Preview spec - #700

Merged
darragh-foley merged 3 commits into
mainfrom
darraghfoley/dynamic-content-api
Oct 8, 2026
Merged

darragh-foley merged 3 commits into
mainfrom
darraghfoley/dynamic-content-api

Conversation

@darragh-foley

Copy link
Copy Markdown
Contributor

Why?

The Dynamic Content API is available in the Preview version but isn't described in the spec yet.

How?

Adds the dynamic content list, create, retrieve, update and delete endpoints and their models to the Preview spec.

Generated with Claude Code

with it is ignored.
default: false
example: false
dynamic_content_create_request:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't see brand_id here 👀? Should it not be included in the create request here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brand_id is set per variation, not on the dynamic content, so one dynamic content can have an all-brands value plus overrides for specific brands. It's on dynamic_content_variation_request, which variations in the create request uses:

"variations": [
{ "locale": "en", "text_content": "+1-555-0100" },
{ "locale": "en", "brand_id": "42", "text_content": "+44 20 7946 0000" }
]

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@darragh-foley
darragh-foley requested a review from wehjey October 8, 2026 08:59
@darragh-foley
darragh-foley merged commit a7fdf0c into main Oct 8, 2026
4 checks passed
@darragh-foley
darragh-foley deleted the darraghfoley/dynamic-content-api branch October 8, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants