Page card button text and custom URL
What's new
Two new optional fields are available on pages: button_text (the label shown on the page card button) and custom_url (a URL the card links to instead of the page itself). Both are nullable; button_text is capped at 100 characters and custom_url must be a valid URI.
Impact
You can now render a custom call-to-action button on a page card and route the click to an arbitrary URL — useful for promo cards that link to external campaigns or to a different in-app destination.
Changes
| Resource | Change |
|---|---|
| get_pages | Added optional button_text and custom_url to each item and its parent in the response |
| create_page | Added optional button_text and custom_url to the request and response |
| get_page | Added optional button_text and custom_url to the response (including parent) |
| update_page | Added optional button_text and custom_url to the request and response |
| bulk_update_page | Added optional button_text and custom_url to each item in the request and response |
| translate_page | Added optional button_text to the request and both fields to the response |
Upgrade
- No action required. Existing requests continue to work; populate the new fields only when you want a custom button label or a non-default link target on the page card.
需要技术支持?
联系我们的集成技术团队: [email protected]