{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can update existing dynamic content. Only the fields you provide are changed.\n\nYou can also send this request with `PATCH`; it behaves the same as `PUT`.\n\nRequires the `read_write_dynamic_content` OAuth scope.\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"id":{"type":"string","examples":["123"],"description":"The unique identifier for the dynamic content."}},"required":["id"],"additionalProperties":false},"body":{"$ref":"#/definitions/dynamic_content_update_request","examples":[{"variations":[{"locale":"en","text_content":"+1-555-0199"},{"locale":"fr","text_content":"+33 1 23 45 67 89"}]}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"dynamic_content_update_request":{"title":"Update Dynamic Content Request","type":"object","description":"The request payload for updating dynamic content. All fields are optional — only provided fields are updated.","properties":{"name":{"type":"string","description":"The name of the dynamic content. Must be unique in the workspace. Renaming doesn't change the `key`.","maxLength":255,"examples":["Support phone number"]},"default_locale":{"type":"string","description":"The locale whose variation is used when there's no variation for the requested locale. The dynamic content must have a variation for this locale that applies to all brands.","examples":["en"]},"variations":{"type":"array","description":"The full set of variations. Existing variations that aren't included are deleted.","minItems":1,"items":{"$ref":"#/definitions/dynamic_content_variation_request"}}}},"dynamic_content_variation_request":{"title":"Dynamic Content Variation Request","type":"object","description":"A variation of a dynamic content. Provide `text_content` for inline dynamic content, or `body` for block dynamic content.","required":["locale"],"properties":{"locale":{"type":"string","description":"The locale of the variation. Each locale can appear once per brand.","examples":["en"]},"brand_id":{"type":["string","null"],"description":"The unique identifier for the brand the variation applies to. Omit for a variation that applies to all brands.","examples":["42"]},"text_content":{"type":"string","description":"The value of an inline variation.","examples":["+1-555-0100"]},"body":{"type":"string","description":"The content of a block variation in HTML.","examples":["<p>You can request a refund within 30 days of purchase.</p>"]},"intentionally_empty":{"type":"boolean","description":"Set to `true` to make the variation show nothing instead of falling back to the default content. Any `text_content` or `body` sent with it is ignored.","default":false,"examples":[false]}}}}},"name":"Update dynamic content","id":"intercom.updatedynamiccontent","example":{"path":{"id":"123"},"body":{}},"maxRequests":1,"summary":false}}