# Message Templates

{% hint style="warning" %}
Message Templates are referred to as channel templates through the API
{% endhint %}

## GET /workspaces/{workspaceId}/projects/{projectId}/channel-templates

> List channeltemplates in workspace

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"parameters":{"pagination.param.limit":{"description":"Limits the number of results to return.","in":"query","name":"limit","schema":{"default":25,"maximum":100,"type":"integer"}},"pagination.param.pageToken":{"description":"The cursor that keeps track of the current position in the results.","in":"query","name":"pageToken","schema":{"type":"string"}},"pagination.param.reverse":{"description":"Reverses the order in which the results are returned.","in":"query","name":"reverse","schema":{"default":false,"type":"boolean"}}},"schemas":{"ChannelTemplateList":{"type":"object","additionalProperties":false,"required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplate"}}}},"ChannelTemplate":{"type":"object","additionalProperties":false,"required":["id","projectId","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"localeStatuses":{"type":"object","additionalProperties":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]}},"platformInfo":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PlatformState"}},"description":{"type":"string"},"defaultLocale":{"$ref":"#/components/schemas/standard.locale.messaging"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateAsset"}},"styles":{"type":"array","items":{"$ref":"#/components/schemas/Style"}},"deployments":{"type":"array","items":{"$ref":"#/components/schemas/Deployment"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateVariables"}},"genericContent":{"type":"array","items":{"$ref":"#/components/schemas/GenericContent"}},"platformContent":{"type":"array","items":{"$ref":"#/components/schemas/PlatformContent"}},"supportedPlatforms":{"$ref":"#/components/schemas/PlatformList"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"isCloneable":{"type":"boolean"},"editorId":{"type":"string","format":"uuid"},"editorType":{"type":"string"},"publisherId":{"type":"string","format":"uuid","description":"The ID of the user that last published this ChannelTemplate."},"publisherType":{"type":"string","format":"string"},"shortLinks":{"type":"object","nullable":true,"items":{"$ref":"#/components/schemas/ShortLinks"}},"clonedFrom":{"type":"string","nullable":true,"format":"uuid","description":"The ID of the template that this template was cloned from. This field is only present if this template was cloned  from another template.\n"},"metrics":{"type":"object","description":"Metrics for this template."},"reviewInfo":{"$ref":"#/components/schemas/common.review.info"}}},"PlatformState":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"category":{"type":"string"},"qualityRating":{"type":"string","default":"UNKNOWN","description":"Quality rating for WhatsApp templates (GREEN, YELLOW, RED, UNKNOWN)"}}},"standard.locale.messaging":{"description":"Curated set of BCP47 locale identifiers supported by Bird messaging products","enum":["ae-AZ","af","ar","ar-AZ","ar-EG","ar-ID","ar-UA","az","az-AZ","bg","bg-BG","bn","bn-MY","bn-SG","ca","cs","cs-CZ","da","da-DK","de","de-AT","de-CH","de-DE","de-LI","de-LU","ee-GH","el","el-CY","el-GR","en","en-AE","en-AF","en-AG","en-AL","en-AR","en-AS","en-AT","en-AU","en-AW","en-AZ","en-BA","en-BB","en-BD","en-BE","en-BF","en-BG","en-BH","en-BJ","en-BN","en-BO","en-BR","en-BS","en-BW","en-BY","en-BZ","en-CA","en-CD","en-CG","en-CH","en-CI","en-CL","en-CM","en-CN","en-CO","en-CY","en-CZ","en-DE","en-DK","en-DM","en-DO","en-EC","en-EG","en-ES","en-FI","en-FJ","en-FR","en-GB","en-GD","en-GE","en-GH","en-GI","en-GM","en-GR","en-GY","en-HK","en-HR","en-HT","en-HU","en-ID","en-IE","en-IL","en-IN","en-IQ","en-IS","en-IT","en-JM","en-JO","en-JP","en-KE","en-KH","en-KN","en-KR","en-KW","en-KY","en-KZ","en-LA","en-LB","en-LT","en-LV","en-MD","en-MK","en-MM","en-MS","en-MT","en-MV","en-MX","en-MY","en-NG","en-NL","en-NO","en-NP","en-NZ","en-OM","en-PA","en-PE","en-PG","en-PH","en-PK","en-PL","en-PS","en-PT","en-PY","en-QA","en-RO","en-RU","en-RW","en-SA","en-SB","en-SD","en-SE","en-SG","en-SI","en-SK","en-SN","en-SR","en-SS","en-TC","en-TH","en-TN","en-TO","en-TR","en-TT","en-TW","en-UG","en-US","en-UY","en-VC","en-VE","en-VG","en-VN","en-WS","en-YE","en-ZA","en-ZW","es","es-AR","es-BO","es-BR","es-CL","es-CO","es-CR","es-DO","es-EC","es-ES","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PY","es-SV","es-US","es-UY","es-VE","et","et-EE","fa","fi","fi-FI","fil","fr","fr-AE","fr-BE","fr-BF","fr-BJ","fr-CA","fr-CD","fr-CG","fr-CH","fr-CI","fr-CM","fr-FR","fr-GA","fr-GF","fr-LU","fr-MA","fr-MF","fr-MG","fr-ML","fr-NL","fr-PT","fr-SN","fr-TG","ga","gu","ha","he","hi","hi-MY","hi-SG","hr","hr-HR","ht-DO","hu","hu-HU","id","id-HK","id-ID","id-JP","id-SG","it","it-AE","it-BE","it-CH","it-IT","ja","ja-JP","ka","kk","kn","ko","ky-KG","lo","lt","lt-LT","lv","lv-LV","mk","ml","mr","ms","ms-MY","my-JP","my-MY","my-SG","nb","ne-JP","nl","nl-BE","nl-NL","no-NO","pa","pl","pl-PL","pt","pt-AO","pt-BR","pt-PT","ro","ro-MD","ro-RO","ru","ru-BY","ru-KZ","ru-RO","ru-RU","rw-RW","sk","sk-SK","sl","sl-SI","sq","sq-AL","sr","sr-RS","sv","sv-SE","sw","ta","ta-MY","ta-SG","te","th","th-SG","th-TH","tk-TM","tr","tr-TR","uk","uk-UA","ur","uz","uz-UZ","vi","vi-JP","vi-MY","vi-US","zh-CN","zh-HK","zh-JP","zh-SG","zh-TW","zu"],"type":"string"},"ChannelTemplateAsset":{"title":"ChannelTemplateAsset","oneOf":[{"type":"object","properties":{"key":{"type":"string","enum":["logoUrl"]},"isDefault":{"type":"boolean"},"valueString":{"type":"string"}}}]},"Style":{"oneOf":[{"$ref":"#/components/schemas/ValueString"},{"$ref":"#/components/schemas/ValueStringArray"},{"$ref":"#/components/schemas/ValueConfigurationPair"},{"$ref":"#/components/schemas/ValueConfigurationPairArray"},{"$ref":"#/components/schemas/ValueBoolean"},{"$ref":"#/components/schemas/ValueBooleanArray"},{"$ref":"#/components/schemas/ValueFloat"},{"$ref":"#/components/schemas/ValueFloatArray"},{"$ref":"#/components/schemas/ValueInteger"},{"$ref":"#/components/schemas/ValueIntegerArray"}]},"ValueString":{"type":"object","additionalProperties":false,"required":["key","valueString"],"properties":{"key":{"type":"string"},"valueString":{"type":"string"},"isDefault":{"type":"boolean","nullable":true}}},"ValueStringArray":{"type":"object","additionalProperties":false,"required":["key","valueStringArray"],"properties":{"key":{"type":"string"},"valueStringArray":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPair":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPair"],"properties":{"key":{"type":"string"},"valueConfigurationPair":{"type":"object","additionalProperties":true},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPairArray":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPairArray"],"properties":{"key":{"type":"string"},"valueConfigurationPairArray":{"type":"array","items":{"type":"object","additionalProperties":true}},"isDefault":{"type":"boolean","nullable":true}}},"ValueBoolean":{"type":"object","additionalProperties":false,"required":["key","valueBoolean"],"properties":{"key":{"type":"string"},"valueBoolean":{"type":"boolean"},"isDefault":{"type":"boolean","nullable":true}}},"ValueBooleanArray":{"type":"object","additionalProperties":false,"required":["key","valueBooleanArray"],"properties":{"key":{"type":"string"},"valueBooleanArray":{"type":"array","items":{"type":"boolean"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloat":{"type":"object","additionalProperties":false,"required":["key","valueFloat"],"properties":{"key":{"type":"string"},"floatValue":{"type":"number","format":"float"},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloatArray":{"type":"object","additionalProperties":false,"required":["key","valueFloatArray"],"properties":{"key":{"type":"string"},"floatValueArray":{"type":"array","items":{"type":"number","format":"float"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueInteger":{"type":"object","additionalProperties":false,"required":["key","valueInteger"],"properties":{"key":{"type":"string"},"valueInteger":{"type":"number"},"isDefault":{"type":"boolean","nullable":true}}},"ValueIntegerArray":{"type":"object","additionalProperties":false,"required":["key","valueIntegerArray"],"properties":{"key":{"type":"string"},"valueIntegerArray":{"type":"array","items":{"type":"number"}},"isDefault":{"type":"boolean","nullable":true}}},"Deployment":{"type":"object","additionalProperties":false,"required":["key","value"],"properties":{"key":{"type":"string","enum":["whatsappCategory","whatsappTemplateName","whatsappAllowCategoryChange","whatsappMessageSendTTLSeconds"],"minLength":1},"value":{"type":"string","minLength":1},"locale":{"type":"string","nullable":true,"description":"This property is deprecated, please use platformContent locale instead."},"platform":{"type":"string","nullable":true},"channelIds":{"type":"array","nullable":true,"description":"List of channel ids to which this deployment is applied. this property is deprecated, please use platformContent channelIds instead.","deprecated":true,"items":{"type":"string","format":"uuid"}}}},"ChannelTemplateVariables":{"type":"object","title":"ChannelTemplateVariables","additionalProperties":false,"required":["key","type"],"properties":{"key":{"type":"string","pattern":"^[A-Za-z0-9._-]+$"},"description":{"type":"string","maxLength":255},"type":{"type":"string","enum":["string","sectionList","timeslotList","systemVariable","productList","productSections","shippingMethodList","shortLink","whatsappProductSections","lineItemList","whatsappProductItems","carouselCards","appleFormPageItems"]},"format":{"type":"string","default":"none","enum":["none"]},"sourceUrl":{"type":"object","properties":{"fullyReplaced":{"type":"boolean"},"value":{"type":"string"}},"required":["fullyReplaced","value"]},"characterLimit":{"type":"integer","nullable":true,"minimum":1,"maximum":160},"examplesLocale":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"exampleValueStrings":{"nullable":true,"type":"array","items":{"type":"string"}},"exampleValues":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.sections"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.product"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"productSections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"lineItems":{"$ref":"#/components/schemas/touchpoints.apple.line_items"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"cards":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"items":{"$ref":"#/components/schemas/touchpoints.apple.form.page_items"}}}}]}}}}}},"touchpoints.sections":{"items":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.reply_action"},"type":"array"},"multipleSelection":{"type":"boolean"},"title":{"type":"string"}},"required":["title","items"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.reply_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"replyAction":{"properties":{"imageUrl":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"role":{"type":"string"},"type":{"enum":["reply-action"],"type":"string"}},"required":["type","replyAction"],"type":"object"},"touchpoints.timeslots":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"id":{"nullable":true,"type":"string"},"startTime":{"format":"date-time","type":"string"}},"required":["startTime","duration"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"product":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"externalProductId":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product"],"type":"string"}},"required":["type","product"],"type":"object"},"touchpoints.product.sections.object":{"items":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.product.object"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product.object":{"additionalProperties":false,"properties":{"externalProductId":{"nullable":false,"type":"string"}},"required":["externalProductId"],"type":"object"},"touchpoints.apple.shipping_methods":{"items":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"detail":{"type":"string"},"identifier":{"type":"string"},"label":{"type":"string"}},"required":["amount","label","identifier","detail"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.whatsapp.product.section":{"additionalProperties":false,"description":"A WhatsApp specific product section block used for grouping products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-section"],"type":"string"},"whatsappProductSection":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"}},"required":["type","whatsappProductSection"],"type":"object"},"touchpoints.whatsapp.product.item":{"additionalProperties":false,"description":"A product block used for WhatsApp product.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-item"],"type":"string"},"whatsappProductItem":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"required":["type","whatsappProductItem"],"type":"object"},"touchpoints.apple.line_items":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"nullable":true,"type":"array"},"touchpoints.apple.line_item":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"id":{"nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"required":["amount","text"],"type":"object"},"touchpoints.whatsapp.carousel.card":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel-card"],"type":"string"},"whatsappCarouselCard":{"additionalProperties":false,"properties":{"actions":{"description":"Approved templates support up to 2 actions per card (link-action, reply-action, or call-phone-number-action). Session carousels only support one CTA URL button per card (enforced at runtime).","items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":2,"minItems":1,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["header","body","actions"],"type":"object"}},"required":["type","whatsappCarouselCard"],"type":"object"},"touchpoints.link_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"linkAction":{"properties":{"text":{"type":"string"},"url":{"anyOf":[{"pattern":"{{[^{}]+}}","type":"string"},{"format":"uri","type":"string"}]}},"required":["text","url"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["link-action"],"type":"string"}},"required":["type","linkAction"],"type":"object"},"touchpoints.action.call_phone_number":{"additionalProperties":false,"properties":{"callPhoneNumberAction":{"additionalProperties":false,"properties":{"phoneNumber":{"maxLength":20,"minLength":1,"type":"string"},"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text","phoneNumber"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["call-phone-number-action"],"type":"string"}},"required":["type","callPhoneNumberAction"],"type":"object"},"touchpoints.text":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"text":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},"touchpoints.image":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"image":{"additionalProperties":false,"properties":{"altText":{"description":"altText with image headers is not supported. If passed, it will default to a footer instead","type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["image"],"type":"string"}},"required":["type","image"],"type":"object"},"touchpoints.file":{"additionalProperties":false,"properties":{"file":{"additionalProperties":false,"properties":{"altText":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl","contentType"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["file"],"type":"string"}},"required":["type","file"],"type":"object"},"touchpoints.apple.form.page_items":{"items":{"additionalProperties":false,"properties":{"identifier":{"description":"Unique identifier for the item.","type":"string"},"imageUrl":{"description":"Optional image URL for the item.","nullable":true,"type":"string"},"nextPageIdentifier":{"description":"Identifier of the next page to navigate to when this item is selected.","nullable":true,"type":"string"},"title":{"description":"Display label shown to the user.","type":"string"},"value":{"description":"Value submitted when the item is selected.","type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"GenericContent":{"type":"object","required":["blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}}}},"touchpoints.block":{"allOf":[{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"maxLength":100,"nullable":true,"type":"string"},"role":{"type":"string"},"type":{"enum":["action","carousel","list","file","html","image","location","text","layout","link-action","reply-action","authentication-body","authentication-action","apple-rich-link","apple-list-picker","apple-time-picker","apple-form","apple-apple-pay","apple-authentication","apple-quick-reply","apple-i-message","product","product-list","product-sections","multi-product-action","copy-code-action","call-phone-number-action","voice-call-action","open-catalog-action","limited-time-offer","whatsapp-catalog","whatsapp-product","whatsapp-product-list","whatsapp-coupon","whatsapp-multi-product","whatsapp-carousel","whatsapp-carousel-card","whatsapp-limited-time-offer","whatsapp-flow-action","whatsapp-product-item","whatsapp-flow","push-notifications-message","whatsapp-product-sections","whatsapp-product-section","rcs-basic-text","rcs-rich-card","rcs-carousel","rcs-rich-message","whatsapp-product-items","app-inbox-message"],"type":"string"}},"required":["type"],"type":"object"},{"discriminator":{"mapping":{"action":"#/components/schemas/touchpoints.action","app-inbox-message":"#/components/schemas/touchpoints.app_inbox.message","apple-apple-pay":"#/components/schemas/touchpoints.apple.pay","apple-authentication":"#/components/schemas/touchpoints.apple.authentication","apple-form":"#/components/schemas/touchpoints.apple.form","apple-i-message":"#/components/schemas/touchpoints.apple.imessage","apple-list-picker":"#/components/schemas/touchpoints.apple.list_picker","apple-quick-reply":"#/components/schemas/touchpoints.apple.quick_reply","apple-rich-link":"#/components/schemas/touchpoints.apple.rich_link","apple-time-picker":"#/components/schemas/touchpoints.apple.time_picker","authentication-action":"#/components/schemas/touchpoints.authentication.action","authentication-body":"#/components/schemas/touchpoints.authentication.body","call-phone-number-action":"#/components/schemas/touchpoints.action.call_phone_number","carousel":"#/components/schemas/touchpoints.carousel","copy-code-action":"#/components/schemas/touchpoints.action.copy_code","file":"#/components/schemas/touchpoints.file","html":"#/components/schemas/touchpoints.html","image":"#/components/schemas/touchpoints.image","layout":"#/components/schemas/touchpoints.layout","limited-time-offer":"#/components/schemas/touchpoints.limited_time_offer","link-action":"#/components/schemas/touchpoints.link_action","list":"#/components/schemas/touchpoints.list","location":"#/components/schemas/touchpoints.location","multi-product-action":"#/components/schemas/touchpoints.action.multi_product","open-catalog-action":"#/components/schemas/touchpoints.action.open_catalog","product":"#/components/schemas/touchpoints.product","product-list":"#/components/schemas/touchpoints.product.list","product-sections":"#/components/schemas/touchpoints.product.sections","push-notifications-message":"#/components/schemas/touchpoints.push_notification.message","rcs-basic-text":"#/components/schemas/touchpoints.rcs.basic_text","rcs-carousel":"#/components/schemas/touchpoints.rcs.carousel","rcs-rich-card":"#/components/schemas/touchpoints.rcs.rich_card","rcs-rich-message":"#/components/schemas/touchpoints.rcs.rich_message","reply-action":"#/components/schemas/touchpoints.reply_action","text":"#/components/schemas/touchpoints.text","voice-call-action":"#/components/schemas/touchpoints.action.voice_call","whatsapp-carousel":"#/components/schemas/touchpoints.whatsapp.carousel","whatsapp-carousel-card":"#/components/schemas/touchpoints.whatsapp.carousel.card","whatsapp-catalog":"#/components/schemas/touchpoints.whatsapp.catalog","whatsapp-coupon":"#/components/schemas/touchpoints.whatsapp.coupon","whatsapp-flow":"#/components/schemas/touchpoints.whatsapp.flow","whatsapp-flow-action":"#/components/schemas/touchpoints.whatsapp.flow.action","whatsapp-limited-time-offer":"#/components/schemas/touchpoints.whatsapp.limited_time_offer","whatsapp-multi-product":"#/components/schemas/touchpoints.whatsapp.multi_product","whatsapp-product":"#/components/schemas/touchpoints.whatsapp.product","whatsapp-product-item":"#/components/schemas/touchpoints.whatsapp.product.item","whatsapp-product-items":"#/components/schemas/touchpoints.whatsapp.product.items","whatsapp-product-list":"#/components/schemas/touchpoints.whatsapp.product.list","whatsapp-product-section":"#/components/schemas/touchpoints.whatsapp.product.section","whatsapp-product-sections":"#/components/schemas/touchpoints.whatsapp.product.sections"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.carousel"},{"$ref":"#/components/schemas/touchpoints.list"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.html"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.location"},{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.layout"},{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.authentication.body"},{"$ref":"#/components/schemas/touchpoints.authentication.action"},{"$ref":"#/components/schemas/touchpoints.apple.rich_link"},{"$ref":"#/components/schemas/touchpoints.apple.list_picker"},{"$ref":"#/components/schemas/touchpoints.apple.time_picker"},{"$ref":"#/components/schemas/touchpoints.apple.form"},{"$ref":"#/components/schemas/touchpoints.apple.pay"},{"$ref":"#/components/schemas/touchpoints.apple.authentication"},{"$ref":"#/components/schemas/touchpoints.apple.quick_reply"},{"$ref":"#/components/schemas/touchpoints.apple.imessage"},{"$ref":"#/components/schemas/touchpoints.product"},{"$ref":"#/components/schemas/touchpoints.product.list"},{"$ref":"#/components/schemas/touchpoints.product.sections"},{"$ref":"#/components/schemas/touchpoints.action.multi_product"},{"$ref":"#/components/schemas/touchpoints.action.copy_code"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"},{"$ref":"#/components/schemas/touchpoints.action.voice_call"},{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.catalog"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.list"},{"$ref":"#/components/schemas/touchpoints.whatsapp.coupon"},{"$ref":"#/components/schemas/touchpoints.whatsapp.multi_product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},{"$ref":"#/components/schemas/touchpoints.whatsapp.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow"},{"$ref":"#/components/schemas/touchpoints.push_notification.message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},{"$ref":"#/components/schemas/touchpoints.rcs.basic_text"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_card"},{"$ref":"#/components/schemas/touchpoints.rcs.carousel"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.app_inbox.message"}]}],"type":"object"},"touchpoints.action":{"properties":{"action":{"$ref":"#/components/schemas/channels.messages.actions.action"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["action"],"type":"string"}},"required":["type","action"],"type":"object"},"channels.messages.actions.action":{"discriminator":{"mapping":{"buy":"#/components/schemas/channels.messages.actions.action__variant__buy","link":"#/components/schemas/channels.messages.actions.action__variant__link","locationRequest":"#/components/schemas/channels.messages.actions.action__variant__locationRequest","postback":"#/components/schemas/channels.messages.actions.action__variant__postback","reply":"#/components/schemas/channels.messages.actions.action__variant__reply"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/channels.messages.actions.action__variant__link"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__reply"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__locationRequest"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__buy"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__postback"}]},"channels.messages.actions.action__variant__link":{"properties":{"link":{"$ref":"#/components/schemas/channels.messages.actions.link"},"type":{"enum":["link"],"type":"string"}},"required":["link","type"],"type":"object"},"channels.messages.actions.link":{"properties":{"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_link"},"text":{"type":"string"},"url":{"type":"string"}},"required":["text","url"],"type":"object"},"channels.messages.metadata.action_link":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.metadata.action_description":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"},"channels.messages.actions.action__variant__reply":{"properties":{"reply":{"$ref":"#/components/schemas/channels.messages.actions.reply"},"type":{"enum":["reply"],"type":"string"}},"required":["reply","type"],"type":"object"},"channels.messages.actions.reply":{"properties":{"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_reply"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.metadata.action_reply":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.actions.action__variant__locationRequest":{"properties":{"locationRequest":{"$ref":"#/components/schemas/channels.messages.actions.location_request"},"type":{"enum":["locationRequest"],"type":"string"}},"required":["type"],"type":"object"},"channels.messages.actions.location_request":{"properties":{"text":{"type":"string"}},"type":"object"},"channels.messages.actions.action__variant__buy":{"properties":{"buy":{"$ref":"#/components/schemas/channels.messages.actions.buy"},"type":{"enum":["buy"],"type":"string"}},"required":["buy","type"],"type":"object"},"channels.messages.actions.buy":{"properties":{"amountCents":{"format":"int64","type":"integer"},"currency":{"type":"string"},"text":{"type":"string"}},"required":["text","amountCents","currency"],"type":"object"},"channels.messages.actions.action__variant__postback":{"properties":{"postback":{"$ref":"#/components/schemas/channels.messages.actions.postback"},"type":{"enum":["postback"],"type":"string"}},"required":["postback","type"],"type":"object"},"channels.messages.actions.postback":{"properties":{"handshake":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake"},"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_postback"},"otpType":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.actions.postback_handshake":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"},"supportedApps":{"items":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake_supported_app"},"type":"array"},"text":{"type":"string"},"zeroTapTermsAccepted":{"type":"boolean"}},"required":["text","packageName","signatureHash","zeroTapTermsAccepted"],"type":"object"},"channels.messages.actions.postback_handshake_supported_app":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"channels.messages.metadata.action_postback":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"touchpoints.carousel":{"additionalProperties":false,"properties":{"carousel":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"}},"required":["items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["carousel"],"type":"string"}},"required":["type","carousel"],"type":"object"},"touchpoints.item":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"mediaUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.list":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"list":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"},"text":{"type":"string"},"title":{"type":"string"}},"required":["items"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["list"],"type":"string"}},"required":["type","list"],"type":"object"},"touchpoints.html":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"html":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["html"],"type":"string"}},"required":["type","html"],"type":"object"},"touchpoints.location":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["location"],"type":"string"}},"required":["type","location"],"type":"object"},"touchpoints.layout":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"layout":{"additionalProperties":false,"properties":{"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.text"}]},"maxItems":4,"minItems":1,"type":"array"},"layout":{"enum":["left","center","right"],"type":"string"}},"required":["layout","blocks"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["layout"],"type":"string"}},"required":["type","layout"],"type":"object"},"touchpoints.authentication.body":{"additionalProperties":false,"description":"An authentication body block used for authentication templates.","properties":{"authenticationBody":{"additionalProperties":false,"properties":{"addSecurityDisclaimer":{"description":"Whether to add a security disclaimer to the authentication body.","nullable":false,"type":"boolean"},"expirationTime":{"description":"The number of seconds after which the authentication body will expire. If not set, no expiration notification will be sent.","maximum":90,"minimum":1,"nullable":true,"type":"integer"},"messageSendTtlSeconds":{"description":"The number of seconds after which the message will expire. If not set, the message will not expire.","maximum":86400,"minimum":1,"nullable":true,"type":"integer"}},"required":["addSecurityDisclaimer"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-body"],"type":"string"}},"required":["type","authenticationBody"],"type":"object"},"touchpoints.authentication.action":{"additionalProperties":false,"description":"An authentication action block used for authentication templates.","properties":{"authenticationAction":{"additionalProperties":false,"properties":{"oneTap":{"additionalProperties":false,"description":"The one-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"androidPackageName":{"description":"The Android package name of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"},"androidSignatureHash":{"description":"The Android signature hash of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"}},"required":["androidPackageName","androidSignatureHash"],"type":"object"},"zeroTap":{"additionalProperties":false,"description":"The zero-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"supportedApps":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.supported_app"},"type":"array"},"zeroTapTermsAccepted":{"description":"Indicates if the user has accepted the terms and conditions for zero-tap authentication.\n","nullable":false,"type":"boolean"}},"required":["supportedApps"],"type":"object"}},"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.whatsapp.supported_app":{"additionalProperties":false,"properties":{"packageName":{"description":"The package name of the app that will be used for authentication.\n","nullable":false,"type":"string"},"signatureHash":{"description":"The signature hash of the app that will be used for authentication.\n","nullable":false,"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"touchpoints.apple.rich_link":{"additionalProperties":false,"description":"An apple rich link block.","properties":{"appleRichLink":{"additionalProperties":false,"properties":{"imageUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"url":{"format":"uri","nullable":false,"type":"string"},"videoUrl":{"format":"uri","nullable":true,"type":"string"}},"required":["url","title"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-rich-link"],"type":"string"}},"required":["type","appleRichLink"],"type":"object"},"touchpoints.apple.list_picker":{"additionalProperties":false,"properties":{"appleListPicker":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"sectionList":{"$ref":"#/components/schemas/touchpoints.section_list"}},"required":["receivedMessage","replyMessage","sectionList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-list-picker"],"type":"string"}},"required":["type","appleListPicker"],"type":"object"},"touchpoints.apple.display_message":{"additionalProperties":false,"properties":{"imageSubtitle":{"type":"string"},"imageTitle":{"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"secondaryTitle":{"type":"string"},"style":{"enum":["icon","small","large"],"type":"string"},"subtitle":{"type":"string"},"tertiaryTitle":{"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.section_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"sections":{"$ref":"#/components/schemas/touchpoints.sections"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.time_picker":{"additionalProperties":false,"properties":{"appleTimePicker":{"additionalProperties":false,"properties":{"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"timeslotList":{"$ref":"#/components/schemas/touchpoints.timeslot_list"},"timezoneOffset":{"pattern":"^[A-Za-z]+/[A-Za-z_]+$","type":"string"}},"required":["receivedMessage","replyMessage","timeslotList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-time-picker"],"type":"string"}},"required":["type","appleTimePicker"],"type":"object"},"touchpoints.timeslot_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.form":{"additionalProperties":false,"properties":{"appleForm":{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"pages":{"items":{"additionalProperties":false,"properties":{"hintText":{"type":"string"},"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"imageUrl":{"type":"string"},"nextPageIdentifier":{"type":"string"},"title":{"type":"string"},"value":{"type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"itemsListingType":{"enum":["static","dynamic"],"type":"string"},"itemsParameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"multipleSelection":{"type":"boolean"},"nextPageIdentifier":{"type":"string"},"options":{"additionalProperties":false,"properties":{"dateFormat":{"type":"string"},"inputType":{"type":"string"},"keyboardType":{"type":"string"},"maximumCharacterCount":{"oneOf":[{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},{"pattern":"^[0-9]+$","type":"string"},{"pattern":"^$","type":"string"}]},"maximumDate":{"type":"string"},"minimumDate":{"type":"string"},"required":{"type":"boolean"},"startDate":{"type":"string"}},"type":"object"},"pageIdentifier":{"type":"string"},"pickerTitle":{"type":"string"},"submitForm":{"type":"boolean"},"subtitle":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"}},"required":["pageIdentifier","type"],"type":"object"},"type":"array"},"showSummary":{"type":"boolean"},"splash":{"additionalProperties":false,"properties":{"buttonTitle":{"type":"string"},"header":{"type":"string"},"imageUrl":{"type":"string"},"splashText":{"type":"string"}},"required":["header","splashText","buttonTitle"],"type":"object"},"startPageIdentifier":{"type":"string"}},"required":["splash","pages"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage","data"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-form"],"type":"string"}},"required":["type","appleForm"],"type":"object"},"touchpoints.apple.pay":{"additionalProperties":false,"properties":{"appleApplePay":{"additionalProperties":false,"properties":{"currencyCode":{"type":"string"},"lineItemList":{"$ref":"#/components/schemas/touchpoints.apple.line_item_list"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"requiredBillingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"requiredShippingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"shippingMethodList":{"$ref":"#/components/schemas/touchpoints.apple.shipping_method_list"},"totalCost":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"nullable":true,"type":"string"}},"type":"object"}},"required":["receivedMessage","lineItemList","totalCost","currencyCode"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-apple-pay"],"type":"string"}},"required":["type","appleApplePay"],"type":"object"},"touchpoints.apple.line_item_list":{"oneOf":[{"additionalProperties":false,"properties":{"lineItems":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"type":"array"},"parameterKey":{"type":"string"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","lineItems"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.apple.shipping_method_list":{"additionalProperties":false,"nullable":true,"properties":{"parameterKey":{"type":"string"},"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.authentication":{"additionalProperties":false,"properties":{"appleAuthentication":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-authentication"],"type":"string"}},"required":["type","appleAuthentication"],"type":"object"},"touchpoints.apple.quick_reply":{"additionalProperties":false,"properties":{"appleQuickReply":{"additionalProperties":false,"properties":{"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"}},"required":["identifier","title"],"type":"object"},"maxItems":5,"minItems":1,"type":"array"},"summary":{"type":"string"}},"required":["summary","items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-quick-reply"],"type":"string"}},"required":["type","appleQuickReply"],"type":"object"},"touchpoints.apple.imessage":{"additionalProperties":false,"properties":{"appleIMessage":{"additionalProperties":false,"properties":{"appId":{"type":"string"},"appName":{"type":"string"},"bid":{"type":"string"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"url":{"type":"string"},"useLiveLayout":{"type":"boolean"}},"required":["appId","appName","receivedMessage","url","bid","useLiveLayout"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-i-message"],"type":"string"}},"required":["type","appleIMessage"],"type":"object"},"touchpoints.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productList":{"$ref":"#/components/schemas/touchpoints.product.list.object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-list"],"type":"string"}},"required":["id","type","productList"],"type":"object"},"touchpoints.product.list.object":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.product"},"type":"array"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.product.sections":{"additionalProperties":false,"description":"A product sectioned list block used for commerce product sectioned listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-sections"],"type":"string"}},"required":["type","productSections"],"type":"object"},"touchpoints.action.multi_product":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"multiProductAction":{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"productList":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"productSections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"thumbnailExternalProductId":{"type":"string"}},"required":["parameterKey"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["multi-product-action"],"type":"string"}},"required":["type","multiProductAction"],"type":"object"},"touchpoints.action.copy_code":{"additionalProperties":false,"properties":{"copyCodeAction":{"additionalProperties":false,"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["copy-code-action"],"type":"string"}},"required":["type","copyCodeAction"],"type":"object"},"touchpoints.action.voice_call":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["voice-call-action"],"type":"string"},"voiceCallAction":{"additionalProperties":false,"properties":{"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}},"required":["type","voiceCallAction"],"type":"object"},"touchpoints.action.open_catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"openCatalogAction":{"additionalProperties":false,"properties":{"thumbnail":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["open-catalog-action"],"type":"string"}},"required":["type","openCatalogAction"],"type":"object"},"touchpoints.limited_time_offer":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"limitedTimeOffer":{"additionalProperties":false,"properties":{"expiresAt":{"nullable":true,"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["limited-time-offer"],"type":"string"}},"required":["type","limitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-catalog"],"type":"string"},"whatsappCatalog":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["body","action"],"type":"object"}},"required":["type","whatsappCatalog"],"type":"object"},"touchpoints.whatsapp.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product"],"type":"string"},"whatsappProduct":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"product":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}},"type":"object"}},"required":["type","whatsappProduct"],"type":"object"},"touchpoints.whatsapp.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-list"],"type":"string"},"whatsappProductList":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"},"products":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"}]}},"required":["header","body","products"],"type":"object"}},"required":["type","whatsappProductList"],"type":"object"},"touchpoints.whatsapp.product.items":{"additionalProperties":false,"description":"A list of WhatsApp products.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-items"],"type":"string"},"whatsappProductItems":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductItems"],"type":"object"},"touchpoints.whatsapp.product.sections":{"additionalProperties":false,"description":"A WhatsApp specific product sectioned list block used for showing products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-sections"],"type":"string"},"whatsappProductSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductSections"],"type":"object"},"touchpoints.whatsapp.coupon":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-coupon"],"type":"string"},"whatsappCoupon":{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":9,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["body","couponAction"],"type":"object"}},"required":["type","whatsappCoupon"],"type":"object"},"touchpoints.whatsapp.multi_product":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-multi-product"],"type":"string"},"whatsappMultiProduct":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.multi_product"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["header","body","action"],"type":"object"}},"required":["type","whatsappMultiProduct"],"type":"object"},"touchpoints.whatsapp.carousel":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel"],"type":"string"},"whatsappCarousel":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"cards":{"description":"Static card definitions. For hybrid mode, these are first cards followed by dynamic cards.","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},"maxItems":10,"minItems":0,"type":"array"},"cardsParameterKey":{"description":"Parameter key for dynamic cards. Required when cardsType is dynamic or hybrid.","type":"string"},"cardsType":{"description":"Type of cards - static (all inline), dynamic (all from parameter), or hybrid (static + dynamic appended). Defaults to static.","enum":["static","dynamic","hybrid"],"type":"string"}},"required":["body"],"type":"object"}},"required":["type","whatsappCarousel"],"type":"object"},"touchpoints.whatsapp.limited_time_offer":{"additionalProperties":false,"description":"A limited-time offer block to display messages with expiration date, countdown and promotional codes.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-limited-time-offer"],"type":"string"},"whatsappLimitedTimeOffer":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]},"limitedTimeOffer":{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},"linkAction":{"$ref":"#/components/schemas/touchpoints.link_action"}},"required":["body","limitedTimeOffer","linkAction"],"type":"object"}},"required":["type","whatsappLimitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.flow.action":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow-action"],"type":"string"},"whatsappFlowAction":{"oneOf":[{"additionalProperties":false,"properties":{"actionPayload":{"additionalProperties":false,"properties":{"data":{"additionalProperties":true,"nullable":true,"type":"object"},"screen":{"type":"string"}},"type":"object"},"actionType":{"enum":["navigate"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"},{"additionalProperties":false,"properties":{"actionType":{"enum":["data_exchange"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"}]}},"required":["type","whatsappFlowAction"],"type":"object"},"touchpoints.whatsapp.flow":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow"],"type":"string"},"whatsappFlow":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.text"}]}},"required":["body","action"],"type":"object"}},"required":["type","whatsappFlow"],"type":"object"},"touchpoints.push_notification.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"pushNotificationsMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customConfiguration":{"additionalProperties":false,"properties":{"apns":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customCategory":{"type":"string"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"firebase":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"web":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"}},"type":"object"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subtitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"required":["tapAction"],"type":"object"}},"required":["v1"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["push-notifications-message"],"type":"string"}},"required":["type","pushNotificationsMessage"],"type":"object"},"touchpoints.push_notification_action":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"},"type":{"enum":["OPEN_APP","URL","DEEP_LINK"],"type":"string"},"uri":{"format":"uri","type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.basic_text":{"additionalProperties":false,"description":"Block structure for RCS Basic Text. Supports up to 160 UTF-8 characters.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsBasicText":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-basic-text"],"type":"string"}},"required":["type","rcsBasicText"],"type":"object"},"touchpoints.rcs.rich_card":{"additionalProperties":false,"description":"A product block used for RCS Rich cards.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichCard":{"additionalProperties":false,"properties":{"card":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"orientation":{"enum":["vertical","horizontal"],"type":"string"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"thumbnailImageAlignment":{"enum":["left","right"],"type":"string"}},"required":["orientation","thumbnailImageAlignment","card"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-card"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.card":{"additionalProperties":false,"description":"A a RCS card used in RCS Carousel or as a standalone card","properties":{"description":{"type":"string"},"id":{"type":"string"},"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":4,"type":"array"},"title":{"type":"string"}},"type":"object"},"touchpoints.rcs.media":{"additionalProperties":false,"description":"A media for use with RCS messages","properties":{"fileUrl":{"type":"string"},"height":{"enum":["short","medium","tall"],"type":"string"},"thumbnailUrl":{"nullable":true,"type":"string"}},"required":["height","fileUrl"],"type":"object"},"touchpoints.rcs.suggestion":{"additionalProperties":false,"description":"A suggestion for use with RCS messages","properties":{"action":{"additionalProperties":false,"oneOf":[{"required":["dialAction"]},{"required":["openUrlAction"]},{"required":["createCalendarEventAction"]},{"required":["viewLocationAction"]},{"required":["shareLocationAction"]}],"properties":{"createCalendarEventAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.calendar"},"dialAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.dial"},"fallbackUrl":{"type":"string"},"openUrlAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.open_url"},"postbackData":{"minLength":1,"type":"string"},"shareLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.share_location"},"text":{"maxLength":25,"minLength":1,"type":"string"},"type":{"enum":["openUrl","dial","createCalendarEvent","viewLocation","shareLocation"],"type":"string"},"viewLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.view_location"}},"required":["type","text","postbackData"],"type":"object"},"id":{"type":"string"},"reply":{"additionalProperties":false,"properties":{"postbackData":{"minLength":1,"type":"string"},"text":{"maxLength":25,"type":"string"}},"required":["text","postbackData"],"type":"object"},"type":{"enum":["reply","action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.suggestion.action.calendar":{"additionalProperties":false,"properties":{"description":{"type":"string"},"end":{"format":"date-time","type":"string"},"start":{"format":"date-time","type":"string"},"title":{"type":"string"}},"required":["title","description","start","end"],"type":"object"},"touchpoints.rcs.suggestion.action.dial":{"additionalProperties":false,"properties":{"phoneNumber":{"description":"The phone number in E.164 format, for example, +12223334444","type":"string"}},"required":["phoneNumber"],"type":"object"},"touchpoints.rcs.suggestion.action.open_url":{"additionalProperties":false,"properties":{"application":{"description":"URL open application","enum":["browser","webview"],"type":"string"},"description":{"description":"Accessibility description for webview","type":"string"},"url":{"description":"URL","type":"string"},"webviewViewMode":{"description":"View mode for webview","enum":["full","half","tall"],"type":"string"}},"required":["url"],"type":"object"},"touchpoints.rcs.suggestion.action.share_location":{"additionalProperties":false,"type":"object"},"touchpoints.rcs.suggestion.action.view_location":{"additionalProperties":false,"properties":{"label":{"description":"(Optional) The label of the pin dropped at latLong.","type":"string"},"latLong":{"additionalProperties":false,"description":"(Optional, only supported on Android Messages clients) Rather than specify a latLong (and optionally, a label), the agent can instead specify a query string.","properties":{"latitude":{"description":"The latitude of the location.","type":"string"},"longitude":{"description":"The longitude of the location.","type":"string"}},"required":["latitude","longitude"],"type":"object"},"query":{"description":"(Optional) The query to search for.","type":"string"}},"type":"object"},"touchpoints.rcs.carousel":{"additionalProperties":false,"description":"A product block used for RCS carousel.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsCarousel":{"additionalProperties":false,"properties":{"cardWidth":{"enum":["small","medium"],"type":"string"},"cards":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"type":"array"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"}},"required":["cardWidth","cards"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-carousel"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.rich_message":{"additionalProperties":false,"description":"A block used for a combination of text, media and suggestions.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichMessage":{"additionalProperties":false,"anyOf":[{"required":["text"]},{"required":["media"]}],"properties":{"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"text":{"minLength":1,"nullable":true,"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-message"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.app_inbox.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"appInboxMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"basicContent":{"properties":{"body":{"maxLength":240,"minLength":1,"type":"string"},"title":{"maxLength":65,"minLength":1,"type":"string"}},"required":["title","body"],"type":"object"},"type":{"type":"string"}},"type":"object"}},"required":["v1"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["app-inbox-message"],"type":"string"}},"required":["type","appInboxMessage"],"type":"object"},"PlatformContent":{"type":"object","required":["platform","blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"platform":{"type":"string","minLength":1},"channelIds":{"type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"channelGroupIds":{"description":"This field contains the channel group ids that will be used for template approval.\n","type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}},"approvals":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Approval"}}}},"Approval":{"type":"object","additionalProperties":false,"required":["approvalReference"],"properties":{"approvalReference":{"type":"string","format":"uuid"},"channelId":{"description":"This field contains the channel id that this approval\napplies to. Please check for channelIds first. If\nit's empty, then this field should be checked for\nbackwards compatibility.\n","deprecated":true,"type":"string","format":"uuid","nullable":true},"platformReference":{"type":"string"},"platformAccountIdentifier":{"type":"string","nullable":true},"reason":{"type":"string","description":"The reason why this template was rejected. This field is deprecated,\nuse reasonCode instead.\n","deprecated":true},"reasonCode":{"type":"string","nullable":true,"description":"A list of known status change reasons, most commonly used to find out\nthe template approval rejection reason. If the original reason is unknown,\nthe value will be \"unknown\".\n","enum":["whatsapp_scam","whatsapp_invalid_format","whatsapp_incorrect_category","whatsapp_none","whatsapp_promotional","whatsapp_tag_content_mismatch","whatsapp_abusive_content","whatsapp_fallback","unknown"]},"reasonDescription":{"type":"string","nullable":true,"description":"If available, will contain a descriptive message of the reason the platform's\nstatus was updated to its value in platformStatus property. If reasonDescription\nis not available, or it's null, the description should be based on\nreasonCode field. This field will likely contain a more accurate description of the\nstatus change reason when the reasonCode field is \"unknown\".\n"},"status":{"type":"string","enum":["pending","approved","rejected","blocked","deleted"]},"platformStatus":{"type":"string","nullable":true,"description":"A list of known status that reflect the platform's actual status.\nThey are mapped from the original platform event if known. Otherwise,\nthis field's value will be \"unknown\".\n","enum":["whatsapp_approved","whatsapp_rejected","whatsapp_flagged","whatsapp_disabled","whatsapp_in_appeal","whatsapp_reinstated","whatsapp_paused","unknown"]},"channelIds":{"description":"This field is a reference to multiple channel ids that\nthis approval applies to. If this field is populated\nwith one or more IDs, then it should be used\ninstead of channelId. Notice that in this case,\nchannelId will most likely be not present or null.\n","type":"array","items":{"type":"string","format":"uuid"}},"channelGroupId":{"description":"This field contains the channel group id for this approval.\nIt means that this approval applies to all channels in the group.\n","type":"string","format":"uuid","nullable":true},"platform":{"type":"string","nullable":true}}},"PlatformList":{"type":"array","nullable":true,"items":{"type":"string","enum":["all","apple-business-chat","sms-messagebird","facebook-messenger","google-business-messages","instagram","whatsapp","email-sparkpost","chat","push-notifications","rcs-google","linkedin","line","app-inbox","in-app-messages"]}},"ShortLinks":{"type":"object","properties":{"enabled":{"type":"boolean"},"domain":{"type":"string"}},"required":["Enabled","Domain"]},"common.review.info":{"additionalProperties":false,"description":"Describe the status of an entity that is being reviewed through approval flows.","properties":{"approvalFlowId":{"description":"The ID of the approval flow that triggered the review.","format":"uuid","type":"string"},"approvalRunId":{"description":"The ID of the approval run through which this entity is reviewed.","format":"uuid","type":"string"},"currentStep":{"description":"The current step of the approval flow being evaluated.","type":"number"},"status":{"$ref":"#/components/schemas/common.review.status"}},"required":["approvalFlowId","approvalRunId","status","currentStep"],"type":"object"},"common.review.status":{"description":"The status of the review process.","enum":["pending","approved","rejected"],"type":"string"},"pagination":{"type":"object","properties":{"nextPageToken":{"type":"string","description":"The token that can be passed as pageToken in URL to retrieve the next set of results. If missing, no more results to display."}}},"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"}},"responses":{"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."}}},"paths":{"/workspaces/{workspaceId}/projects/{projectId}/channel-templates":{"get":{"summary":"List channeltemplates in workspace","operationId":"listChannelTemplates","tags":["channeltemplates"],"parameters":[{"$ref":"#/components/parameters/pagination.param.limit"},{"$ref":"#/components/parameters/pagination.param.pageToken"},{"$ref":"#/components/parameters/pagination.param.reverse"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ChannelTemplateList"},{"$ref":"#/components/schemas/pagination"}]}}}},"404":{"$ref":"#/components/responses/error.response.not_found"}}}}}}
```

## POST /workspaces/{workspaceId}/projects/{projectId}/channel-templates

> Create channeltemplate

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"schemas":{"CreateChannelTemplate":{"type":"object","additionalProperties":true,"properties":{"description":{"type":"string"},"defaultLocale":{"type":"string","description":"The list of possible values below is shared across all Bird Touchpoints products. For WhatsApp message templates, only locales that Meta supports as WhatsApp template languages will be accepted by Meta on submission. Locales outside Meta's supported list will pass Bird's enum validation but will be rejected by Meta with an \"Invalid language\" error. See [Meta's supported template languages](https://developers.facebook.com/docs/whatsapp/api/messages/message-templates/#supported-languages).\n","allOf":[{"$ref":"#/components/schemas/standard.locale.messaging"}]},"assets":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ChannelTemplateAsset"}},"styles":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Style"}},"variables":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ChannelTemplateVariables"}},"deployments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Deployment"}},"genericContent":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/GenericContent"}},"platformContent":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/PlatformContent"}},"supportedPlatforms":{"$ref":"#/components/schemas/PlatformList"},"shortLinks":{"type":"object","nullable":true,"items":{"$ref":"#/components/schemas/ShortLinks"}}}},"standard.locale.messaging":{"description":"Curated set of BCP47 locale identifiers supported by Bird messaging products","enum":["ae-AZ","af","ar","ar-AZ","ar-EG","ar-ID","ar-UA","az","az-AZ","bg","bg-BG","bn","bn-MY","bn-SG","ca","cs","cs-CZ","da","da-DK","de","de-AT","de-CH","de-DE","de-LI","de-LU","ee-GH","el","el-CY","el-GR","en","en-AE","en-AF","en-AG","en-AL","en-AR","en-AS","en-AT","en-AU","en-AW","en-AZ","en-BA","en-BB","en-BD","en-BE","en-BF","en-BG","en-BH","en-BJ","en-BN","en-BO","en-BR","en-BS","en-BW","en-BY","en-BZ","en-CA","en-CD","en-CG","en-CH","en-CI","en-CL","en-CM","en-CN","en-CO","en-CY","en-CZ","en-DE","en-DK","en-DM","en-DO","en-EC","en-EG","en-ES","en-FI","en-FJ","en-FR","en-GB","en-GD","en-GE","en-GH","en-GI","en-GM","en-GR","en-GY","en-HK","en-HR","en-HT","en-HU","en-ID","en-IE","en-IL","en-IN","en-IQ","en-IS","en-IT","en-JM","en-JO","en-JP","en-KE","en-KH","en-KN","en-KR","en-KW","en-KY","en-KZ","en-LA","en-LB","en-LT","en-LV","en-MD","en-MK","en-MM","en-MS","en-MT","en-MV","en-MX","en-MY","en-NG","en-NL","en-NO","en-NP","en-NZ","en-OM","en-PA","en-PE","en-PG","en-PH","en-PK","en-PL","en-PS","en-PT","en-PY","en-QA","en-RO","en-RU","en-RW","en-SA","en-SB","en-SD","en-SE","en-SG","en-SI","en-SK","en-SN","en-SR","en-SS","en-TC","en-TH","en-TN","en-TO","en-TR","en-TT","en-TW","en-UG","en-US","en-UY","en-VC","en-VE","en-VG","en-VN","en-WS","en-YE","en-ZA","en-ZW","es","es-AR","es-BO","es-BR","es-CL","es-CO","es-CR","es-DO","es-EC","es-ES","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PY","es-SV","es-US","es-UY","es-VE","et","et-EE","fa","fi","fi-FI","fil","fr","fr-AE","fr-BE","fr-BF","fr-BJ","fr-CA","fr-CD","fr-CG","fr-CH","fr-CI","fr-CM","fr-FR","fr-GA","fr-GF","fr-LU","fr-MA","fr-MF","fr-MG","fr-ML","fr-NL","fr-PT","fr-SN","fr-TG","ga","gu","ha","he","hi","hi-MY","hi-SG","hr","hr-HR","ht-DO","hu","hu-HU","id","id-HK","id-ID","id-JP","id-SG","it","it-AE","it-BE","it-CH","it-IT","ja","ja-JP","ka","kk","kn","ko","ky-KG","lo","lt","lt-LT","lv","lv-LV","mk","ml","mr","ms","ms-MY","my-JP","my-MY","my-SG","nb","ne-JP","nl","nl-BE","nl-NL","no-NO","pa","pl","pl-PL","pt","pt-AO","pt-BR","pt-PT","ro","ro-MD","ro-RO","ru","ru-BY","ru-KZ","ru-RO","ru-RU","rw-RW","sk","sk-SK","sl","sl-SI","sq","sq-AL","sr","sr-RS","sv","sv-SE","sw","ta","ta-MY","ta-SG","te","th","th-SG","th-TH","tk-TM","tr","tr-TR","uk","uk-UA","ur","uz","uz-UZ","vi","vi-JP","vi-MY","vi-US","zh-CN","zh-HK","zh-JP","zh-SG","zh-TW","zu"],"type":"string"},"ChannelTemplateAsset":{"title":"ChannelTemplateAsset","oneOf":[{"type":"object","properties":{"key":{"type":"string","enum":["logoUrl"]},"isDefault":{"type":"boolean"},"valueString":{"type":"string"}}}]},"Style":{"oneOf":[{"$ref":"#/components/schemas/ValueString"},{"$ref":"#/components/schemas/ValueStringArray"},{"$ref":"#/components/schemas/ValueConfigurationPair"},{"$ref":"#/components/schemas/ValueConfigurationPairArray"},{"$ref":"#/components/schemas/ValueBoolean"},{"$ref":"#/components/schemas/ValueBooleanArray"},{"$ref":"#/components/schemas/ValueFloat"},{"$ref":"#/components/schemas/ValueFloatArray"},{"$ref":"#/components/schemas/ValueInteger"},{"$ref":"#/components/schemas/ValueIntegerArray"}]},"ValueString":{"type":"object","additionalProperties":false,"required":["key","valueString"],"properties":{"key":{"type":"string"},"valueString":{"type":"string"},"isDefault":{"type":"boolean","nullable":true}}},"ValueStringArray":{"type":"object","additionalProperties":false,"required":["key","valueStringArray"],"properties":{"key":{"type":"string"},"valueStringArray":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPair":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPair"],"properties":{"key":{"type":"string"},"valueConfigurationPair":{"type":"object","additionalProperties":true},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPairArray":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPairArray"],"properties":{"key":{"type":"string"},"valueConfigurationPairArray":{"type":"array","items":{"type":"object","additionalProperties":true}},"isDefault":{"type":"boolean","nullable":true}}},"ValueBoolean":{"type":"object","additionalProperties":false,"required":["key","valueBoolean"],"properties":{"key":{"type":"string"},"valueBoolean":{"type":"boolean"},"isDefault":{"type":"boolean","nullable":true}}},"ValueBooleanArray":{"type":"object","additionalProperties":false,"required":["key","valueBooleanArray"],"properties":{"key":{"type":"string"},"valueBooleanArray":{"type":"array","items":{"type":"boolean"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloat":{"type":"object","additionalProperties":false,"required":["key","valueFloat"],"properties":{"key":{"type":"string"},"floatValue":{"type":"number","format":"float"},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloatArray":{"type":"object","additionalProperties":false,"required":["key","valueFloatArray"],"properties":{"key":{"type":"string"},"floatValueArray":{"type":"array","items":{"type":"number","format":"float"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueInteger":{"type":"object","additionalProperties":false,"required":["key","valueInteger"],"properties":{"key":{"type":"string"},"valueInteger":{"type":"number"},"isDefault":{"type":"boolean","nullable":true}}},"ValueIntegerArray":{"type":"object","additionalProperties":false,"required":["key","valueIntegerArray"],"properties":{"key":{"type":"string"},"valueIntegerArray":{"type":"array","items":{"type":"number"}},"isDefault":{"type":"boolean","nullable":true}}},"ChannelTemplateVariables":{"type":"object","title":"ChannelTemplateVariables","additionalProperties":false,"required":["key","type"],"properties":{"key":{"type":"string","pattern":"^[A-Za-z0-9._-]+$"},"description":{"type":"string","maxLength":255},"type":{"type":"string","enum":["string","sectionList","timeslotList","systemVariable","productList","productSections","shippingMethodList","shortLink","whatsappProductSections","lineItemList","whatsappProductItems","carouselCards","appleFormPageItems"]},"format":{"type":"string","default":"none","enum":["none"]},"sourceUrl":{"type":"object","properties":{"fullyReplaced":{"type":"boolean"},"value":{"type":"string"}},"required":["fullyReplaced","value"]},"characterLimit":{"type":"integer","nullable":true,"minimum":1,"maximum":160},"examplesLocale":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"exampleValueStrings":{"nullable":true,"type":"array","items":{"type":"string"}},"exampleValues":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.sections"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.product"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"productSections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"lineItems":{"$ref":"#/components/schemas/touchpoints.apple.line_items"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"cards":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"items":{"$ref":"#/components/schemas/touchpoints.apple.form.page_items"}}}}]}}}}}},"touchpoints.sections":{"items":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.reply_action"},"type":"array"},"multipleSelection":{"type":"boolean"},"title":{"type":"string"}},"required":["title","items"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.reply_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"replyAction":{"properties":{"imageUrl":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"role":{"type":"string"},"type":{"enum":["reply-action"],"type":"string"}},"required":["type","replyAction"],"type":"object"},"touchpoints.timeslots":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"id":{"nullable":true,"type":"string"},"startTime":{"format":"date-time","type":"string"}},"required":["startTime","duration"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"product":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"externalProductId":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product"],"type":"string"}},"required":["type","product"],"type":"object"},"touchpoints.product.sections.object":{"items":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.product.object"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product.object":{"additionalProperties":false,"properties":{"externalProductId":{"nullable":false,"type":"string"}},"required":["externalProductId"],"type":"object"},"touchpoints.apple.shipping_methods":{"items":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"detail":{"type":"string"},"identifier":{"type":"string"},"label":{"type":"string"}},"required":["amount","label","identifier","detail"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.whatsapp.product.section":{"additionalProperties":false,"description":"A WhatsApp specific product section block used for grouping products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-section"],"type":"string"},"whatsappProductSection":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"}},"required":["type","whatsappProductSection"],"type":"object"},"touchpoints.whatsapp.product.item":{"additionalProperties":false,"description":"A product block used for WhatsApp product.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-item"],"type":"string"},"whatsappProductItem":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"required":["type","whatsappProductItem"],"type":"object"},"touchpoints.apple.line_items":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"nullable":true,"type":"array"},"touchpoints.apple.line_item":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"id":{"nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"required":["amount","text"],"type":"object"},"touchpoints.whatsapp.carousel.card":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel-card"],"type":"string"},"whatsappCarouselCard":{"additionalProperties":false,"properties":{"actions":{"description":"Approved templates support up to 2 actions per card (link-action, reply-action, or call-phone-number-action). Session carousels only support one CTA URL button per card (enforced at runtime).","items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":2,"minItems":1,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["header","body","actions"],"type":"object"}},"required":["type","whatsappCarouselCard"],"type":"object"},"touchpoints.link_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"linkAction":{"properties":{"text":{"type":"string"},"url":{"anyOf":[{"pattern":"{{[^{}]+}}","type":"string"},{"format":"uri","type":"string"}]}},"required":["text","url"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["link-action"],"type":"string"}},"required":["type","linkAction"],"type":"object"},"touchpoints.action.call_phone_number":{"additionalProperties":false,"properties":{"callPhoneNumberAction":{"additionalProperties":false,"properties":{"phoneNumber":{"maxLength":20,"minLength":1,"type":"string"},"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text","phoneNumber"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["call-phone-number-action"],"type":"string"}},"required":["type","callPhoneNumberAction"],"type":"object"},"touchpoints.text":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"text":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},"touchpoints.image":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"image":{"additionalProperties":false,"properties":{"altText":{"description":"altText with image headers is not supported. If passed, it will default to a footer instead","type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["image"],"type":"string"}},"required":["type","image"],"type":"object"},"touchpoints.file":{"additionalProperties":false,"properties":{"file":{"additionalProperties":false,"properties":{"altText":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl","contentType"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["file"],"type":"string"}},"required":["type","file"],"type":"object"},"touchpoints.apple.form.page_items":{"items":{"additionalProperties":false,"properties":{"identifier":{"description":"Unique identifier for the item.","type":"string"},"imageUrl":{"description":"Optional image URL for the item.","nullable":true,"type":"string"},"nextPageIdentifier":{"description":"Identifier of the next page to navigate to when this item is selected.","nullable":true,"type":"string"},"title":{"description":"Display label shown to the user.","type":"string"},"value":{"description":"Value submitted when the item is selected.","type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"Deployment":{"type":"object","additionalProperties":false,"required":["key","value"],"properties":{"key":{"type":"string","enum":["whatsappCategory","whatsappTemplateName","whatsappAllowCategoryChange","whatsappMessageSendTTLSeconds"],"minLength":1},"value":{"type":"string","minLength":1},"locale":{"type":"string","nullable":true,"description":"This property is deprecated, please use platformContent locale instead."},"platform":{"type":"string","nullable":true},"channelIds":{"type":"array","nullable":true,"description":"List of channel ids to which this deployment is applied. this property is deprecated, please use platformContent channelIds instead.","deprecated":true,"items":{"type":"string","format":"uuid"}}}},"GenericContent":{"type":"object","required":["blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}}}},"touchpoints.block":{"allOf":[{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"maxLength":100,"nullable":true,"type":"string"},"role":{"type":"string"},"type":{"enum":["action","carousel","list","file","html","image","location","text","layout","link-action","reply-action","authentication-body","authentication-action","apple-rich-link","apple-list-picker","apple-time-picker","apple-form","apple-apple-pay","apple-authentication","apple-quick-reply","apple-i-message","product","product-list","product-sections","multi-product-action","copy-code-action","call-phone-number-action","voice-call-action","open-catalog-action","limited-time-offer","whatsapp-catalog","whatsapp-product","whatsapp-product-list","whatsapp-coupon","whatsapp-multi-product","whatsapp-carousel","whatsapp-carousel-card","whatsapp-limited-time-offer","whatsapp-flow-action","whatsapp-product-item","whatsapp-flow","push-notifications-message","whatsapp-product-sections","whatsapp-product-section","rcs-basic-text","rcs-rich-card","rcs-carousel","rcs-rich-message","whatsapp-product-items","app-inbox-message"],"type":"string"}},"required":["type"],"type":"object"},{"discriminator":{"mapping":{"action":"#/components/schemas/touchpoints.action","app-inbox-message":"#/components/schemas/touchpoints.app_inbox.message","apple-apple-pay":"#/components/schemas/touchpoints.apple.pay","apple-authentication":"#/components/schemas/touchpoints.apple.authentication","apple-form":"#/components/schemas/touchpoints.apple.form","apple-i-message":"#/components/schemas/touchpoints.apple.imessage","apple-list-picker":"#/components/schemas/touchpoints.apple.list_picker","apple-quick-reply":"#/components/schemas/touchpoints.apple.quick_reply","apple-rich-link":"#/components/schemas/touchpoints.apple.rich_link","apple-time-picker":"#/components/schemas/touchpoints.apple.time_picker","authentication-action":"#/components/schemas/touchpoints.authentication.action","authentication-body":"#/components/schemas/touchpoints.authentication.body","call-phone-number-action":"#/components/schemas/touchpoints.action.call_phone_number","carousel":"#/components/schemas/touchpoints.carousel","copy-code-action":"#/components/schemas/touchpoints.action.copy_code","file":"#/components/schemas/touchpoints.file","html":"#/components/schemas/touchpoints.html","image":"#/components/schemas/touchpoints.image","layout":"#/components/schemas/touchpoints.layout","limited-time-offer":"#/components/schemas/touchpoints.limited_time_offer","link-action":"#/components/schemas/touchpoints.link_action","list":"#/components/schemas/touchpoints.list","location":"#/components/schemas/touchpoints.location","multi-product-action":"#/components/schemas/touchpoints.action.multi_product","open-catalog-action":"#/components/schemas/touchpoints.action.open_catalog","product":"#/components/schemas/touchpoints.product","product-list":"#/components/schemas/touchpoints.product.list","product-sections":"#/components/schemas/touchpoints.product.sections","push-notifications-message":"#/components/schemas/touchpoints.push_notification.message","rcs-basic-text":"#/components/schemas/touchpoints.rcs.basic_text","rcs-carousel":"#/components/schemas/touchpoints.rcs.carousel","rcs-rich-card":"#/components/schemas/touchpoints.rcs.rich_card","rcs-rich-message":"#/components/schemas/touchpoints.rcs.rich_message","reply-action":"#/components/schemas/touchpoints.reply_action","text":"#/components/schemas/touchpoints.text","voice-call-action":"#/components/schemas/touchpoints.action.voice_call","whatsapp-carousel":"#/components/schemas/touchpoints.whatsapp.carousel","whatsapp-carousel-card":"#/components/schemas/touchpoints.whatsapp.carousel.card","whatsapp-catalog":"#/components/schemas/touchpoints.whatsapp.catalog","whatsapp-coupon":"#/components/schemas/touchpoints.whatsapp.coupon","whatsapp-flow":"#/components/schemas/touchpoints.whatsapp.flow","whatsapp-flow-action":"#/components/schemas/touchpoints.whatsapp.flow.action","whatsapp-limited-time-offer":"#/components/schemas/touchpoints.whatsapp.limited_time_offer","whatsapp-multi-product":"#/components/schemas/touchpoints.whatsapp.multi_product","whatsapp-product":"#/components/schemas/touchpoints.whatsapp.product","whatsapp-product-item":"#/components/schemas/touchpoints.whatsapp.product.item","whatsapp-product-items":"#/components/schemas/touchpoints.whatsapp.product.items","whatsapp-product-list":"#/components/schemas/touchpoints.whatsapp.product.list","whatsapp-product-section":"#/components/schemas/touchpoints.whatsapp.product.section","whatsapp-product-sections":"#/components/schemas/touchpoints.whatsapp.product.sections"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.carousel"},{"$ref":"#/components/schemas/touchpoints.list"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.html"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.location"},{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.layout"},{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.authentication.body"},{"$ref":"#/components/schemas/touchpoints.authentication.action"},{"$ref":"#/components/schemas/touchpoints.apple.rich_link"},{"$ref":"#/components/schemas/touchpoints.apple.list_picker"},{"$ref":"#/components/schemas/touchpoints.apple.time_picker"},{"$ref":"#/components/schemas/touchpoints.apple.form"},{"$ref":"#/components/schemas/touchpoints.apple.pay"},{"$ref":"#/components/schemas/touchpoints.apple.authentication"},{"$ref":"#/components/schemas/touchpoints.apple.quick_reply"},{"$ref":"#/components/schemas/touchpoints.apple.imessage"},{"$ref":"#/components/schemas/touchpoints.product"},{"$ref":"#/components/schemas/touchpoints.product.list"},{"$ref":"#/components/schemas/touchpoints.product.sections"},{"$ref":"#/components/schemas/touchpoints.action.multi_product"},{"$ref":"#/components/schemas/touchpoints.action.copy_code"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"},{"$ref":"#/components/schemas/touchpoints.action.voice_call"},{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.catalog"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.list"},{"$ref":"#/components/schemas/touchpoints.whatsapp.coupon"},{"$ref":"#/components/schemas/touchpoints.whatsapp.multi_product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},{"$ref":"#/components/schemas/touchpoints.whatsapp.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow"},{"$ref":"#/components/schemas/touchpoints.push_notification.message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},{"$ref":"#/components/schemas/touchpoints.rcs.basic_text"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_card"},{"$ref":"#/components/schemas/touchpoints.rcs.carousel"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.app_inbox.message"}]}],"type":"object"},"touchpoints.action":{"properties":{"action":{"$ref":"#/components/schemas/channels.messages.actions.action"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["action"],"type":"string"}},"required":["type","action"],"type":"object"},"channels.messages.actions.action":{"discriminator":{"mapping":{"buy":"#/components/schemas/channels.messages.actions.action__variant__buy","link":"#/components/schemas/channels.messages.actions.action__variant__link","locationRequest":"#/components/schemas/channels.messages.actions.action__variant__locationRequest","postback":"#/components/schemas/channels.messages.actions.action__variant__postback","reply":"#/components/schemas/channels.messages.actions.action__variant__reply"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/channels.messages.actions.action__variant__link"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__reply"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__locationRequest"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__buy"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__postback"}]},"channels.messages.actions.action__variant__link":{"properties":{"link":{"$ref":"#/components/schemas/channels.messages.actions.link"},"type":{"enum":["link"],"type":"string"}},"required":["link","type"],"type":"object"},"channels.messages.actions.link":{"properties":{"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_link"},"text":{"type":"string"},"url":{"type":"string"}},"required":["text","url"],"type":"object"},"channels.messages.metadata.action_link":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.metadata.action_description":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"},"channels.messages.actions.action__variant__reply":{"properties":{"reply":{"$ref":"#/components/schemas/channels.messages.actions.reply"},"type":{"enum":["reply"],"type":"string"}},"required":["reply","type"],"type":"object"},"channels.messages.actions.reply":{"properties":{"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_reply"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.metadata.action_reply":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.actions.action__variant__locationRequest":{"properties":{"locationRequest":{"$ref":"#/components/schemas/channels.messages.actions.location_request"},"type":{"enum":["locationRequest"],"type":"string"}},"required":["type"],"type":"object"},"channels.messages.actions.location_request":{"properties":{"text":{"type":"string"}},"type":"object"},"channels.messages.actions.action__variant__buy":{"properties":{"buy":{"$ref":"#/components/schemas/channels.messages.actions.buy"},"type":{"enum":["buy"],"type":"string"}},"required":["buy","type"],"type":"object"},"channels.messages.actions.buy":{"properties":{"amountCents":{"format":"int64","type":"integer"},"currency":{"type":"string"},"text":{"type":"string"}},"required":["text","amountCents","currency"],"type":"object"},"channels.messages.actions.action__variant__postback":{"properties":{"postback":{"$ref":"#/components/schemas/channels.messages.actions.postback"},"type":{"enum":["postback"],"type":"string"}},"required":["postback","type"],"type":"object"},"channels.messages.actions.postback":{"properties":{"handshake":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake"},"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_postback"},"otpType":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.actions.postback_handshake":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"},"supportedApps":{"items":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake_supported_app"},"type":"array"},"text":{"type":"string"},"zeroTapTermsAccepted":{"type":"boolean"}},"required":["text","packageName","signatureHash","zeroTapTermsAccepted"],"type":"object"},"channels.messages.actions.postback_handshake_supported_app":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"channels.messages.metadata.action_postback":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"touchpoints.carousel":{"additionalProperties":false,"properties":{"carousel":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"}},"required":["items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["carousel"],"type":"string"}},"required":["type","carousel"],"type":"object"},"touchpoints.item":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"mediaUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.list":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"list":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"},"text":{"type":"string"},"title":{"type":"string"}},"required":["items"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["list"],"type":"string"}},"required":["type","list"],"type":"object"},"touchpoints.html":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"html":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["html"],"type":"string"}},"required":["type","html"],"type":"object"},"touchpoints.location":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["location"],"type":"string"}},"required":["type","location"],"type":"object"},"touchpoints.layout":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"layout":{"additionalProperties":false,"properties":{"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.text"}]},"maxItems":4,"minItems":1,"type":"array"},"layout":{"enum":["left","center","right"],"type":"string"}},"required":["layout","blocks"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["layout"],"type":"string"}},"required":["type","layout"],"type":"object"},"touchpoints.authentication.body":{"additionalProperties":false,"description":"An authentication body block used for authentication templates.","properties":{"authenticationBody":{"additionalProperties":false,"properties":{"addSecurityDisclaimer":{"description":"Whether to add a security disclaimer to the authentication body.","nullable":false,"type":"boolean"},"expirationTime":{"description":"The number of seconds after which the authentication body will expire. If not set, no expiration notification will be sent.","maximum":90,"minimum":1,"nullable":true,"type":"integer"},"messageSendTtlSeconds":{"description":"The number of seconds after which the message will expire. If not set, the message will not expire.","maximum":86400,"minimum":1,"nullable":true,"type":"integer"}},"required":["addSecurityDisclaimer"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-body"],"type":"string"}},"required":["type","authenticationBody"],"type":"object"},"touchpoints.authentication.action":{"additionalProperties":false,"description":"An authentication action block used for authentication templates.","properties":{"authenticationAction":{"additionalProperties":false,"properties":{"oneTap":{"additionalProperties":false,"description":"The one-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"androidPackageName":{"description":"The Android package name of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"},"androidSignatureHash":{"description":"The Android signature hash of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"}},"required":["androidPackageName","androidSignatureHash"],"type":"object"},"zeroTap":{"additionalProperties":false,"description":"The zero-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"supportedApps":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.supported_app"},"type":"array"},"zeroTapTermsAccepted":{"description":"Indicates if the user has accepted the terms and conditions for zero-tap authentication.\n","nullable":false,"type":"boolean"}},"required":["supportedApps"],"type":"object"}},"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.whatsapp.supported_app":{"additionalProperties":false,"properties":{"packageName":{"description":"The package name of the app that will be used for authentication.\n","nullable":false,"type":"string"},"signatureHash":{"description":"The signature hash of the app that will be used for authentication.\n","nullable":false,"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"touchpoints.apple.rich_link":{"additionalProperties":false,"description":"An apple rich link block.","properties":{"appleRichLink":{"additionalProperties":false,"properties":{"imageUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"url":{"format":"uri","nullable":false,"type":"string"},"videoUrl":{"format":"uri","nullable":true,"type":"string"}},"required":["url","title"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-rich-link"],"type":"string"}},"required":["type","appleRichLink"],"type":"object"},"touchpoints.apple.list_picker":{"additionalProperties":false,"properties":{"appleListPicker":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"sectionList":{"$ref":"#/components/schemas/touchpoints.section_list"}},"required":["receivedMessage","replyMessage","sectionList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-list-picker"],"type":"string"}},"required":["type","appleListPicker"],"type":"object"},"touchpoints.apple.display_message":{"additionalProperties":false,"properties":{"imageSubtitle":{"type":"string"},"imageTitle":{"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"secondaryTitle":{"type":"string"},"style":{"enum":["icon","small","large"],"type":"string"},"subtitle":{"type":"string"},"tertiaryTitle":{"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.section_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"sections":{"$ref":"#/components/schemas/touchpoints.sections"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.time_picker":{"additionalProperties":false,"properties":{"appleTimePicker":{"additionalProperties":false,"properties":{"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"timeslotList":{"$ref":"#/components/schemas/touchpoints.timeslot_list"},"timezoneOffset":{"pattern":"^[A-Za-z]+/[A-Za-z_]+$","type":"string"}},"required":["receivedMessage","replyMessage","timeslotList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-time-picker"],"type":"string"}},"required":["type","appleTimePicker"],"type":"object"},"touchpoints.timeslot_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.form":{"additionalProperties":false,"properties":{"appleForm":{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"pages":{"items":{"additionalProperties":false,"properties":{"hintText":{"type":"string"},"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"imageUrl":{"type":"string"},"nextPageIdentifier":{"type":"string"},"title":{"type":"string"},"value":{"type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"itemsListingType":{"enum":["static","dynamic"],"type":"string"},"itemsParameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"multipleSelection":{"type":"boolean"},"nextPageIdentifier":{"type":"string"},"options":{"additionalProperties":false,"properties":{"dateFormat":{"type":"string"},"inputType":{"type":"string"},"keyboardType":{"type":"string"},"maximumCharacterCount":{"oneOf":[{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},{"pattern":"^[0-9]+$","type":"string"},{"pattern":"^$","type":"string"}]},"maximumDate":{"type":"string"},"minimumDate":{"type":"string"},"required":{"type":"boolean"},"startDate":{"type":"string"}},"type":"object"},"pageIdentifier":{"type":"string"},"pickerTitle":{"type":"string"},"submitForm":{"type":"boolean"},"subtitle":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"}},"required":["pageIdentifier","type"],"type":"object"},"type":"array"},"showSummary":{"type":"boolean"},"splash":{"additionalProperties":false,"properties":{"buttonTitle":{"type":"string"},"header":{"type":"string"},"imageUrl":{"type":"string"},"splashText":{"type":"string"}},"required":["header","splashText","buttonTitle"],"type":"object"},"startPageIdentifier":{"type":"string"}},"required":["splash","pages"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage","data"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-form"],"type":"string"}},"required":["type","appleForm"],"type":"object"},"touchpoints.apple.pay":{"additionalProperties":false,"properties":{"appleApplePay":{"additionalProperties":false,"properties":{"currencyCode":{"type":"string"},"lineItemList":{"$ref":"#/components/schemas/touchpoints.apple.line_item_list"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"requiredBillingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"requiredShippingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"shippingMethodList":{"$ref":"#/components/schemas/touchpoints.apple.shipping_method_list"},"totalCost":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"nullable":true,"type":"string"}},"type":"object"}},"required":["receivedMessage","lineItemList","totalCost","currencyCode"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-apple-pay"],"type":"string"}},"required":["type","appleApplePay"],"type":"object"},"touchpoints.apple.line_item_list":{"oneOf":[{"additionalProperties":false,"properties":{"lineItems":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"type":"array"},"parameterKey":{"type":"string"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","lineItems"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.apple.shipping_method_list":{"additionalProperties":false,"nullable":true,"properties":{"parameterKey":{"type":"string"},"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.authentication":{"additionalProperties":false,"properties":{"appleAuthentication":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-authentication"],"type":"string"}},"required":["type","appleAuthentication"],"type":"object"},"touchpoints.apple.quick_reply":{"additionalProperties":false,"properties":{"appleQuickReply":{"additionalProperties":false,"properties":{"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"}},"required":["identifier","title"],"type":"object"},"maxItems":5,"minItems":1,"type":"array"},"summary":{"type":"string"}},"required":["summary","items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-quick-reply"],"type":"string"}},"required":["type","appleQuickReply"],"type":"object"},"touchpoints.apple.imessage":{"additionalProperties":false,"properties":{"appleIMessage":{"additionalProperties":false,"properties":{"appId":{"type":"string"},"appName":{"type":"string"},"bid":{"type":"string"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"url":{"type":"string"},"useLiveLayout":{"type":"boolean"}},"required":["appId","appName","receivedMessage","url","bid","useLiveLayout"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-i-message"],"type":"string"}},"required":["type","appleIMessage"],"type":"object"},"touchpoints.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productList":{"$ref":"#/components/schemas/touchpoints.product.list.object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-list"],"type":"string"}},"required":["id","type","productList"],"type":"object"},"touchpoints.product.list.object":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.product"},"type":"array"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.product.sections":{"additionalProperties":false,"description":"A product sectioned list block used for commerce product sectioned listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-sections"],"type":"string"}},"required":["type","productSections"],"type":"object"},"touchpoints.action.multi_product":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"multiProductAction":{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"productList":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"productSections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"thumbnailExternalProductId":{"type":"string"}},"required":["parameterKey"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["multi-product-action"],"type":"string"}},"required":["type","multiProductAction"],"type":"object"},"touchpoints.action.copy_code":{"additionalProperties":false,"properties":{"copyCodeAction":{"additionalProperties":false,"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["copy-code-action"],"type":"string"}},"required":["type","copyCodeAction"],"type":"object"},"touchpoints.action.voice_call":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["voice-call-action"],"type":"string"},"voiceCallAction":{"additionalProperties":false,"properties":{"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}},"required":["type","voiceCallAction"],"type":"object"},"touchpoints.action.open_catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"openCatalogAction":{"additionalProperties":false,"properties":{"thumbnail":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["open-catalog-action"],"type":"string"}},"required":["type","openCatalogAction"],"type":"object"},"touchpoints.limited_time_offer":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"limitedTimeOffer":{"additionalProperties":false,"properties":{"expiresAt":{"nullable":true,"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["limited-time-offer"],"type":"string"}},"required":["type","limitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-catalog"],"type":"string"},"whatsappCatalog":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["body","action"],"type":"object"}},"required":["type","whatsappCatalog"],"type":"object"},"touchpoints.whatsapp.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product"],"type":"string"},"whatsappProduct":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"product":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}},"type":"object"}},"required":["type","whatsappProduct"],"type":"object"},"touchpoints.whatsapp.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-list"],"type":"string"},"whatsappProductList":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"},"products":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"}]}},"required":["header","body","products"],"type":"object"}},"required":["type","whatsappProductList"],"type":"object"},"touchpoints.whatsapp.product.items":{"additionalProperties":false,"description":"A list of WhatsApp products.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-items"],"type":"string"},"whatsappProductItems":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductItems"],"type":"object"},"touchpoints.whatsapp.product.sections":{"additionalProperties":false,"description":"A WhatsApp specific product sectioned list block used for showing products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-sections"],"type":"string"},"whatsappProductSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductSections"],"type":"object"},"touchpoints.whatsapp.coupon":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-coupon"],"type":"string"},"whatsappCoupon":{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":9,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["body","couponAction"],"type":"object"}},"required":["type","whatsappCoupon"],"type":"object"},"touchpoints.whatsapp.multi_product":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-multi-product"],"type":"string"},"whatsappMultiProduct":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.multi_product"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["header","body","action"],"type":"object"}},"required":["type","whatsappMultiProduct"],"type":"object"},"touchpoints.whatsapp.carousel":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel"],"type":"string"},"whatsappCarousel":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"cards":{"description":"Static card definitions. For hybrid mode, these are first cards followed by dynamic cards.","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},"maxItems":10,"minItems":0,"type":"array"},"cardsParameterKey":{"description":"Parameter key for dynamic cards. Required when cardsType is dynamic or hybrid.","type":"string"},"cardsType":{"description":"Type of cards - static (all inline), dynamic (all from parameter), or hybrid (static + dynamic appended). Defaults to static.","enum":["static","dynamic","hybrid"],"type":"string"}},"required":["body"],"type":"object"}},"required":["type","whatsappCarousel"],"type":"object"},"touchpoints.whatsapp.limited_time_offer":{"additionalProperties":false,"description":"A limited-time offer block to display messages with expiration date, countdown and promotional codes.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-limited-time-offer"],"type":"string"},"whatsappLimitedTimeOffer":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]},"limitedTimeOffer":{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},"linkAction":{"$ref":"#/components/schemas/touchpoints.link_action"}},"required":["body","limitedTimeOffer","linkAction"],"type":"object"}},"required":["type","whatsappLimitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.flow.action":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow-action"],"type":"string"},"whatsappFlowAction":{"oneOf":[{"additionalProperties":false,"properties":{"actionPayload":{"additionalProperties":false,"properties":{"data":{"additionalProperties":true,"nullable":true,"type":"object"},"screen":{"type":"string"}},"type":"object"},"actionType":{"enum":["navigate"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"},{"additionalProperties":false,"properties":{"actionType":{"enum":["data_exchange"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"}]}},"required":["type","whatsappFlowAction"],"type":"object"},"touchpoints.whatsapp.flow":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow"],"type":"string"},"whatsappFlow":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.text"}]}},"required":["body","action"],"type":"object"}},"required":["type","whatsappFlow"],"type":"object"},"touchpoints.push_notification.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"pushNotificationsMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customConfiguration":{"additionalProperties":false,"properties":{"apns":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customCategory":{"type":"string"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"firebase":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"web":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"}},"type":"object"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subtitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"required":["tapAction"],"type":"object"}},"required":["v1"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["push-notifications-message"],"type":"string"}},"required":["type","pushNotificationsMessage"],"type":"object"},"touchpoints.push_notification_action":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"},"type":{"enum":["OPEN_APP","URL","DEEP_LINK"],"type":"string"},"uri":{"format":"uri","type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.basic_text":{"additionalProperties":false,"description":"Block structure for RCS Basic Text. Supports up to 160 UTF-8 characters.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsBasicText":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-basic-text"],"type":"string"}},"required":["type","rcsBasicText"],"type":"object"},"touchpoints.rcs.rich_card":{"additionalProperties":false,"description":"A product block used for RCS Rich cards.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichCard":{"additionalProperties":false,"properties":{"card":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"orientation":{"enum":["vertical","horizontal"],"type":"string"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"thumbnailImageAlignment":{"enum":["left","right"],"type":"string"}},"required":["orientation","thumbnailImageAlignment","card"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-card"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.card":{"additionalProperties":false,"description":"A a RCS card used in RCS Carousel or as a standalone card","properties":{"description":{"type":"string"},"id":{"type":"string"},"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":4,"type":"array"},"title":{"type":"string"}},"type":"object"},"touchpoints.rcs.media":{"additionalProperties":false,"description":"A media for use with RCS messages","properties":{"fileUrl":{"type":"string"},"height":{"enum":["short","medium","tall"],"type":"string"},"thumbnailUrl":{"nullable":true,"type":"string"}},"required":["height","fileUrl"],"type":"object"},"touchpoints.rcs.suggestion":{"additionalProperties":false,"description":"A suggestion for use with RCS messages","properties":{"action":{"additionalProperties":false,"oneOf":[{"required":["dialAction"]},{"required":["openUrlAction"]},{"required":["createCalendarEventAction"]},{"required":["viewLocationAction"]},{"required":["shareLocationAction"]}],"properties":{"createCalendarEventAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.calendar"},"dialAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.dial"},"fallbackUrl":{"type":"string"},"openUrlAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.open_url"},"postbackData":{"minLength":1,"type":"string"},"shareLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.share_location"},"text":{"maxLength":25,"minLength":1,"type":"string"},"type":{"enum":["openUrl","dial","createCalendarEvent","viewLocation","shareLocation"],"type":"string"},"viewLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.view_location"}},"required":["type","text","postbackData"],"type":"object"},"id":{"type":"string"},"reply":{"additionalProperties":false,"properties":{"postbackData":{"minLength":1,"type":"string"},"text":{"maxLength":25,"type":"string"}},"required":["text","postbackData"],"type":"object"},"type":{"enum":["reply","action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.suggestion.action.calendar":{"additionalProperties":false,"properties":{"description":{"type":"string"},"end":{"format":"date-time","type":"string"},"start":{"format":"date-time","type":"string"},"title":{"type":"string"}},"required":["title","description","start","end"],"type":"object"},"touchpoints.rcs.suggestion.action.dial":{"additionalProperties":false,"properties":{"phoneNumber":{"description":"The phone number in E.164 format, for example, +12223334444","type":"string"}},"required":["phoneNumber"],"type":"object"},"touchpoints.rcs.suggestion.action.open_url":{"additionalProperties":false,"properties":{"application":{"description":"URL open application","enum":["browser","webview"],"type":"string"},"description":{"description":"Accessibility description for webview","type":"string"},"url":{"description":"URL","type":"string"},"webviewViewMode":{"description":"View mode for webview","enum":["full","half","tall"],"type":"string"}},"required":["url"],"type":"object"},"touchpoints.rcs.suggestion.action.share_location":{"additionalProperties":false,"type":"object"},"touchpoints.rcs.suggestion.action.view_location":{"additionalProperties":false,"properties":{"label":{"description":"(Optional) The label of the pin dropped at latLong.","type":"string"},"latLong":{"additionalProperties":false,"description":"(Optional, only supported on Android Messages clients) Rather than specify a latLong (and optionally, a label), the agent can instead specify a query string.","properties":{"latitude":{"description":"The latitude of the location.","type":"string"},"longitude":{"description":"The longitude of the location.","type":"string"}},"required":["latitude","longitude"],"type":"object"},"query":{"description":"(Optional) The query to search for.","type":"string"}},"type":"object"},"touchpoints.rcs.carousel":{"additionalProperties":false,"description":"A product block used for RCS carousel.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsCarousel":{"additionalProperties":false,"properties":{"cardWidth":{"enum":["small","medium"],"type":"string"},"cards":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"type":"array"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"}},"required":["cardWidth","cards"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-carousel"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.rich_message":{"additionalProperties":false,"description":"A block used for a combination of text, media and suggestions.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichMessage":{"additionalProperties":false,"anyOf":[{"required":["text"]},{"required":["media"]}],"properties":{"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"text":{"minLength":1,"nullable":true,"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-message"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.app_inbox.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"appInboxMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"basicContent":{"properties":{"body":{"maxLength":240,"minLength":1,"type":"string"},"title":{"maxLength":65,"minLength":1,"type":"string"}},"required":["title","body"],"type":"object"},"type":{"type":"string"}},"type":"object"}},"required":["v1"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["app-inbox-message"],"type":"string"}},"required":["type","appInboxMessage"],"type":"object"},"PlatformContent":{"type":"object","required":["platform","blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"platform":{"type":"string","minLength":1},"channelIds":{"type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"channelGroupIds":{"description":"This field contains the channel group ids that will be used for template approval.\n","type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}},"approvals":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Approval"}}}},"Approval":{"type":"object","additionalProperties":false,"required":["approvalReference"],"properties":{"approvalReference":{"type":"string","format":"uuid"},"channelId":{"description":"This field contains the channel id that this approval\napplies to. Please check for channelIds first. If\nit's empty, then this field should be checked for\nbackwards compatibility.\n","deprecated":true,"type":"string","format":"uuid","nullable":true},"platformReference":{"type":"string"},"platformAccountIdentifier":{"type":"string","nullable":true},"reason":{"type":"string","description":"The reason why this template was rejected. This field is deprecated,\nuse reasonCode instead.\n","deprecated":true},"reasonCode":{"type":"string","nullable":true,"description":"A list of known status change reasons, most commonly used to find out\nthe template approval rejection reason. If the original reason is unknown,\nthe value will be \"unknown\".\n","enum":["whatsapp_scam","whatsapp_invalid_format","whatsapp_incorrect_category","whatsapp_none","whatsapp_promotional","whatsapp_tag_content_mismatch","whatsapp_abusive_content","whatsapp_fallback","unknown"]},"reasonDescription":{"type":"string","nullable":true,"description":"If available, will contain a descriptive message of the reason the platform's\nstatus was updated to its value in platformStatus property. If reasonDescription\nis not available, or it's null, the description should be based on\nreasonCode field. This field will likely contain a more accurate description of the\nstatus change reason when the reasonCode field is \"unknown\".\n"},"status":{"type":"string","enum":["pending","approved","rejected","blocked","deleted"]},"platformStatus":{"type":"string","nullable":true,"description":"A list of known status that reflect the platform's actual status.\nThey are mapped from the original platform event if known. Otherwise,\nthis field's value will be \"unknown\".\n","enum":["whatsapp_approved","whatsapp_rejected","whatsapp_flagged","whatsapp_disabled","whatsapp_in_appeal","whatsapp_reinstated","whatsapp_paused","unknown"]},"channelIds":{"description":"This field is a reference to multiple channel ids that\nthis approval applies to. If this field is populated\nwith one or more IDs, then it should be used\ninstead of channelId. Notice that in this case,\nchannelId will most likely be not present or null.\n","type":"array","items":{"type":"string","format":"uuid"}},"channelGroupId":{"description":"This field contains the channel group id for this approval.\nIt means that this approval applies to all channels in the group.\n","type":"string","format":"uuid","nullable":true},"platform":{"type":"string","nullable":true}}},"PlatformList":{"type":"array","nullable":true,"items":{"type":"string","enum":["all","apple-business-chat","sms-messagebird","facebook-messenger","google-business-messages","instagram","whatsapp","email-sparkpost","chat","push-notifications","rcs-google","linkedin","line","app-inbox","in-app-messages"]}},"ShortLinks":{"type":"object","properties":{"enabled":{"type":"boolean"},"domain":{"type":"string"}},"required":["Enabled","Domain"]},"ChannelTemplate":{"type":"object","additionalProperties":false,"required":["id","projectId","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"localeStatuses":{"type":"object","additionalProperties":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]}},"platformInfo":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PlatformState"}},"description":{"type":"string"},"defaultLocale":{"$ref":"#/components/schemas/standard.locale.messaging"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateAsset"}},"styles":{"type":"array","items":{"$ref":"#/components/schemas/Style"}},"deployments":{"type":"array","items":{"$ref":"#/components/schemas/Deployment"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateVariables"}},"genericContent":{"type":"array","items":{"$ref":"#/components/schemas/GenericContent"}},"platformContent":{"type":"array","items":{"$ref":"#/components/schemas/PlatformContent"}},"supportedPlatforms":{"$ref":"#/components/schemas/PlatformList"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"isCloneable":{"type":"boolean"},"editorId":{"type":"string","format":"uuid"},"editorType":{"type":"string"},"publisherId":{"type":"string","format":"uuid","description":"The ID of the user that last published this ChannelTemplate."},"publisherType":{"type":"string","format":"string"},"shortLinks":{"type":"object","nullable":true,"items":{"$ref":"#/components/schemas/ShortLinks"}},"clonedFrom":{"type":"string","nullable":true,"format":"uuid","description":"The ID of the template that this template was cloned from. This field is only present if this template was cloned  from another template.\n"},"metrics":{"type":"object","description":"Metrics for this template."},"reviewInfo":{"$ref":"#/components/schemas/common.review.info"}}},"PlatformState":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"category":{"type":"string"},"qualityRating":{"type":"string","default":"UNKNOWN","description":"Quality rating for WhatsApp templates (GREEN, YELLOW, RED, UNKNOWN)"}}},"common.review.info":{"additionalProperties":false,"description":"Describe the status of an entity that is being reviewed through approval flows.","properties":{"approvalFlowId":{"description":"The ID of the approval flow that triggered the review.","format":"uuid","type":"string"},"approvalRunId":{"description":"The ID of the approval run through which this entity is reviewed.","format":"uuid","type":"string"},"currentStep":{"description":"The current step of the approval flow being evaluated.","type":"number"},"status":{"$ref":"#/components/schemas/common.review.status"}},"required":["approvalFlowId","approvalRunId","status","currentStep"],"type":"object"},"common.review.status":{"description":"The status of the review process.","enum":["pending","approved","rejected"],"type":"string"},"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"},"error.validation":{"additionalProperties":false,"description":"A validation error returned from the API. The `details` map keys are JSON paths\npointing into the request body / parameters; values are arrays of human-readable\nmessages describing each problem with that path.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Per-field validation messages keyed by JSON path.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"ValidationError","type":"object"}},"responses":{"error.response.bad_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The request was malformed."},"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."},"error.response.conflict":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The request conflicts with the current state of the resource."},"error.response.invalid_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.validation"}}},"description":"The request contains invalid parameters or body fields."}}},"paths":{"/workspaces/{workspaceId}/projects/{projectId}/channel-templates":{"post":{"summary":"Create channeltemplate","operationId":"createChannelTemplate","tags":["channeltemplates"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChannelTemplate"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelTemplate"}}}},"400":{"$ref":"#/components/responses/error.response.bad_request"},"404":{"$ref":"#/components/responses/error.response.not_found"},"409":{"$ref":"#/components/responses/error.response.conflict"},"422":{"$ref":"#/components/responses/error.response.invalid_request"}}}}}}
```

## GET /workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}

> Get ChannelTemplate

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"schemas":{"ChannelTemplate":{"type":"object","additionalProperties":false,"required":["id","projectId","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"localeStatuses":{"type":"object","additionalProperties":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]}},"platformInfo":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PlatformState"}},"description":{"type":"string"},"defaultLocale":{"$ref":"#/components/schemas/standard.locale.messaging"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateAsset"}},"styles":{"type":"array","items":{"$ref":"#/components/schemas/Style"}},"deployments":{"type":"array","items":{"$ref":"#/components/schemas/Deployment"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateVariables"}},"genericContent":{"type":"array","items":{"$ref":"#/components/schemas/GenericContent"}},"platformContent":{"type":"array","items":{"$ref":"#/components/schemas/PlatformContent"}},"supportedPlatforms":{"$ref":"#/components/schemas/PlatformList"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"isCloneable":{"type":"boolean"},"editorId":{"type":"string","format":"uuid"},"editorType":{"type":"string"},"publisherId":{"type":"string","format":"uuid","description":"The ID of the user that last published this ChannelTemplate."},"publisherType":{"type":"string","format":"string"},"shortLinks":{"type":"object","nullable":true,"items":{"$ref":"#/components/schemas/ShortLinks"}},"clonedFrom":{"type":"string","nullable":true,"format":"uuid","description":"The ID of the template that this template was cloned from. This field is only present if this template was cloned  from another template.\n"},"metrics":{"type":"object","description":"Metrics for this template."},"reviewInfo":{"$ref":"#/components/schemas/common.review.info"}}},"PlatformState":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"category":{"type":"string"},"qualityRating":{"type":"string","default":"UNKNOWN","description":"Quality rating for WhatsApp templates (GREEN, YELLOW, RED, UNKNOWN)"}}},"standard.locale.messaging":{"description":"Curated set of BCP47 locale identifiers supported by Bird messaging products","enum":["ae-AZ","af","ar","ar-AZ","ar-EG","ar-ID","ar-UA","az","az-AZ","bg","bg-BG","bn","bn-MY","bn-SG","ca","cs","cs-CZ","da","da-DK","de","de-AT","de-CH","de-DE","de-LI","de-LU","ee-GH","el","el-CY","el-GR","en","en-AE","en-AF","en-AG","en-AL","en-AR","en-AS","en-AT","en-AU","en-AW","en-AZ","en-BA","en-BB","en-BD","en-BE","en-BF","en-BG","en-BH","en-BJ","en-BN","en-BO","en-BR","en-BS","en-BW","en-BY","en-BZ","en-CA","en-CD","en-CG","en-CH","en-CI","en-CL","en-CM","en-CN","en-CO","en-CY","en-CZ","en-DE","en-DK","en-DM","en-DO","en-EC","en-EG","en-ES","en-FI","en-FJ","en-FR","en-GB","en-GD","en-GE","en-GH","en-GI","en-GM","en-GR","en-GY","en-HK","en-HR","en-HT","en-HU","en-ID","en-IE","en-IL","en-IN","en-IQ","en-IS","en-IT","en-JM","en-JO","en-JP","en-KE","en-KH","en-KN","en-KR","en-KW","en-KY","en-KZ","en-LA","en-LB","en-LT","en-LV","en-MD","en-MK","en-MM","en-MS","en-MT","en-MV","en-MX","en-MY","en-NG","en-NL","en-NO","en-NP","en-NZ","en-OM","en-PA","en-PE","en-PG","en-PH","en-PK","en-PL","en-PS","en-PT","en-PY","en-QA","en-RO","en-RU","en-RW","en-SA","en-SB","en-SD","en-SE","en-SG","en-SI","en-SK","en-SN","en-SR","en-SS","en-TC","en-TH","en-TN","en-TO","en-TR","en-TT","en-TW","en-UG","en-US","en-UY","en-VC","en-VE","en-VG","en-VN","en-WS","en-YE","en-ZA","en-ZW","es","es-AR","es-BO","es-BR","es-CL","es-CO","es-CR","es-DO","es-EC","es-ES","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PY","es-SV","es-US","es-UY","es-VE","et","et-EE","fa","fi","fi-FI","fil","fr","fr-AE","fr-BE","fr-BF","fr-BJ","fr-CA","fr-CD","fr-CG","fr-CH","fr-CI","fr-CM","fr-FR","fr-GA","fr-GF","fr-LU","fr-MA","fr-MF","fr-MG","fr-ML","fr-NL","fr-PT","fr-SN","fr-TG","ga","gu","ha","he","hi","hi-MY","hi-SG","hr","hr-HR","ht-DO","hu","hu-HU","id","id-HK","id-ID","id-JP","id-SG","it","it-AE","it-BE","it-CH","it-IT","ja","ja-JP","ka","kk","kn","ko","ky-KG","lo","lt","lt-LT","lv","lv-LV","mk","ml","mr","ms","ms-MY","my-JP","my-MY","my-SG","nb","ne-JP","nl","nl-BE","nl-NL","no-NO","pa","pl","pl-PL","pt","pt-AO","pt-BR","pt-PT","ro","ro-MD","ro-RO","ru","ru-BY","ru-KZ","ru-RO","ru-RU","rw-RW","sk","sk-SK","sl","sl-SI","sq","sq-AL","sr","sr-RS","sv","sv-SE","sw","ta","ta-MY","ta-SG","te","th","th-SG","th-TH","tk-TM","tr","tr-TR","uk","uk-UA","ur","uz","uz-UZ","vi","vi-JP","vi-MY","vi-US","zh-CN","zh-HK","zh-JP","zh-SG","zh-TW","zu"],"type":"string"},"ChannelTemplateAsset":{"title":"ChannelTemplateAsset","oneOf":[{"type":"object","properties":{"key":{"type":"string","enum":["logoUrl"]},"isDefault":{"type":"boolean"},"valueString":{"type":"string"}}}]},"Style":{"oneOf":[{"$ref":"#/components/schemas/ValueString"},{"$ref":"#/components/schemas/ValueStringArray"},{"$ref":"#/components/schemas/ValueConfigurationPair"},{"$ref":"#/components/schemas/ValueConfigurationPairArray"},{"$ref":"#/components/schemas/ValueBoolean"},{"$ref":"#/components/schemas/ValueBooleanArray"},{"$ref":"#/components/schemas/ValueFloat"},{"$ref":"#/components/schemas/ValueFloatArray"},{"$ref":"#/components/schemas/ValueInteger"},{"$ref":"#/components/schemas/ValueIntegerArray"}]},"ValueString":{"type":"object","additionalProperties":false,"required":["key","valueString"],"properties":{"key":{"type":"string"},"valueString":{"type":"string"},"isDefault":{"type":"boolean","nullable":true}}},"ValueStringArray":{"type":"object","additionalProperties":false,"required":["key","valueStringArray"],"properties":{"key":{"type":"string"},"valueStringArray":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPair":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPair"],"properties":{"key":{"type":"string"},"valueConfigurationPair":{"type":"object","additionalProperties":true},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPairArray":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPairArray"],"properties":{"key":{"type":"string"},"valueConfigurationPairArray":{"type":"array","items":{"type":"object","additionalProperties":true}},"isDefault":{"type":"boolean","nullable":true}}},"ValueBoolean":{"type":"object","additionalProperties":false,"required":["key","valueBoolean"],"properties":{"key":{"type":"string"},"valueBoolean":{"type":"boolean"},"isDefault":{"type":"boolean","nullable":true}}},"ValueBooleanArray":{"type":"object","additionalProperties":false,"required":["key","valueBooleanArray"],"properties":{"key":{"type":"string"},"valueBooleanArray":{"type":"array","items":{"type":"boolean"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloat":{"type":"object","additionalProperties":false,"required":["key","valueFloat"],"properties":{"key":{"type":"string"},"floatValue":{"type":"number","format":"float"},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloatArray":{"type":"object","additionalProperties":false,"required":["key","valueFloatArray"],"properties":{"key":{"type":"string"},"floatValueArray":{"type":"array","items":{"type":"number","format":"float"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueInteger":{"type":"object","additionalProperties":false,"required":["key","valueInteger"],"properties":{"key":{"type":"string"},"valueInteger":{"type":"number"},"isDefault":{"type":"boolean","nullable":true}}},"ValueIntegerArray":{"type":"object","additionalProperties":false,"required":["key","valueIntegerArray"],"properties":{"key":{"type":"string"},"valueIntegerArray":{"type":"array","items":{"type":"number"}},"isDefault":{"type":"boolean","nullable":true}}},"Deployment":{"type":"object","additionalProperties":false,"required":["key","value"],"properties":{"key":{"type":"string","enum":["whatsappCategory","whatsappTemplateName","whatsappAllowCategoryChange","whatsappMessageSendTTLSeconds"],"minLength":1},"value":{"type":"string","minLength":1},"locale":{"type":"string","nullable":true,"description":"This property is deprecated, please use platformContent locale instead."},"platform":{"type":"string","nullable":true},"channelIds":{"type":"array","nullable":true,"description":"List of channel ids to which this deployment is applied. this property is deprecated, please use platformContent channelIds instead.","deprecated":true,"items":{"type":"string","format":"uuid"}}}},"ChannelTemplateVariables":{"type":"object","title":"ChannelTemplateVariables","additionalProperties":false,"required":["key","type"],"properties":{"key":{"type":"string","pattern":"^[A-Za-z0-9._-]+$"},"description":{"type":"string","maxLength":255},"type":{"type":"string","enum":["string","sectionList","timeslotList","systemVariable","productList","productSections","shippingMethodList","shortLink","whatsappProductSections","lineItemList","whatsappProductItems","carouselCards","appleFormPageItems"]},"format":{"type":"string","default":"none","enum":["none"]},"sourceUrl":{"type":"object","properties":{"fullyReplaced":{"type":"boolean"},"value":{"type":"string"}},"required":["fullyReplaced","value"]},"characterLimit":{"type":"integer","nullable":true,"minimum":1,"maximum":160},"examplesLocale":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"exampleValueStrings":{"nullable":true,"type":"array","items":{"type":"string"}},"exampleValues":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.sections"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.product"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"productSections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"lineItems":{"$ref":"#/components/schemas/touchpoints.apple.line_items"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"cards":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"items":{"$ref":"#/components/schemas/touchpoints.apple.form.page_items"}}}}]}}}}}},"touchpoints.sections":{"items":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.reply_action"},"type":"array"},"multipleSelection":{"type":"boolean"},"title":{"type":"string"}},"required":["title","items"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.reply_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"replyAction":{"properties":{"imageUrl":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"role":{"type":"string"},"type":{"enum":["reply-action"],"type":"string"}},"required":["type","replyAction"],"type":"object"},"touchpoints.timeslots":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"id":{"nullable":true,"type":"string"},"startTime":{"format":"date-time","type":"string"}},"required":["startTime","duration"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"product":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"externalProductId":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product"],"type":"string"}},"required":["type","product"],"type":"object"},"touchpoints.product.sections.object":{"items":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.product.object"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product.object":{"additionalProperties":false,"properties":{"externalProductId":{"nullable":false,"type":"string"}},"required":["externalProductId"],"type":"object"},"touchpoints.apple.shipping_methods":{"items":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"detail":{"type":"string"},"identifier":{"type":"string"},"label":{"type":"string"}},"required":["amount","label","identifier","detail"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.whatsapp.product.section":{"additionalProperties":false,"description":"A WhatsApp specific product section block used for grouping products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-section"],"type":"string"},"whatsappProductSection":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"}},"required":["type","whatsappProductSection"],"type":"object"},"touchpoints.whatsapp.product.item":{"additionalProperties":false,"description":"A product block used for WhatsApp product.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-item"],"type":"string"},"whatsappProductItem":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"required":["type","whatsappProductItem"],"type":"object"},"touchpoints.apple.line_items":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"nullable":true,"type":"array"},"touchpoints.apple.line_item":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"id":{"nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"required":["amount","text"],"type":"object"},"touchpoints.whatsapp.carousel.card":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel-card"],"type":"string"},"whatsappCarouselCard":{"additionalProperties":false,"properties":{"actions":{"description":"Approved templates support up to 2 actions per card (link-action, reply-action, or call-phone-number-action). Session carousels only support one CTA URL button per card (enforced at runtime).","items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":2,"minItems":1,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["header","body","actions"],"type":"object"}},"required":["type","whatsappCarouselCard"],"type":"object"},"touchpoints.link_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"linkAction":{"properties":{"text":{"type":"string"},"url":{"anyOf":[{"pattern":"{{[^{}]+}}","type":"string"},{"format":"uri","type":"string"}]}},"required":["text","url"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["link-action"],"type":"string"}},"required":["type","linkAction"],"type":"object"},"touchpoints.action.call_phone_number":{"additionalProperties":false,"properties":{"callPhoneNumberAction":{"additionalProperties":false,"properties":{"phoneNumber":{"maxLength":20,"minLength":1,"type":"string"},"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text","phoneNumber"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["call-phone-number-action"],"type":"string"}},"required":["type","callPhoneNumberAction"],"type":"object"},"touchpoints.text":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"text":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},"touchpoints.image":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"image":{"additionalProperties":false,"properties":{"altText":{"description":"altText with image headers is not supported. If passed, it will default to a footer instead","type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["image"],"type":"string"}},"required":["type","image"],"type":"object"},"touchpoints.file":{"additionalProperties":false,"properties":{"file":{"additionalProperties":false,"properties":{"altText":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl","contentType"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["file"],"type":"string"}},"required":["type","file"],"type":"object"},"touchpoints.apple.form.page_items":{"items":{"additionalProperties":false,"properties":{"identifier":{"description":"Unique identifier for the item.","type":"string"},"imageUrl":{"description":"Optional image URL for the item.","nullable":true,"type":"string"},"nextPageIdentifier":{"description":"Identifier of the next page to navigate to when this item is selected.","nullable":true,"type":"string"},"title":{"description":"Display label shown to the user.","type":"string"},"value":{"description":"Value submitted when the item is selected.","type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"GenericContent":{"type":"object","required":["blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}}}},"touchpoints.block":{"allOf":[{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"maxLength":100,"nullable":true,"type":"string"},"role":{"type":"string"},"type":{"enum":["action","carousel","list","file","html","image","location","text","layout","link-action","reply-action","authentication-body","authentication-action","apple-rich-link","apple-list-picker","apple-time-picker","apple-form","apple-apple-pay","apple-authentication","apple-quick-reply","apple-i-message","product","product-list","product-sections","multi-product-action","copy-code-action","call-phone-number-action","voice-call-action","open-catalog-action","limited-time-offer","whatsapp-catalog","whatsapp-product","whatsapp-product-list","whatsapp-coupon","whatsapp-multi-product","whatsapp-carousel","whatsapp-carousel-card","whatsapp-limited-time-offer","whatsapp-flow-action","whatsapp-product-item","whatsapp-flow","push-notifications-message","whatsapp-product-sections","whatsapp-product-section","rcs-basic-text","rcs-rich-card","rcs-carousel","rcs-rich-message","whatsapp-product-items","app-inbox-message"],"type":"string"}},"required":["type"],"type":"object"},{"discriminator":{"mapping":{"action":"#/components/schemas/touchpoints.action","app-inbox-message":"#/components/schemas/touchpoints.app_inbox.message","apple-apple-pay":"#/components/schemas/touchpoints.apple.pay","apple-authentication":"#/components/schemas/touchpoints.apple.authentication","apple-form":"#/components/schemas/touchpoints.apple.form","apple-i-message":"#/components/schemas/touchpoints.apple.imessage","apple-list-picker":"#/components/schemas/touchpoints.apple.list_picker","apple-quick-reply":"#/components/schemas/touchpoints.apple.quick_reply","apple-rich-link":"#/components/schemas/touchpoints.apple.rich_link","apple-time-picker":"#/components/schemas/touchpoints.apple.time_picker","authentication-action":"#/components/schemas/touchpoints.authentication.action","authentication-body":"#/components/schemas/touchpoints.authentication.body","call-phone-number-action":"#/components/schemas/touchpoints.action.call_phone_number","carousel":"#/components/schemas/touchpoints.carousel","copy-code-action":"#/components/schemas/touchpoints.action.copy_code","file":"#/components/schemas/touchpoints.file","html":"#/components/schemas/touchpoints.html","image":"#/components/schemas/touchpoints.image","layout":"#/components/schemas/touchpoints.layout","limited-time-offer":"#/components/schemas/touchpoints.limited_time_offer","link-action":"#/components/schemas/touchpoints.link_action","list":"#/components/schemas/touchpoints.list","location":"#/components/schemas/touchpoints.location","multi-product-action":"#/components/schemas/touchpoints.action.multi_product","open-catalog-action":"#/components/schemas/touchpoints.action.open_catalog","product":"#/components/schemas/touchpoints.product","product-list":"#/components/schemas/touchpoints.product.list","product-sections":"#/components/schemas/touchpoints.product.sections","push-notifications-message":"#/components/schemas/touchpoints.push_notification.message","rcs-basic-text":"#/components/schemas/touchpoints.rcs.basic_text","rcs-carousel":"#/components/schemas/touchpoints.rcs.carousel","rcs-rich-card":"#/components/schemas/touchpoints.rcs.rich_card","rcs-rich-message":"#/components/schemas/touchpoints.rcs.rich_message","reply-action":"#/components/schemas/touchpoints.reply_action","text":"#/components/schemas/touchpoints.text","voice-call-action":"#/components/schemas/touchpoints.action.voice_call","whatsapp-carousel":"#/components/schemas/touchpoints.whatsapp.carousel","whatsapp-carousel-card":"#/components/schemas/touchpoints.whatsapp.carousel.card","whatsapp-catalog":"#/components/schemas/touchpoints.whatsapp.catalog","whatsapp-coupon":"#/components/schemas/touchpoints.whatsapp.coupon","whatsapp-flow":"#/components/schemas/touchpoints.whatsapp.flow","whatsapp-flow-action":"#/components/schemas/touchpoints.whatsapp.flow.action","whatsapp-limited-time-offer":"#/components/schemas/touchpoints.whatsapp.limited_time_offer","whatsapp-multi-product":"#/components/schemas/touchpoints.whatsapp.multi_product","whatsapp-product":"#/components/schemas/touchpoints.whatsapp.product","whatsapp-product-item":"#/components/schemas/touchpoints.whatsapp.product.item","whatsapp-product-items":"#/components/schemas/touchpoints.whatsapp.product.items","whatsapp-product-list":"#/components/schemas/touchpoints.whatsapp.product.list","whatsapp-product-section":"#/components/schemas/touchpoints.whatsapp.product.section","whatsapp-product-sections":"#/components/schemas/touchpoints.whatsapp.product.sections"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.carousel"},{"$ref":"#/components/schemas/touchpoints.list"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.html"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.location"},{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.layout"},{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.authentication.body"},{"$ref":"#/components/schemas/touchpoints.authentication.action"},{"$ref":"#/components/schemas/touchpoints.apple.rich_link"},{"$ref":"#/components/schemas/touchpoints.apple.list_picker"},{"$ref":"#/components/schemas/touchpoints.apple.time_picker"},{"$ref":"#/components/schemas/touchpoints.apple.form"},{"$ref":"#/components/schemas/touchpoints.apple.pay"},{"$ref":"#/components/schemas/touchpoints.apple.authentication"},{"$ref":"#/components/schemas/touchpoints.apple.quick_reply"},{"$ref":"#/components/schemas/touchpoints.apple.imessage"},{"$ref":"#/components/schemas/touchpoints.product"},{"$ref":"#/components/schemas/touchpoints.product.list"},{"$ref":"#/components/schemas/touchpoints.product.sections"},{"$ref":"#/components/schemas/touchpoints.action.multi_product"},{"$ref":"#/components/schemas/touchpoints.action.copy_code"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"},{"$ref":"#/components/schemas/touchpoints.action.voice_call"},{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.catalog"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.list"},{"$ref":"#/components/schemas/touchpoints.whatsapp.coupon"},{"$ref":"#/components/schemas/touchpoints.whatsapp.multi_product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},{"$ref":"#/components/schemas/touchpoints.whatsapp.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow"},{"$ref":"#/components/schemas/touchpoints.push_notification.message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},{"$ref":"#/components/schemas/touchpoints.rcs.basic_text"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_card"},{"$ref":"#/components/schemas/touchpoints.rcs.carousel"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.app_inbox.message"}]}],"type":"object"},"touchpoints.action":{"properties":{"action":{"$ref":"#/components/schemas/channels.messages.actions.action"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["action"],"type":"string"}},"required":["type","action"],"type":"object"},"channels.messages.actions.action":{"discriminator":{"mapping":{"buy":"#/components/schemas/channels.messages.actions.action__variant__buy","link":"#/components/schemas/channels.messages.actions.action__variant__link","locationRequest":"#/components/schemas/channels.messages.actions.action__variant__locationRequest","postback":"#/components/schemas/channels.messages.actions.action__variant__postback","reply":"#/components/schemas/channels.messages.actions.action__variant__reply"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/channels.messages.actions.action__variant__link"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__reply"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__locationRequest"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__buy"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__postback"}]},"channels.messages.actions.action__variant__link":{"properties":{"link":{"$ref":"#/components/schemas/channels.messages.actions.link"},"type":{"enum":["link"],"type":"string"}},"required":["link","type"],"type":"object"},"channels.messages.actions.link":{"properties":{"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_link"},"text":{"type":"string"},"url":{"type":"string"}},"required":["text","url"],"type":"object"},"channels.messages.metadata.action_link":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.metadata.action_description":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"},"channels.messages.actions.action__variant__reply":{"properties":{"reply":{"$ref":"#/components/schemas/channels.messages.actions.reply"},"type":{"enum":["reply"],"type":"string"}},"required":["reply","type"],"type":"object"},"channels.messages.actions.reply":{"properties":{"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_reply"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.metadata.action_reply":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.actions.action__variant__locationRequest":{"properties":{"locationRequest":{"$ref":"#/components/schemas/channels.messages.actions.location_request"},"type":{"enum":["locationRequest"],"type":"string"}},"required":["type"],"type":"object"},"channels.messages.actions.location_request":{"properties":{"text":{"type":"string"}},"type":"object"},"channels.messages.actions.action__variant__buy":{"properties":{"buy":{"$ref":"#/components/schemas/channels.messages.actions.buy"},"type":{"enum":["buy"],"type":"string"}},"required":["buy","type"],"type":"object"},"channels.messages.actions.buy":{"properties":{"amountCents":{"format":"int64","type":"integer"},"currency":{"type":"string"},"text":{"type":"string"}},"required":["text","amountCents","currency"],"type":"object"},"channels.messages.actions.action__variant__postback":{"properties":{"postback":{"$ref":"#/components/schemas/channels.messages.actions.postback"},"type":{"enum":["postback"],"type":"string"}},"required":["postback","type"],"type":"object"},"channels.messages.actions.postback":{"properties":{"handshake":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake"},"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_postback"},"otpType":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.actions.postback_handshake":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"},"supportedApps":{"items":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake_supported_app"},"type":"array"},"text":{"type":"string"},"zeroTapTermsAccepted":{"type":"boolean"}},"required":["text","packageName","signatureHash","zeroTapTermsAccepted"],"type":"object"},"channels.messages.actions.postback_handshake_supported_app":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"channels.messages.metadata.action_postback":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"touchpoints.carousel":{"additionalProperties":false,"properties":{"carousel":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"}},"required":["items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["carousel"],"type":"string"}},"required":["type","carousel"],"type":"object"},"touchpoints.item":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"mediaUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.list":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"list":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"},"text":{"type":"string"},"title":{"type":"string"}},"required":["items"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["list"],"type":"string"}},"required":["type","list"],"type":"object"},"touchpoints.html":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"html":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["html"],"type":"string"}},"required":["type","html"],"type":"object"},"touchpoints.location":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["location"],"type":"string"}},"required":["type","location"],"type":"object"},"touchpoints.layout":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"layout":{"additionalProperties":false,"properties":{"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.text"}]},"maxItems":4,"minItems":1,"type":"array"},"layout":{"enum":["left","center","right"],"type":"string"}},"required":["layout","blocks"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["layout"],"type":"string"}},"required":["type","layout"],"type":"object"},"touchpoints.authentication.body":{"additionalProperties":false,"description":"An authentication body block used for authentication templates.","properties":{"authenticationBody":{"additionalProperties":false,"properties":{"addSecurityDisclaimer":{"description":"Whether to add a security disclaimer to the authentication body.","nullable":false,"type":"boolean"},"expirationTime":{"description":"The number of seconds after which the authentication body will expire. If not set, no expiration notification will be sent.","maximum":90,"minimum":1,"nullable":true,"type":"integer"},"messageSendTtlSeconds":{"description":"The number of seconds after which the message will expire. If not set, the message will not expire.","maximum":86400,"minimum":1,"nullable":true,"type":"integer"}},"required":["addSecurityDisclaimer"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-body"],"type":"string"}},"required":["type","authenticationBody"],"type":"object"},"touchpoints.authentication.action":{"additionalProperties":false,"description":"An authentication action block used for authentication templates.","properties":{"authenticationAction":{"additionalProperties":false,"properties":{"oneTap":{"additionalProperties":false,"description":"The one-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"androidPackageName":{"description":"The Android package name of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"},"androidSignatureHash":{"description":"The Android signature hash of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"}},"required":["androidPackageName","androidSignatureHash"],"type":"object"},"zeroTap":{"additionalProperties":false,"description":"The zero-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"supportedApps":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.supported_app"},"type":"array"},"zeroTapTermsAccepted":{"description":"Indicates if the user has accepted the terms and conditions for zero-tap authentication.\n","nullable":false,"type":"boolean"}},"required":["supportedApps"],"type":"object"}},"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.whatsapp.supported_app":{"additionalProperties":false,"properties":{"packageName":{"description":"The package name of the app that will be used for authentication.\n","nullable":false,"type":"string"},"signatureHash":{"description":"The signature hash of the app that will be used for authentication.\n","nullable":false,"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"touchpoints.apple.rich_link":{"additionalProperties":false,"description":"An apple rich link block.","properties":{"appleRichLink":{"additionalProperties":false,"properties":{"imageUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"url":{"format":"uri","nullable":false,"type":"string"},"videoUrl":{"format":"uri","nullable":true,"type":"string"}},"required":["url","title"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-rich-link"],"type":"string"}},"required":["type","appleRichLink"],"type":"object"},"touchpoints.apple.list_picker":{"additionalProperties":false,"properties":{"appleListPicker":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"sectionList":{"$ref":"#/components/schemas/touchpoints.section_list"}},"required":["receivedMessage","replyMessage","sectionList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-list-picker"],"type":"string"}},"required":["type","appleListPicker"],"type":"object"},"touchpoints.apple.display_message":{"additionalProperties":false,"properties":{"imageSubtitle":{"type":"string"},"imageTitle":{"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"secondaryTitle":{"type":"string"},"style":{"enum":["icon","small","large"],"type":"string"},"subtitle":{"type":"string"},"tertiaryTitle":{"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.section_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"sections":{"$ref":"#/components/schemas/touchpoints.sections"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.time_picker":{"additionalProperties":false,"properties":{"appleTimePicker":{"additionalProperties":false,"properties":{"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"timeslotList":{"$ref":"#/components/schemas/touchpoints.timeslot_list"},"timezoneOffset":{"pattern":"^[A-Za-z]+/[A-Za-z_]+$","type":"string"}},"required":["receivedMessage","replyMessage","timeslotList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-time-picker"],"type":"string"}},"required":["type","appleTimePicker"],"type":"object"},"touchpoints.timeslot_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.form":{"additionalProperties":false,"properties":{"appleForm":{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"pages":{"items":{"additionalProperties":false,"properties":{"hintText":{"type":"string"},"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"imageUrl":{"type":"string"},"nextPageIdentifier":{"type":"string"},"title":{"type":"string"},"value":{"type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"itemsListingType":{"enum":["static","dynamic"],"type":"string"},"itemsParameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"multipleSelection":{"type":"boolean"},"nextPageIdentifier":{"type":"string"},"options":{"additionalProperties":false,"properties":{"dateFormat":{"type":"string"},"inputType":{"type":"string"},"keyboardType":{"type":"string"},"maximumCharacterCount":{"oneOf":[{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},{"pattern":"^[0-9]+$","type":"string"},{"pattern":"^$","type":"string"}]},"maximumDate":{"type":"string"},"minimumDate":{"type":"string"},"required":{"type":"boolean"},"startDate":{"type":"string"}},"type":"object"},"pageIdentifier":{"type":"string"},"pickerTitle":{"type":"string"},"submitForm":{"type":"boolean"},"subtitle":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"}},"required":["pageIdentifier","type"],"type":"object"},"type":"array"},"showSummary":{"type":"boolean"},"splash":{"additionalProperties":false,"properties":{"buttonTitle":{"type":"string"},"header":{"type":"string"},"imageUrl":{"type":"string"},"splashText":{"type":"string"}},"required":["header","splashText","buttonTitle"],"type":"object"},"startPageIdentifier":{"type":"string"}},"required":["splash","pages"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage","data"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-form"],"type":"string"}},"required":["type","appleForm"],"type":"object"},"touchpoints.apple.pay":{"additionalProperties":false,"properties":{"appleApplePay":{"additionalProperties":false,"properties":{"currencyCode":{"type":"string"},"lineItemList":{"$ref":"#/components/schemas/touchpoints.apple.line_item_list"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"requiredBillingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"requiredShippingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"shippingMethodList":{"$ref":"#/components/schemas/touchpoints.apple.shipping_method_list"},"totalCost":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"nullable":true,"type":"string"}},"type":"object"}},"required":["receivedMessage","lineItemList","totalCost","currencyCode"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-apple-pay"],"type":"string"}},"required":["type","appleApplePay"],"type":"object"},"touchpoints.apple.line_item_list":{"oneOf":[{"additionalProperties":false,"properties":{"lineItems":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"type":"array"},"parameterKey":{"type":"string"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","lineItems"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.apple.shipping_method_list":{"additionalProperties":false,"nullable":true,"properties":{"parameterKey":{"type":"string"},"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.authentication":{"additionalProperties":false,"properties":{"appleAuthentication":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-authentication"],"type":"string"}},"required":["type","appleAuthentication"],"type":"object"},"touchpoints.apple.quick_reply":{"additionalProperties":false,"properties":{"appleQuickReply":{"additionalProperties":false,"properties":{"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"}},"required":["identifier","title"],"type":"object"},"maxItems":5,"minItems":1,"type":"array"},"summary":{"type":"string"}},"required":["summary","items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-quick-reply"],"type":"string"}},"required":["type","appleQuickReply"],"type":"object"},"touchpoints.apple.imessage":{"additionalProperties":false,"properties":{"appleIMessage":{"additionalProperties":false,"properties":{"appId":{"type":"string"},"appName":{"type":"string"},"bid":{"type":"string"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"url":{"type":"string"},"useLiveLayout":{"type":"boolean"}},"required":["appId","appName","receivedMessage","url","bid","useLiveLayout"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-i-message"],"type":"string"}},"required":["type","appleIMessage"],"type":"object"},"touchpoints.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productList":{"$ref":"#/components/schemas/touchpoints.product.list.object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-list"],"type":"string"}},"required":["id","type","productList"],"type":"object"},"touchpoints.product.list.object":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.product"},"type":"array"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.product.sections":{"additionalProperties":false,"description":"A product sectioned list block used for commerce product sectioned listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-sections"],"type":"string"}},"required":["type","productSections"],"type":"object"},"touchpoints.action.multi_product":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"multiProductAction":{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"productList":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"productSections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"thumbnailExternalProductId":{"type":"string"}},"required":["parameterKey"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["multi-product-action"],"type":"string"}},"required":["type","multiProductAction"],"type":"object"},"touchpoints.action.copy_code":{"additionalProperties":false,"properties":{"copyCodeAction":{"additionalProperties":false,"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["copy-code-action"],"type":"string"}},"required":["type","copyCodeAction"],"type":"object"},"touchpoints.action.voice_call":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["voice-call-action"],"type":"string"},"voiceCallAction":{"additionalProperties":false,"properties":{"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}},"required":["type","voiceCallAction"],"type":"object"},"touchpoints.action.open_catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"openCatalogAction":{"additionalProperties":false,"properties":{"thumbnail":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["open-catalog-action"],"type":"string"}},"required":["type","openCatalogAction"],"type":"object"},"touchpoints.limited_time_offer":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"limitedTimeOffer":{"additionalProperties":false,"properties":{"expiresAt":{"nullable":true,"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["limited-time-offer"],"type":"string"}},"required":["type","limitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-catalog"],"type":"string"},"whatsappCatalog":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["body","action"],"type":"object"}},"required":["type","whatsappCatalog"],"type":"object"},"touchpoints.whatsapp.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product"],"type":"string"},"whatsappProduct":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"product":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}},"type":"object"}},"required":["type","whatsappProduct"],"type":"object"},"touchpoints.whatsapp.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-list"],"type":"string"},"whatsappProductList":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"},"products":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"}]}},"required":["header","body","products"],"type":"object"}},"required":["type","whatsappProductList"],"type":"object"},"touchpoints.whatsapp.product.items":{"additionalProperties":false,"description":"A list of WhatsApp products.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-items"],"type":"string"},"whatsappProductItems":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductItems"],"type":"object"},"touchpoints.whatsapp.product.sections":{"additionalProperties":false,"description":"A WhatsApp specific product sectioned list block used for showing products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-sections"],"type":"string"},"whatsappProductSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductSections"],"type":"object"},"touchpoints.whatsapp.coupon":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-coupon"],"type":"string"},"whatsappCoupon":{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":9,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["body","couponAction"],"type":"object"}},"required":["type","whatsappCoupon"],"type":"object"},"touchpoints.whatsapp.multi_product":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-multi-product"],"type":"string"},"whatsappMultiProduct":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.multi_product"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["header","body","action"],"type":"object"}},"required":["type","whatsappMultiProduct"],"type":"object"},"touchpoints.whatsapp.carousel":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel"],"type":"string"},"whatsappCarousel":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"cards":{"description":"Static card definitions. For hybrid mode, these are first cards followed by dynamic cards.","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},"maxItems":10,"minItems":0,"type":"array"},"cardsParameterKey":{"description":"Parameter key for dynamic cards. Required when cardsType is dynamic or hybrid.","type":"string"},"cardsType":{"description":"Type of cards - static (all inline), dynamic (all from parameter), or hybrid (static + dynamic appended). Defaults to static.","enum":["static","dynamic","hybrid"],"type":"string"}},"required":["body"],"type":"object"}},"required":["type","whatsappCarousel"],"type":"object"},"touchpoints.whatsapp.limited_time_offer":{"additionalProperties":false,"description":"A limited-time offer block to display messages with expiration date, countdown and promotional codes.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-limited-time-offer"],"type":"string"},"whatsappLimitedTimeOffer":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]},"limitedTimeOffer":{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},"linkAction":{"$ref":"#/components/schemas/touchpoints.link_action"}},"required":["body","limitedTimeOffer","linkAction"],"type":"object"}},"required":["type","whatsappLimitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.flow.action":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow-action"],"type":"string"},"whatsappFlowAction":{"oneOf":[{"additionalProperties":false,"properties":{"actionPayload":{"additionalProperties":false,"properties":{"data":{"additionalProperties":true,"nullable":true,"type":"object"},"screen":{"type":"string"}},"type":"object"},"actionType":{"enum":["navigate"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"},{"additionalProperties":false,"properties":{"actionType":{"enum":["data_exchange"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"}]}},"required":["type","whatsappFlowAction"],"type":"object"},"touchpoints.whatsapp.flow":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow"],"type":"string"},"whatsappFlow":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.text"}]}},"required":["body","action"],"type":"object"}},"required":["type","whatsappFlow"],"type":"object"},"touchpoints.push_notification.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"pushNotificationsMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customConfiguration":{"additionalProperties":false,"properties":{"apns":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customCategory":{"type":"string"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"firebase":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"web":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"}},"type":"object"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subtitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"required":["tapAction"],"type":"object"}},"required":["v1"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["push-notifications-message"],"type":"string"}},"required":["type","pushNotificationsMessage"],"type":"object"},"touchpoints.push_notification_action":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"},"type":{"enum":["OPEN_APP","URL","DEEP_LINK"],"type":"string"},"uri":{"format":"uri","type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.basic_text":{"additionalProperties":false,"description":"Block structure for RCS Basic Text. Supports up to 160 UTF-8 characters.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsBasicText":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-basic-text"],"type":"string"}},"required":["type","rcsBasicText"],"type":"object"},"touchpoints.rcs.rich_card":{"additionalProperties":false,"description":"A product block used for RCS Rich cards.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichCard":{"additionalProperties":false,"properties":{"card":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"orientation":{"enum":["vertical","horizontal"],"type":"string"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"thumbnailImageAlignment":{"enum":["left","right"],"type":"string"}},"required":["orientation","thumbnailImageAlignment","card"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-card"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.card":{"additionalProperties":false,"description":"A a RCS card used in RCS Carousel or as a standalone card","properties":{"description":{"type":"string"},"id":{"type":"string"},"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":4,"type":"array"},"title":{"type":"string"}},"type":"object"},"touchpoints.rcs.media":{"additionalProperties":false,"description":"A media for use with RCS messages","properties":{"fileUrl":{"type":"string"},"height":{"enum":["short","medium","tall"],"type":"string"},"thumbnailUrl":{"nullable":true,"type":"string"}},"required":["height","fileUrl"],"type":"object"},"touchpoints.rcs.suggestion":{"additionalProperties":false,"description":"A suggestion for use with RCS messages","properties":{"action":{"additionalProperties":false,"oneOf":[{"required":["dialAction"]},{"required":["openUrlAction"]},{"required":["createCalendarEventAction"]},{"required":["viewLocationAction"]},{"required":["shareLocationAction"]}],"properties":{"createCalendarEventAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.calendar"},"dialAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.dial"},"fallbackUrl":{"type":"string"},"openUrlAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.open_url"},"postbackData":{"minLength":1,"type":"string"},"shareLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.share_location"},"text":{"maxLength":25,"minLength":1,"type":"string"},"type":{"enum":["openUrl","dial","createCalendarEvent","viewLocation","shareLocation"],"type":"string"},"viewLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.view_location"}},"required":["type","text","postbackData"],"type":"object"},"id":{"type":"string"},"reply":{"additionalProperties":false,"properties":{"postbackData":{"minLength":1,"type":"string"},"text":{"maxLength":25,"type":"string"}},"required":["text","postbackData"],"type":"object"},"type":{"enum":["reply","action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.suggestion.action.calendar":{"additionalProperties":false,"properties":{"description":{"type":"string"},"end":{"format":"date-time","type":"string"},"start":{"format":"date-time","type":"string"},"title":{"type":"string"}},"required":["title","description","start","end"],"type":"object"},"touchpoints.rcs.suggestion.action.dial":{"additionalProperties":false,"properties":{"phoneNumber":{"description":"The phone number in E.164 format, for example, +12223334444","type":"string"}},"required":["phoneNumber"],"type":"object"},"touchpoints.rcs.suggestion.action.open_url":{"additionalProperties":false,"properties":{"application":{"description":"URL open application","enum":["browser","webview"],"type":"string"},"description":{"description":"Accessibility description for webview","type":"string"},"url":{"description":"URL","type":"string"},"webviewViewMode":{"description":"View mode for webview","enum":["full","half","tall"],"type":"string"}},"required":["url"],"type":"object"},"touchpoints.rcs.suggestion.action.share_location":{"additionalProperties":false,"type":"object"},"touchpoints.rcs.suggestion.action.view_location":{"additionalProperties":false,"properties":{"label":{"description":"(Optional) The label of the pin dropped at latLong.","type":"string"},"latLong":{"additionalProperties":false,"description":"(Optional, only supported on Android Messages clients) Rather than specify a latLong (and optionally, a label), the agent can instead specify a query string.","properties":{"latitude":{"description":"The latitude of the location.","type":"string"},"longitude":{"description":"The longitude of the location.","type":"string"}},"required":["latitude","longitude"],"type":"object"},"query":{"description":"(Optional) The query to search for.","type":"string"}},"type":"object"},"touchpoints.rcs.carousel":{"additionalProperties":false,"description":"A product block used for RCS carousel.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsCarousel":{"additionalProperties":false,"properties":{"cardWidth":{"enum":["small","medium"],"type":"string"},"cards":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"type":"array"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"}},"required":["cardWidth","cards"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-carousel"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.rich_message":{"additionalProperties":false,"description":"A block used for a combination of text, media and suggestions.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichMessage":{"additionalProperties":false,"anyOf":[{"required":["text"]},{"required":["media"]}],"properties":{"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"text":{"minLength":1,"nullable":true,"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-message"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.app_inbox.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"appInboxMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"basicContent":{"properties":{"body":{"maxLength":240,"minLength":1,"type":"string"},"title":{"maxLength":65,"minLength":1,"type":"string"}},"required":["title","body"],"type":"object"},"type":{"type":"string"}},"type":"object"}},"required":["v1"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["app-inbox-message"],"type":"string"}},"required":["type","appInboxMessage"],"type":"object"},"PlatformContent":{"type":"object","required":["platform","blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"platform":{"type":"string","minLength":1},"channelIds":{"type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"channelGroupIds":{"description":"This field contains the channel group ids that will be used for template approval.\n","type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}},"approvals":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Approval"}}}},"Approval":{"type":"object","additionalProperties":false,"required":["approvalReference"],"properties":{"approvalReference":{"type":"string","format":"uuid"},"channelId":{"description":"This field contains the channel id that this approval\napplies to. Please check for channelIds first. If\nit's empty, then this field should be checked for\nbackwards compatibility.\n","deprecated":true,"type":"string","format":"uuid","nullable":true},"platformReference":{"type":"string"},"platformAccountIdentifier":{"type":"string","nullable":true},"reason":{"type":"string","description":"The reason why this template was rejected. This field is deprecated,\nuse reasonCode instead.\n","deprecated":true},"reasonCode":{"type":"string","nullable":true,"description":"A list of known status change reasons, most commonly used to find out\nthe template approval rejection reason. If the original reason is unknown,\nthe value will be \"unknown\".\n","enum":["whatsapp_scam","whatsapp_invalid_format","whatsapp_incorrect_category","whatsapp_none","whatsapp_promotional","whatsapp_tag_content_mismatch","whatsapp_abusive_content","whatsapp_fallback","unknown"]},"reasonDescription":{"type":"string","nullable":true,"description":"If available, will contain a descriptive message of the reason the platform's\nstatus was updated to its value in platformStatus property. If reasonDescription\nis not available, or it's null, the description should be based on\nreasonCode field. This field will likely contain a more accurate description of the\nstatus change reason when the reasonCode field is \"unknown\".\n"},"status":{"type":"string","enum":["pending","approved","rejected","blocked","deleted"]},"platformStatus":{"type":"string","nullable":true,"description":"A list of known status that reflect the platform's actual status.\nThey are mapped from the original platform event if known. Otherwise,\nthis field's value will be \"unknown\".\n","enum":["whatsapp_approved","whatsapp_rejected","whatsapp_flagged","whatsapp_disabled","whatsapp_in_appeal","whatsapp_reinstated","whatsapp_paused","unknown"]},"channelIds":{"description":"This field is a reference to multiple channel ids that\nthis approval applies to. If this field is populated\nwith one or more IDs, then it should be used\ninstead of channelId. Notice that in this case,\nchannelId will most likely be not present or null.\n","type":"array","items":{"type":"string","format":"uuid"}},"channelGroupId":{"description":"This field contains the channel group id for this approval.\nIt means that this approval applies to all channels in the group.\n","type":"string","format":"uuid","nullable":true},"platform":{"type":"string","nullable":true}}},"PlatformList":{"type":"array","nullable":true,"items":{"type":"string","enum":["all","apple-business-chat","sms-messagebird","facebook-messenger","google-business-messages","instagram","whatsapp","email-sparkpost","chat","push-notifications","rcs-google","linkedin","line","app-inbox","in-app-messages"]}},"ShortLinks":{"type":"object","properties":{"enabled":{"type":"boolean"},"domain":{"type":"string"}},"required":["Enabled","Domain"]},"common.review.info":{"additionalProperties":false,"description":"Describe the status of an entity that is being reviewed through approval flows.","properties":{"approvalFlowId":{"description":"The ID of the approval flow that triggered the review.","format":"uuid","type":"string"},"approvalRunId":{"description":"The ID of the approval run through which this entity is reviewed.","format":"uuid","type":"string"},"currentStep":{"description":"The current step of the approval flow being evaluated.","type":"number"},"status":{"$ref":"#/components/schemas/common.review.status"}},"required":["approvalFlowId","approvalRunId","status","currentStep"],"type":"object"},"common.review.status":{"description":"The status of the review process.","enum":["pending","approved","rejected"],"type":"string"},"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"},"error.validation":{"additionalProperties":false,"description":"A validation error returned from the API. The `details` map keys are JSON paths\npointing into the request body / parameters; values are arrays of human-readable\nmessages describing each problem with that path.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Per-field validation messages keyed by JSON path.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"ValidationError","type":"object"}},"responses":{"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."},"error.response.invalid_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.validation"}}},"description":"The request contains invalid parameters or body fields."}}},"paths":{"/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}":{"get":{"summary":"Get ChannelTemplate","operationId":"getChannelTemplate","tags":["channeltemplates"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelTemplate"}}}},"404":{"$ref":"#/components/responses/error.response.not_found"},"422":{"$ref":"#/components/responses/error.response.invalid_request"}}}}}}
```

## DELETE /workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}

> Delete ChannelTemplate

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"responses":{"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."},"error.response.conflict":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The request conflicts with the current state of the resource."}},"schemas":{"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"}}},"paths":{"/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}":{"delete":{"summary":"Delete ChannelTemplate","operationId":"deleteChannelTemplate","tags":["channeltemplates"],"responses":{"204":{"description":"Deleted"},"404":{"$ref":"#/components/responses/error.response.not_found"},"409":{"$ref":"#/components/responses/error.response.conflict"}}}}}}
```

## PATCH /workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}

> Update ChannelTemplate

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"schemas":{"UpdateChannelTemplate":{"type":"object","additionalProperties":true,"properties":{"defaultLocale":{"nullable":true,"type":"string","description":"The list of possible values below is shared across all Bird Touchpoints products. For WhatsApp message templates, only locales that Meta supports as WhatsApp template languages will be accepted by Meta on submission. Locales outside Meta's supported list will pass Bird's enum validation but will be rejected by Meta with an \"Invalid language\" error. See [Meta's supported template languages](https://developers.facebook.com/docs/whatsapp/api/messages/message-templates/#supported-languages).\n","allOf":[{"$ref":"#/components/schemas/standard.locale.messaging"}]},"description":{"type":"string"},"assets":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ChannelTemplateAsset"}},"styles":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Style"}},"variables":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ChannelTemplateVariables"}},"deployments":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Deployment"}},"genericContent":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/GenericContent"}},"platformContent":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/PlatformContent"}},"supportedPlatforms":{"$ref":"#/components/schemas/PlatformList"},"forceUpdate":{"type":"boolean","description":"If true and template is already published, a new template will be created with the new parameters and activated."},"status":{"type":"string","nullable":true,"enum":["active","inactive","pending","draft","pendingReview"]}}},"standard.locale.messaging":{"description":"Curated set of BCP47 locale identifiers supported by Bird messaging products","enum":["ae-AZ","af","ar","ar-AZ","ar-EG","ar-ID","ar-UA","az","az-AZ","bg","bg-BG","bn","bn-MY","bn-SG","ca","cs","cs-CZ","da","da-DK","de","de-AT","de-CH","de-DE","de-LI","de-LU","ee-GH","el","el-CY","el-GR","en","en-AE","en-AF","en-AG","en-AL","en-AR","en-AS","en-AT","en-AU","en-AW","en-AZ","en-BA","en-BB","en-BD","en-BE","en-BF","en-BG","en-BH","en-BJ","en-BN","en-BO","en-BR","en-BS","en-BW","en-BY","en-BZ","en-CA","en-CD","en-CG","en-CH","en-CI","en-CL","en-CM","en-CN","en-CO","en-CY","en-CZ","en-DE","en-DK","en-DM","en-DO","en-EC","en-EG","en-ES","en-FI","en-FJ","en-FR","en-GB","en-GD","en-GE","en-GH","en-GI","en-GM","en-GR","en-GY","en-HK","en-HR","en-HT","en-HU","en-ID","en-IE","en-IL","en-IN","en-IQ","en-IS","en-IT","en-JM","en-JO","en-JP","en-KE","en-KH","en-KN","en-KR","en-KW","en-KY","en-KZ","en-LA","en-LB","en-LT","en-LV","en-MD","en-MK","en-MM","en-MS","en-MT","en-MV","en-MX","en-MY","en-NG","en-NL","en-NO","en-NP","en-NZ","en-OM","en-PA","en-PE","en-PG","en-PH","en-PK","en-PL","en-PS","en-PT","en-PY","en-QA","en-RO","en-RU","en-RW","en-SA","en-SB","en-SD","en-SE","en-SG","en-SI","en-SK","en-SN","en-SR","en-SS","en-TC","en-TH","en-TN","en-TO","en-TR","en-TT","en-TW","en-UG","en-US","en-UY","en-VC","en-VE","en-VG","en-VN","en-WS","en-YE","en-ZA","en-ZW","es","es-AR","es-BO","es-BR","es-CL","es-CO","es-CR","es-DO","es-EC","es-ES","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PY","es-SV","es-US","es-UY","es-VE","et","et-EE","fa","fi","fi-FI","fil","fr","fr-AE","fr-BE","fr-BF","fr-BJ","fr-CA","fr-CD","fr-CG","fr-CH","fr-CI","fr-CM","fr-FR","fr-GA","fr-GF","fr-LU","fr-MA","fr-MF","fr-MG","fr-ML","fr-NL","fr-PT","fr-SN","fr-TG","ga","gu","ha","he","hi","hi-MY","hi-SG","hr","hr-HR","ht-DO","hu","hu-HU","id","id-HK","id-ID","id-JP","id-SG","it","it-AE","it-BE","it-CH","it-IT","ja","ja-JP","ka","kk","kn","ko","ky-KG","lo","lt","lt-LT","lv","lv-LV","mk","ml","mr","ms","ms-MY","my-JP","my-MY","my-SG","nb","ne-JP","nl","nl-BE","nl-NL","no-NO","pa","pl","pl-PL","pt","pt-AO","pt-BR","pt-PT","ro","ro-MD","ro-RO","ru","ru-BY","ru-KZ","ru-RO","ru-RU","rw-RW","sk","sk-SK","sl","sl-SI","sq","sq-AL","sr","sr-RS","sv","sv-SE","sw","ta","ta-MY","ta-SG","te","th","th-SG","th-TH","tk-TM","tr","tr-TR","uk","uk-UA","ur","uz","uz-UZ","vi","vi-JP","vi-MY","vi-US","zh-CN","zh-HK","zh-JP","zh-SG","zh-TW","zu"],"type":"string"},"ChannelTemplateAsset":{"title":"ChannelTemplateAsset","oneOf":[{"type":"object","properties":{"key":{"type":"string","enum":["logoUrl"]},"isDefault":{"type":"boolean"},"valueString":{"type":"string"}}}]},"Style":{"oneOf":[{"$ref":"#/components/schemas/ValueString"},{"$ref":"#/components/schemas/ValueStringArray"},{"$ref":"#/components/schemas/ValueConfigurationPair"},{"$ref":"#/components/schemas/ValueConfigurationPairArray"},{"$ref":"#/components/schemas/ValueBoolean"},{"$ref":"#/components/schemas/ValueBooleanArray"},{"$ref":"#/components/schemas/ValueFloat"},{"$ref":"#/components/schemas/ValueFloatArray"},{"$ref":"#/components/schemas/ValueInteger"},{"$ref":"#/components/schemas/ValueIntegerArray"}]},"ValueString":{"type":"object","additionalProperties":false,"required":["key","valueString"],"properties":{"key":{"type":"string"},"valueString":{"type":"string"},"isDefault":{"type":"boolean","nullable":true}}},"ValueStringArray":{"type":"object","additionalProperties":false,"required":["key","valueStringArray"],"properties":{"key":{"type":"string"},"valueStringArray":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPair":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPair"],"properties":{"key":{"type":"string"},"valueConfigurationPair":{"type":"object","additionalProperties":true},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPairArray":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPairArray"],"properties":{"key":{"type":"string"},"valueConfigurationPairArray":{"type":"array","items":{"type":"object","additionalProperties":true}},"isDefault":{"type":"boolean","nullable":true}}},"ValueBoolean":{"type":"object","additionalProperties":false,"required":["key","valueBoolean"],"properties":{"key":{"type":"string"},"valueBoolean":{"type":"boolean"},"isDefault":{"type":"boolean","nullable":true}}},"ValueBooleanArray":{"type":"object","additionalProperties":false,"required":["key","valueBooleanArray"],"properties":{"key":{"type":"string"},"valueBooleanArray":{"type":"array","items":{"type":"boolean"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloat":{"type":"object","additionalProperties":false,"required":["key","valueFloat"],"properties":{"key":{"type":"string"},"floatValue":{"type":"number","format":"float"},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloatArray":{"type":"object","additionalProperties":false,"required":["key","valueFloatArray"],"properties":{"key":{"type":"string"},"floatValueArray":{"type":"array","items":{"type":"number","format":"float"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueInteger":{"type":"object","additionalProperties":false,"required":["key","valueInteger"],"properties":{"key":{"type":"string"},"valueInteger":{"type":"number"},"isDefault":{"type":"boolean","nullable":true}}},"ValueIntegerArray":{"type":"object","additionalProperties":false,"required":["key","valueIntegerArray"],"properties":{"key":{"type":"string"},"valueIntegerArray":{"type":"array","items":{"type":"number"}},"isDefault":{"type":"boolean","nullable":true}}},"ChannelTemplateVariables":{"type":"object","title":"ChannelTemplateVariables","additionalProperties":false,"required":["key","type"],"properties":{"key":{"type":"string","pattern":"^[A-Za-z0-9._-]+$"},"description":{"type":"string","maxLength":255},"type":{"type":"string","enum":["string","sectionList","timeslotList","systemVariable","productList","productSections","shippingMethodList","shortLink","whatsappProductSections","lineItemList","whatsappProductItems","carouselCards","appleFormPageItems"]},"format":{"type":"string","default":"none","enum":["none"]},"sourceUrl":{"type":"object","properties":{"fullyReplaced":{"type":"boolean"},"value":{"type":"string"}},"required":["fullyReplaced","value"]},"characterLimit":{"type":"integer","nullable":true,"minimum":1,"maximum":160},"examplesLocale":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"exampleValueStrings":{"nullable":true,"type":"array","items":{"type":"string"}},"exampleValues":{"oneOf":[{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.sections"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.product"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"productSections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"sections":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"lineItems":{"$ref":"#/components/schemas/touchpoints.apple.line_items"}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"cards":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"}}}}},{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"items":{"$ref":"#/components/schemas/touchpoints.apple.form.page_items"}}}}]}}}}}},"touchpoints.sections":{"items":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.reply_action"},"type":"array"},"multipleSelection":{"type":"boolean"},"title":{"type":"string"}},"required":["title","items"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.reply_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"replyAction":{"properties":{"imageUrl":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"role":{"type":"string"},"type":{"enum":["reply-action"],"type":"string"}},"required":["type","replyAction"],"type":"object"},"touchpoints.timeslots":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"id":{"nullable":true,"type":"string"},"startTime":{"format":"date-time","type":"string"}},"required":["startTime","duration"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"product":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"externalProductId":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product"],"type":"string"}},"required":["type","product"],"type":"object"},"touchpoints.product.sections.object":{"items":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.product.object"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product.object":{"additionalProperties":false,"properties":{"externalProductId":{"nullable":false,"type":"string"}},"required":["externalProductId"],"type":"object"},"touchpoints.apple.shipping_methods":{"items":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"detail":{"type":"string"},"identifier":{"type":"string"},"label":{"type":"string"}},"required":["amount","label","identifier","detail"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.whatsapp.product.section":{"additionalProperties":false,"description":"A WhatsApp specific product section block used for grouping products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-section"],"type":"string"},"whatsappProductSection":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"}},"required":["type","whatsappProductSection"],"type":"object"},"touchpoints.whatsapp.product.item":{"additionalProperties":false,"description":"A product block used for WhatsApp product.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-item"],"type":"string"},"whatsappProductItem":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"required":["type","whatsappProductItem"],"type":"object"},"touchpoints.apple.line_items":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"nullable":true,"type":"array"},"touchpoints.apple.line_item":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"id":{"nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"required":["amount","text"],"type":"object"},"touchpoints.whatsapp.carousel.card":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel-card"],"type":"string"},"whatsappCarouselCard":{"additionalProperties":false,"properties":{"actions":{"description":"Approved templates support up to 2 actions per card (link-action, reply-action, or call-phone-number-action). Session carousels only support one CTA URL button per card (enforced at runtime).","items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":2,"minItems":1,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["header","body","actions"],"type":"object"}},"required":["type","whatsappCarouselCard"],"type":"object"},"touchpoints.link_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"linkAction":{"properties":{"text":{"type":"string"},"url":{"anyOf":[{"pattern":"{{[^{}]+}}","type":"string"},{"format":"uri","type":"string"}]}},"required":["text","url"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["link-action"],"type":"string"}},"required":["type","linkAction"],"type":"object"},"touchpoints.action.call_phone_number":{"additionalProperties":false,"properties":{"callPhoneNumberAction":{"additionalProperties":false,"properties":{"phoneNumber":{"maxLength":20,"minLength":1,"type":"string"},"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text","phoneNumber"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["call-phone-number-action"],"type":"string"}},"required":["type","callPhoneNumberAction"],"type":"object"},"touchpoints.text":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"text":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},"touchpoints.image":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"image":{"additionalProperties":false,"properties":{"altText":{"description":"altText with image headers is not supported. If passed, it will default to a footer instead","type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["image"],"type":"string"}},"required":["type","image"],"type":"object"},"touchpoints.file":{"additionalProperties":false,"properties":{"file":{"additionalProperties":false,"properties":{"altText":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl","contentType"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["file"],"type":"string"}},"required":["type","file"],"type":"object"},"touchpoints.apple.form.page_items":{"items":{"additionalProperties":false,"properties":{"identifier":{"description":"Unique identifier for the item.","type":"string"},"imageUrl":{"description":"Optional image URL for the item.","nullable":true,"type":"string"},"nextPageIdentifier":{"description":"Identifier of the next page to navigate to when this item is selected.","nullable":true,"type":"string"},"title":{"description":"Display label shown to the user.","type":"string"},"value":{"description":"Value submitted when the item is selected.","type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"Deployment":{"type":"object","additionalProperties":false,"required":["key","value"],"properties":{"key":{"type":"string","enum":["whatsappCategory","whatsappTemplateName","whatsappAllowCategoryChange","whatsappMessageSendTTLSeconds"],"minLength":1},"value":{"type":"string","minLength":1},"locale":{"type":"string","nullable":true,"description":"This property is deprecated, please use platformContent locale instead."},"platform":{"type":"string","nullable":true},"channelIds":{"type":"array","nullable":true,"description":"List of channel ids to which this deployment is applied. this property is deprecated, please use platformContent channelIds instead.","deprecated":true,"items":{"type":"string","format":"uuid"}}}},"GenericContent":{"type":"object","required":["blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}}}},"touchpoints.block":{"allOf":[{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"maxLength":100,"nullable":true,"type":"string"},"role":{"type":"string"},"type":{"enum":["action","carousel","list","file","html","image","location","text","layout","link-action","reply-action","authentication-body","authentication-action","apple-rich-link","apple-list-picker","apple-time-picker","apple-form","apple-apple-pay","apple-authentication","apple-quick-reply","apple-i-message","product","product-list","product-sections","multi-product-action","copy-code-action","call-phone-number-action","voice-call-action","open-catalog-action","limited-time-offer","whatsapp-catalog","whatsapp-product","whatsapp-product-list","whatsapp-coupon","whatsapp-multi-product","whatsapp-carousel","whatsapp-carousel-card","whatsapp-limited-time-offer","whatsapp-flow-action","whatsapp-product-item","whatsapp-flow","push-notifications-message","whatsapp-product-sections","whatsapp-product-section","rcs-basic-text","rcs-rich-card","rcs-carousel","rcs-rich-message","whatsapp-product-items","app-inbox-message"],"type":"string"}},"required":["type"],"type":"object"},{"discriminator":{"mapping":{"action":"#/components/schemas/touchpoints.action","app-inbox-message":"#/components/schemas/touchpoints.app_inbox.message","apple-apple-pay":"#/components/schemas/touchpoints.apple.pay","apple-authentication":"#/components/schemas/touchpoints.apple.authentication","apple-form":"#/components/schemas/touchpoints.apple.form","apple-i-message":"#/components/schemas/touchpoints.apple.imessage","apple-list-picker":"#/components/schemas/touchpoints.apple.list_picker","apple-quick-reply":"#/components/schemas/touchpoints.apple.quick_reply","apple-rich-link":"#/components/schemas/touchpoints.apple.rich_link","apple-time-picker":"#/components/schemas/touchpoints.apple.time_picker","authentication-action":"#/components/schemas/touchpoints.authentication.action","authentication-body":"#/components/schemas/touchpoints.authentication.body","call-phone-number-action":"#/components/schemas/touchpoints.action.call_phone_number","carousel":"#/components/schemas/touchpoints.carousel","copy-code-action":"#/components/schemas/touchpoints.action.copy_code","file":"#/components/schemas/touchpoints.file","html":"#/components/schemas/touchpoints.html","image":"#/components/schemas/touchpoints.image","layout":"#/components/schemas/touchpoints.layout","limited-time-offer":"#/components/schemas/touchpoints.limited_time_offer","link-action":"#/components/schemas/touchpoints.link_action","list":"#/components/schemas/touchpoints.list","location":"#/components/schemas/touchpoints.location","multi-product-action":"#/components/schemas/touchpoints.action.multi_product","open-catalog-action":"#/components/schemas/touchpoints.action.open_catalog","product":"#/components/schemas/touchpoints.product","product-list":"#/components/schemas/touchpoints.product.list","product-sections":"#/components/schemas/touchpoints.product.sections","push-notifications-message":"#/components/schemas/touchpoints.push_notification.message","rcs-basic-text":"#/components/schemas/touchpoints.rcs.basic_text","rcs-carousel":"#/components/schemas/touchpoints.rcs.carousel","rcs-rich-card":"#/components/schemas/touchpoints.rcs.rich_card","rcs-rich-message":"#/components/schemas/touchpoints.rcs.rich_message","reply-action":"#/components/schemas/touchpoints.reply_action","text":"#/components/schemas/touchpoints.text","voice-call-action":"#/components/schemas/touchpoints.action.voice_call","whatsapp-carousel":"#/components/schemas/touchpoints.whatsapp.carousel","whatsapp-carousel-card":"#/components/schemas/touchpoints.whatsapp.carousel.card","whatsapp-catalog":"#/components/schemas/touchpoints.whatsapp.catalog","whatsapp-coupon":"#/components/schemas/touchpoints.whatsapp.coupon","whatsapp-flow":"#/components/schemas/touchpoints.whatsapp.flow","whatsapp-flow-action":"#/components/schemas/touchpoints.whatsapp.flow.action","whatsapp-limited-time-offer":"#/components/schemas/touchpoints.whatsapp.limited_time_offer","whatsapp-multi-product":"#/components/schemas/touchpoints.whatsapp.multi_product","whatsapp-product":"#/components/schemas/touchpoints.whatsapp.product","whatsapp-product-item":"#/components/schemas/touchpoints.whatsapp.product.item","whatsapp-product-items":"#/components/schemas/touchpoints.whatsapp.product.items","whatsapp-product-list":"#/components/schemas/touchpoints.whatsapp.product.list","whatsapp-product-section":"#/components/schemas/touchpoints.whatsapp.product.section","whatsapp-product-sections":"#/components/schemas/touchpoints.whatsapp.product.sections"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.carousel"},{"$ref":"#/components/schemas/touchpoints.list"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.html"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.location"},{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.layout"},{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.authentication.body"},{"$ref":"#/components/schemas/touchpoints.authentication.action"},{"$ref":"#/components/schemas/touchpoints.apple.rich_link"},{"$ref":"#/components/schemas/touchpoints.apple.list_picker"},{"$ref":"#/components/schemas/touchpoints.apple.time_picker"},{"$ref":"#/components/schemas/touchpoints.apple.form"},{"$ref":"#/components/schemas/touchpoints.apple.pay"},{"$ref":"#/components/schemas/touchpoints.apple.authentication"},{"$ref":"#/components/schemas/touchpoints.apple.quick_reply"},{"$ref":"#/components/schemas/touchpoints.apple.imessage"},{"$ref":"#/components/schemas/touchpoints.product"},{"$ref":"#/components/schemas/touchpoints.product.list"},{"$ref":"#/components/schemas/touchpoints.product.sections"},{"$ref":"#/components/schemas/touchpoints.action.multi_product"},{"$ref":"#/components/schemas/touchpoints.action.copy_code"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"},{"$ref":"#/components/schemas/touchpoints.action.voice_call"},{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.catalog"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.list"},{"$ref":"#/components/schemas/touchpoints.whatsapp.coupon"},{"$ref":"#/components/schemas/touchpoints.whatsapp.multi_product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},{"$ref":"#/components/schemas/touchpoints.whatsapp.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow"},{"$ref":"#/components/schemas/touchpoints.push_notification.message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},{"$ref":"#/components/schemas/touchpoints.rcs.basic_text"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_card"},{"$ref":"#/components/schemas/touchpoints.rcs.carousel"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.app_inbox.message"}]}],"type":"object"},"touchpoints.action":{"properties":{"action":{"$ref":"#/components/schemas/channels.messages.actions.action"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["action"],"type":"string"}},"required":["type","action"],"type":"object"},"channels.messages.actions.action":{"discriminator":{"mapping":{"buy":"#/components/schemas/channels.messages.actions.action__variant__buy","link":"#/components/schemas/channels.messages.actions.action__variant__link","locationRequest":"#/components/schemas/channels.messages.actions.action__variant__locationRequest","postback":"#/components/schemas/channels.messages.actions.action__variant__postback","reply":"#/components/schemas/channels.messages.actions.action__variant__reply"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/channels.messages.actions.action__variant__link"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__reply"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__locationRequest"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__buy"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__postback"}]},"channels.messages.actions.action__variant__link":{"properties":{"link":{"$ref":"#/components/schemas/channels.messages.actions.link"},"type":{"enum":["link"],"type":"string"}},"required":["link","type"],"type":"object"},"channels.messages.actions.link":{"properties":{"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_link"},"text":{"type":"string"},"url":{"type":"string"}},"required":["text","url"],"type":"object"},"channels.messages.metadata.action_link":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.metadata.action_description":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"},"channels.messages.actions.action__variant__reply":{"properties":{"reply":{"$ref":"#/components/schemas/channels.messages.actions.reply"},"type":{"enum":["reply"],"type":"string"}},"required":["reply","type"],"type":"object"},"channels.messages.actions.reply":{"properties":{"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_reply"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.metadata.action_reply":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.actions.action__variant__locationRequest":{"properties":{"locationRequest":{"$ref":"#/components/schemas/channels.messages.actions.location_request"},"type":{"enum":["locationRequest"],"type":"string"}},"required":["type"],"type":"object"},"channels.messages.actions.location_request":{"properties":{"text":{"type":"string"}},"type":"object"},"channels.messages.actions.action__variant__buy":{"properties":{"buy":{"$ref":"#/components/schemas/channels.messages.actions.buy"},"type":{"enum":["buy"],"type":"string"}},"required":["buy","type"],"type":"object"},"channels.messages.actions.buy":{"properties":{"amountCents":{"format":"int64","type":"integer"},"currency":{"type":"string"},"text":{"type":"string"}},"required":["text","amountCents","currency"],"type":"object"},"channels.messages.actions.action__variant__postback":{"properties":{"postback":{"$ref":"#/components/schemas/channels.messages.actions.postback"},"type":{"enum":["postback"],"type":"string"}},"required":["postback","type"],"type":"object"},"channels.messages.actions.postback":{"properties":{"handshake":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake"},"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_postback"},"otpType":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.actions.postback_handshake":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"},"supportedApps":{"items":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake_supported_app"},"type":"array"},"text":{"type":"string"},"zeroTapTermsAccepted":{"type":"boolean"}},"required":["text","packageName","signatureHash","zeroTapTermsAccepted"],"type":"object"},"channels.messages.actions.postback_handshake_supported_app":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"channels.messages.metadata.action_postback":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"touchpoints.carousel":{"additionalProperties":false,"properties":{"carousel":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"}},"required":["items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["carousel"],"type":"string"}},"required":["type","carousel"],"type":"object"},"touchpoints.item":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"mediaUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.list":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"list":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"},"text":{"type":"string"},"title":{"type":"string"}},"required":["items"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["list"],"type":"string"}},"required":["type","list"],"type":"object"},"touchpoints.html":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"html":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["html"],"type":"string"}},"required":["type","html"],"type":"object"},"touchpoints.location":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["location"],"type":"string"}},"required":["type","location"],"type":"object"},"touchpoints.layout":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"layout":{"additionalProperties":false,"properties":{"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.text"}]},"maxItems":4,"minItems":1,"type":"array"},"layout":{"enum":["left","center","right"],"type":"string"}},"required":["layout","blocks"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["layout"],"type":"string"}},"required":["type","layout"],"type":"object"},"touchpoints.authentication.body":{"additionalProperties":false,"description":"An authentication body block used for authentication templates.","properties":{"authenticationBody":{"additionalProperties":false,"properties":{"addSecurityDisclaimer":{"description":"Whether to add a security disclaimer to the authentication body.","nullable":false,"type":"boolean"},"expirationTime":{"description":"The number of seconds after which the authentication body will expire. If not set, no expiration notification will be sent.","maximum":90,"minimum":1,"nullable":true,"type":"integer"},"messageSendTtlSeconds":{"description":"The number of seconds after which the message will expire. If not set, the message will not expire.","maximum":86400,"minimum":1,"nullable":true,"type":"integer"}},"required":["addSecurityDisclaimer"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-body"],"type":"string"}},"required":["type","authenticationBody"],"type":"object"},"touchpoints.authentication.action":{"additionalProperties":false,"description":"An authentication action block used for authentication templates.","properties":{"authenticationAction":{"additionalProperties":false,"properties":{"oneTap":{"additionalProperties":false,"description":"The one-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"androidPackageName":{"description":"The Android package name of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"},"androidSignatureHash":{"description":"The Android signature hash of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"}},"required":["androidPackageName","androidSignatureHash"],"type":"object"},"zeroTap":{"additionalProperties":false,"description":"The zero-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"supportedApps":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.supported_app"},"type":"array"},"zeroTapTermsAccepted":{"description":"Indicates if the user has accepted the terms and conditions for zero-tap authentication.\n","nullable":false,"type":"boolean"}},"required":["supportedApps"],"type":"object"}},"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.whatsapp.supported_app":{"additionalProperties":false,"properties":{"packageName":{"description":"The package name of the app that will be used for authentication.\n","nullable":false,"type":"string"},"signatureHash":{"description":"The signature hash of the app that will be used for authentication.\n","nullable":false,"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"touchpoints.apple.rich_link":{"additionalProperties":false,"description":"An apple rich link block.","properties":{"appleRichLink":{"additionalProperties":false,"properties":{"imageUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"url":{"format":"uri","nullable":false,"type":"string"},"videoUrl":{"format":"uri","nullable":true,"type":"string"}},"required":["url","title"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-rich-link"],"type":"string"}},"required":["type","appleRichLink"],"type":"object"},"touchpoints.apple.list_picker":{"additionalProperties":false,"properties":{"appleListPicker":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"sectionList":{"$ref":"#/components/schemas/touchpoints.section_list"}},"required":["receivedMessage","replyMessage","sectionList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-list-picker"],"type":"string"}},"required":["type","appleListPicker"],"type":"object"},"touchpoints.apple.display_message":{"additionalProperties":false,"properties":{"imageSubtitle":{"type":"string"},"imageTitle":{"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"secondaryTitle":{"type":"string"},"style":{"enum":["icon","small","large"],"type":"string"},"subtitle":{"type":"string"},"tertiaryTitle":{"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.section_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"sections":{"$ref":"#/components/schemas/touchpoints.sections"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.time_picker":{"additionalProperties":false,"properties":{"appleTimePicker":{"additionalProperties":false,"properties":{"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"timeslotList":{"$ref":"#/components/schemas/touchpoints.timeslot_list"},"timezoneOffset":{"pattern":"^[A-Za-z]+/[A-Za-z_]+$","type":"string"}},"required":["receivedMessage","replyMessage","timeslotList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-time-picker"],"type":"string"}},"required":["type","appleTimePicker"],"type":"object"},"touchpoints.timeslot_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.form":{"additionalProperties":false,"properties":{"appleForm":{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"pages":{"items":{"additionalProperties":false,"properties":{"hintText":{"type":"string"},"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"imageUrl":{"type":"string"},"nextPageIdentifier":{"type":"string"},"title":{"type":"string"},"value":{"type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"itemsListingType":{"enum":["static","dynamic"],"type":"string"},"itemsParameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"multipleSelection":{"type":"boolean"},"nextPageIdentifier":{"type":"string"},"options":{"additionalProperties":false,"properties":{"dateFormat":{"type":"string"},"inputType":{"type":"string"},"keyboardType":{"type":"string"},"maximumCharacterCount":{"oneOf":[{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},{"pattern":"^[0-9]+$","type":"string"},{"pattern":"^$","type":"string"}]},"maximumDate":{"type":"string"},"minimumDate":{"type":"string"},"required":{"type":"boolean"},"startDate":{"type":"string"}},"type":"object"},"pageIdentifier":{"type":"string"},"pickerTitle":{"type":"string"},"submitForm":{"type":"boolean"},"subtitle":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"}},"required":["pageIdentifier","type"],"type":"object"},"type":"array"},"showSummary":{"type":"boolean"},"splash":{"additionalProperties":false,"properties":{"buttonTitle":{"type":"string"},"header":{"type":"string"},"imageUrl":{"type":"string"},"splashText":{"type":"string"}},"required":["header","splashText","buttonTitle"],"type":"object"},"startPageIdentifier":{"type":"string"}},"required":["splash","pages"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage","data"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-form"],"type":"string"}},"required":["type","appleForm"],"type":"object"},"touchpoints.apple.pay":{"additionalProperties":false,"properties":{"appleApplePay":{"additionalProperties":false,"properties":{"currencyCode":{"type":"string"},"lineItemList":{"$ref":"#/components/schemas/touchpoints.apple.line_item_list"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"requiredBillingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"requiredShippingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"shippingMethodList":{"$ref":"#/components/schemas/touchpoints.apple.shipping_method_list"},"totalCost":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"nullable":true,"type":"string"}},"type":"object"}},"required":["receivedMessage","lineItemList","totalCost","currencyCode"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-apple-pay"],"type":"string"}},"required":["type","appleApplePay"],"type":"object"},"touchpoints.apple.line_item_list":{"oneOf":[{"additionalProperties":false,"properties":{"lineItems":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"type":"array"},"parameterKey":{"type":"string"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","lineItems"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.apple.shipping_method_list":{"additionalProperties":false,"nullable":true,"properties":{"parameterKey":{"type":"string"},"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.authentication":{"additionalProperties":false,"properties":{"appleAuthentication":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-authentication"],"type":"string"}},"required":["type","appleAuthentication"],"type":"object"},"touchpoints.apple.quick_reply":{"additionalProperties":false,"properties":{"appleQuickReply":{"additionalProperties":false,"properties":{"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"}},"required":["identifier","title"],"type":"object"},"maxItems":5,"minItems":1,"type":"array"},"summary":{"type":"string"}},"required":["summary","items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-quick-reply"],"type":"string"}},"required":["type","appleQuickReply"],"type":"object"},"touchpoints.apple.imessage":{"additionalProperties":false,"properties":{"appleIMessage":{"additionalProperties":false,"properties":{"appId":{"type":"string"},"appName":{"type":"string"},"bid":{"type":"string"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"url":{"type":"string"},"useLiveLayout":{"type":"boolean"}},"required":["appId","appName","receivedMessage","url","bid","useLiveLayout"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-i-message"],"type":"string"}},"required":["type","appleIMessage"],"type":"object"},"touchpoints.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productList":{"$ref":"#/components/schemas/touchpoints.product.list.object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-list"],"type":"string"}},"required":["id","type","productList"],"type":"object"},"touchpoints.product.list.object":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.product"},"type":"array"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.product.sections":{"additionalProperties":false,"description":"A product sectioned list block used for commerce product sectioned listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-sections"],"type":"string"}},"required":["type","productSections"],"type":"object"},"touchpoints.action.multi_product":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"multiProductAction":{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"productList":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"productSections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"thumbnailExternalProductId":{"type":"string"}},"required":["parameterKey"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["multi-product-action"],"type":"string"}},"required":["type","multiProductAction"],"type":"object"},"touchpoints.action.copy_code":{"additionalProperties":false,"properties":{"copyCodeAction":{"additionalProperties":false,"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["copy-code-action"],"type":"string"}},"required":["type","copyCodeAction"],"type":"object"},"touchpoints.action.voice_call":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["voice-call-action"],"type":"string"},"voiceCallAction":{"additionalProperties":false,"properties":{"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}},"required":["type","voiceCallAction"],"type":"object"},"touchpoints.action.open_catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"openCatalogAction":{"additionalProperties":false,"properties":{"thumbnail":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["open-catalog-action"],"type":"string"}},"required":["type","openCatalogAction"],"type":"object"},"touchpoints.limited_time_offer":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"limitedTimeOffer":{"additionalProperties":false,"properties":{"expiresAt":{"nullable":true,"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["limited-time-offer"],"type":"string"}},"required":["type","limitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-catalog"],"type":"string"},"whatsappCatalog":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["body","action"],"type":"object"}},"required":["type","whatsappCatalog"],"type":"object"},"touchpoints.whatsapp.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product"],"type":"string"},"whatsappProduct":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"product":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}},"type":"object"}},"required":["type","whatsappProduct"],"type":"object"},"touchpoints.whatsapp.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-list"],"type":"string"},"whatsappProductList":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"},"products":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"}]}},"required":["header","body","products"],"type":"object"}},"required":["type","whatsappProductList"],"type":"object"},"touchpoints.whatsapp.product.items":{"additionalProperties":false,"description":"A list of WhatsApp products.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-items"],"type":"string"},"whatsappProductItems":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductItems"],"type":"object"},"touchpoints.whatsapp.product.sections":{"additionalProperties":false,"description":"A WhatsApp specific product sectioned list block used for showing products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-sections"],"type":"string"},"whatsappProductSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductSections"],"type":"object"},"touchpoints.whatsapp.coupon":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-coupon"],"type":"string"},"whatsappCoupon":{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":9,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["body","couponAction"],"type":"object"}},"required":["type","whatsappCoupon"],"type":"object"},"touchpoints.whatsapp.multi_product":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-multi-product"],"type":"string"},"whatsappMultiProduct":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.multi_product"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["header","body","action"],"type":"object"}},"required":["type","whatsappMultiProduct"],"type":"object"},"touchpoints.whatsapp.carousel":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel"],"type":"string"},"whatsappCarousel":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"cards":{"description":"Static card definitions. For hybrid mode, these are first cards followed by dynamic cards.","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},"maxItems":10,"minItems":0,"type":"array"},"cardsParameterKey":{"description":"Parameter key for dynamic cards. Required when cardsType is dynamic or hybrid.","type":"string"},"cardsType":{"description":"Type of cards - static (all inline), dynamic (all from parameter), or hybrid (static + dynamic appended). Defaults to static.","enum":["static","dynamic","hybrid"],"type":"string"}},"required":["body"],"type":"object"}},"required":["type","whatsappCarousel"],"type":"object"},"touchpoints.whatsapp.limited_time_offer":{"additionalProperties":false,"description":"A limited-time offer block to display messages with expiration date, countdown and promotional codes.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-limited-time-offer"],"type":"string"},"whatsappLimitedTimeOffer":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]},"limitedTimeOffer":{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},"linkAction":{"$ref":"#/components/schemas/touchpoints.link_action"}},"required":["body","limitedTimeOffer","linkAction"],"type":"object"}},"required":["type","whatsappLimitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.flow.action":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow-action"],"type":"string"},"whatsappFlowAction":{"oneOf":[{"additionalProperties":false,"properties":{"actionPayload":{"additionalProperties":false,"properties":{"data":{"additionalProperties":true,"nullable":true,"type":"object"},"screen":{"type":"string"}},"type":"object"},"actionType":{"enum":["navigate"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"},{"additionalProperties":false,"properties":{"actionType":{"enum":["data_exchange"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"}]}},"required":["type","whatsappFlowAction"],"type":"object"},"touchpoints.whatsapp.flow":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow"],"type":"string"},"whatsappFlow":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.text"}]}},"required":["body","action"],"type":"object"}},"required":["type","whatsappFlow"],"type":"object"},"touchpoints.push_notification.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"pushNotificationsMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customConfiguration":{"additionalProperties":false,"properties":{"apns":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customCategory":{"type":"string"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"firebase":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"web":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"}},"type":"object"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subtitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"required":["tapAction"],"type":"object"}},"required":["v1"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["push-notifications-message"],"type":"string"}},"required":["type","pushNotificationsMessage"],"type":"object"},"touchpoints.push_notification_action":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"},"type":{"enum":["OPEN_APP","URL","DEEP_LINK"],"type":"string"},"uri":{"format":"uri","type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.basic_text":{"additionalProperties":false,"description":"Block structure for RCS Basic Text. Supports up to 160 UTF-8 characters.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsBasicText":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-basic-text"],"type":"string"}},"required":["type","rcsBasicText"],"type":"object"},"touchpoints.rcs.rich_card":{"additionalProperties":false,"description":"A product block used for RCS Rich cards.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichCard":{"additionalProperties":false,"properties":{"card":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"orientation":{"enum":["vertical","horizontal"],"type":"string"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"thumbnailImageAlignment":{"enum":["left","right"],"type":"string"}},"required":["orientation","thumbnailImageAlignment","card"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-card"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.card":{"additionalProperties":false,"description":"A a RCS card used in RCS Carousel or as a standalone card","properties":{"description":{"type":"string"},"id":{"type":"string"},"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":4,"type":"array"},"title":{"type":"string"}},"type":"object"},"touchpoints.rcs.media":{"additionalProperties":false,"description":"A media for use with RCS messages","properties":{"fileUrl":{"type":"string"},"height":{"enum":["short","medium","tall"],"type":"string"},"thumbnailUrl":{"nullable":true,"type":"string"}},"required":["height","fileUrl"],"type":"object"},"touchpoints.rcs.suggestion":{"additionalProperties":false,"description":"A suggestion for use with RCS messages","properties":{"action":{"additionalProperties":false,"oneOf":[{"required":["dialAction"]},{"required":["openUrlAction"]},{"required":["createCalendarEventAction"]},{"required":["viewLocationAction"]},{"required":["shareLocationAction"]}],"properties":{"createCalendarEventAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.calendar"},"dialAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.dial"},"fallbackUrl":{"type":"string"},"openUrlAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.open_url"},"postbackData":{"minLength":1,"type":"string"},"shareLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.share_location"},"text":{"maxLength":25,"minLength":1,"type":"string"},"type":{"enum":["openUrl","dial","createCalendarEvent","viewLocation","shareLocation"],"type":"string"},"viewLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.view_location"}},"required":["type","text","postbackData"],"type":"object"},"id":{"type":"string"},"reply":{"additionalProperties":false,"properties":{"postbackData":{"minLength":1,"type":"string"},"text":{"maxLength":25,"type":"string"}},"required":["text","postbackData"],"type":"object"},"type":{"enum":["reply","action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.suggestion.action.calendar":{"additionalProperties":false,"properties":{"description":{"type":"string"},"end":{"format":"date-time","type":"string"},"start":{"format":"date-time","type":"string"},"title":{"type":"string"}},"required":["title","description","start","end"],"type":"object"},"touchpoints.rcs.suggestion.action.dial":{"additionalProperties":false,"properties":{"phoneNumber":{"description":"The phone number in E.164 format, for example, +12223334444","type":"string"}},"required":["phoneNumber"],"type":"object"},"touchpoints.rcs.suggestion.action.open_url":{"additionalProperties":false,"properties":{"application":{"description":"URL open application","enum":["browser","webview"],"type":"string"},"description":{"description":"Accessibility description for webview","type":"string"},"url":{"description":"URL","type":"string"},"webviewViewMode":{"description":"View mode for webview","enum":["full","half","tall"],"type":"string"}},"required":["url"],"type":"object"},"touchpoints.rcs.suggestion.action.share_location":{"additionalProperties":false,"type":"object"},"touchpoints.rcs.suggestion.action.view_location":{"additionalProperties":false,"properties":{"label":{"description":"(Optional) The label of the pin dropped at latLong.","type":"string"},"latLong":{"additionalProperties":false,"description":"(Optional, only supported on Android Messages clients) Rather than specify a latLong (and optionally, a label), the agent can instead specify a query string.","properties":{"latitude":{"description":"The latitude of the location.","type":"string"},"longitude":{"description":"The longitude of the location.","type":"string"}},"required":["latitude","longitude"],"type":"object"},"query":{"description":"(Optional) The query to search for.","type":"string"}},"type":"object"},"touchpoints.rcs.carousel":{"additionalProperties":false,"description":"A product block used for RCS carousel.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsCarousel":{"additionalProperties":false,"properties":{"cardWidth":{"enum":["small","medium"],"type":"string"},"cards":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"type":"array"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"}},"required":["cardWidth","cards"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-carousel"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.rich_message":{"additionalProperties":false,"description":"A block used for a combination of text, media and suggestions.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichMessage":{"additionalProperties":false,"anyOf":[{"required":["text"]},{"required":["media"]}],"properties":{"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"text":{"minLength":1,"nullable":true,"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-message"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.app_inbox.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"appInboxMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"basicContent":{"properties":{"body":{"maxLength":240,"minLength":1,"type":"string"},"title":{"maxLength":65,"minLength":1,"type":"string"}},"required":["title","body"],"type":"object"},"type":{"type":"string"}},"type":"object"}},"required":["v1"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["app-inbox-message"],"type":"string"}},"required":["type","appInboxMessage"],"type":"object"},"PlatformContent":{"type":"object","required":["platform","blocks"],"properties":{"locale":{"$ref":"#/components/schemas/standard.locale.messaging"},"type":{"type":"string","maxLength":100,"pattern":"^$|^[A-Za-z0-9._-]+$","nullable":true},"platform":{"type":"string","minLength":1},"channelIds":{"type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"channelGroupIds":{"description":"This field contains the channel group ids that will be used for template approval.\n","type":"array","nullable":true,"items":{"type":"string","format":"uuid"}},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}},"approvals":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Approval"}}}},"Approval":{"type":"object","additionalProperties":false,"required":["approvalReference"],"properties":{"approvalReference":{"type":"string","format":"uuid"},"channelId":{"description":"This field contains the channel id that this approval\napplies to. Please check for channelIds first. If\nit's empty, then this field should be checked for\nbackwards compatibility.\n","deprecated":true,"type":"string","format":"uuid","nullable":true},"platformReference":{"type":"string"},"platformAccountIdentifier":{"type":"string","nullable":true},"reason":{"type":"string","description":"The reason why this template was rejected. This field is deprecated,\nuse reasonCode instead.\n","deprecated":true},"reasonCode":{"type":"string","nullable":true,"description":"A list of known status change reasons, most commonly used to find out\nthe template approval rejection reason. If the original reason is unknown,\nthe value will be \"unknown\".\n","enum":["whatsapp_scam","whatsapp_invalid_format","whatsapp_incorrect_category","whatsapp_none","whatsapp_promotional","whatsapp_tag_content_mismatch","whatsapp_abusive_content","whatsapp_fallback","unknown"]},"reasonDescription":{"type":"string","nullable":true,"description":"If available, will contain a descriptive message of the reason the platform's\nstatus was updated to its value in platformStatus property. If reasonDescription\nis not available, or it's null, the description should be based on\nreasonCode field. This field will likely contain a more accurate description of the\nstatus change reason when the reasonCode field is \"unknown\".\n"},"status":{"type":"string","enum":["pending","approved","rejected","blocked","deleted"]},"platformStatus":{"type":"string","nullable":true,"description":"A list of known status that reflect the platform's actual status.\nThey are mapped from the original platform event if known. Otherwise,\nthis field's value will be \"unknown\".\n","enum":["whatsapp_approved","whatsapp_rejected","whatsapp_flagged","whatsapp_disabled","whatsapp_in_appeal","whatsapp_reinstated","whatsapp_paused","unknown"]},"channelIds":{"description":"This field is a reference to multiple channel ids that\nthis approval applies to. If this field is populated\nwith one or more IDs, then it should be used\ninstead of channelId. Notice that in this case,\nchannelId will most likely be not present or null.\n","type":"array","items":{"type":"string","format":"uuid"}},"channelGroupId":{"description":"This field contains the channel group id for this approval.\nIt means that this approval applies to all channels in the group.\n","type":"string","format":"uuid","nullable":true},"platform":{"type":"string","nullable":true}}},"PlatformList":{"type":"array","nullable":true,"items":{"type":"string","enum":["all","apple-business-chat","sms-messagebird","facebook-messenger","google-business-messages","instagram","whatsapp","email-sparkpost","chat","push-notifications","rcs-google","linkedin","line","app-inbox","in-app-messages"]}},"ChannelTemplate":{"type":"object","additionalProperties":false,"required":["id","projectId","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"localeStatuses":{"type":"object","additionalProperties":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]}},"platformInfo":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PlatformState"}},"description":{"type":"string"},"defaultLocale":{"$ref":"#/components/schemas/standard.locale.messaging"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateAsset"}},"styles":{"type":"array","items":{"$ref":"#/components/schemas/Style"}},"deployments":{"type":"array","items":{"$ref":"#/components/schemas/Deployment"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/ChannelTemplateVariables"}},"genericContent":{"type":"array","items":{"$ref":"#/components/schemas/GenericContent"}},"platformContent":{"type":"array","items":{"$ref":"#/components/schemas/PlatformContent"}},"supportedPlatforms":{"$ref":"#/components/schemas/PlatformList"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"isCloneable":{"type":"boolean"},"editorId":{"type":"string","format":"uuid"},"editorType":{"type":"string"},"publisherId":{"type":"string","format":"uuid","description":"The ID of the user that last published this ChannelTemplate."},"publisherType":{"type":"string","format":"string"},"shortLinks":{"type":"object","nullable":true,"items":{"$ref":"#/components/schemas/ShortLinks"}},"clonedFrom":{"type":"string","nullable":true,"format":"uuid","description":"The ID of the template that this template was cloned from. This field is only present if this template was cloned  from another template.\n"},"metrics":{"type":"object","description":"Metrics for this template."},"reviewInfo":{"$ref":"#/components/schemas/common.review.info"}}},"PlatformState":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","enum":["draft","active","inactive","pending","pendingReview"]},"category":{"type":"string"},"qualityRating":{"type":"string","default":"UNKNOWN","description":"Quality rating for WhatsApp templates (GREEN, YELLOW, RED, UNKNOWN)"}}},"ShortLinks":{"type":"object","properties":{"enabled":{"type":"boolean"},"domain":{"type":"string"}},"required":["Enabled","Domain"]},"common.review.info":{"additionalProperties":false,"description":"Describe the status of an entity that is being reviewed through approval flows.","properties":{"approvalFlowId":{"description":"The ID of the approval flow that triggered the review.","format":"uuid","type":"string"},"approvalRunId":{"description":"The ID of the approval run through which this entity is reviewed.","format":"uuid","type":"string"},"currentStep":{"description":"The current step of the approval flow being evaluated.","type":"number"},"status":{"$ref":"#/components/schemas/common.review.status"}},"required":["approvalFlowId","approvalRunId","status","currentStep"],"type":"object"},"common.review.status":{"description":"The status of the review process.","enum":["pending","approved","rejected"],"type":"string"},"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"},"error.validation":{"additionalProperties":false,"description":"A validation error returned from the API. The `details` map keys are JSON paths\npointing into the request body / parameters; values are arrays of human-readable\nmessages describing each problem with that path.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Per-field validation messages keyed by JSON path.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"ValidationError","type":"object"}},"responses":{"error.response.bad_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The request was malformed."},"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."},"error.response.conflict":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The request conflicts with the current state of the resource."},"error.response.invalid_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.validation"}}},"description":"The request contains invalid parameters or body fields."}}},"paths":{"/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}":{"patch":{"summary":"Update ChannelTemplate","operationId":"updateChannelTemplate","tags":["channeltemplates"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChannelTemplate"}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelTemplate"}}}},"400":{"$ref":"#/components/responses/error.response.bad_request"},"404":{"$ref":"#/components/responses/error.response.not_found"},"409":{"$ref":"#/components/responses/error.response.conflict"},"422":{"$ref":"#/components/responses/error.response.invalid_request"}}}}}}
```

## PUT /workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}/activate

> Activate ChannelTemplate

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"responses":{"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."},"error.response.invalid_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.validation"}}},"description":"The request contains invalid parameters or body fields."}},"schemas":{"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"},"error.validation":{"additionalProperties":false,"description":"A validation error returned from the API. The `details` map keys are JSON paths\npointing into the request body / parameters; values are arrays of human-readable\nmessages describing each problem with that path.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Per-field validation messages keyed by JSON path.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"ValidationError","type":"object"}}},"paths":{"/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}/activate":{"put":{"summary":"Activate ChannelTemplate","operationId":"activateChannelTemplate","tags":["channeltemplates"],"responses":{"200":{"description":"Activated"},"404":{"$ref":"#/components/responses/error.response.not_found"},"422":{"$ref":"#/components/responses/error.response.invalid_request"}}}}}}
```

## PUT /workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}/deactivate

> Deactivate ChannelTemplate

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"responses":{"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."},"error.response.invalid_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.validation"}}},"description":"The request contains invalid parameters or body fields."}},"schemas":{"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"},"error.validation":{"additionalProperties":false,"description":"A validation error returned from the API. The `details` map keys are JSON paths\npointing into the request body / parameters; values are arrays of human-readable\nmessages describing each problem with that path.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Per-field validation messages keyed by JSON path.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"ValidationError","type":"object"}}},"paths":{"/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}/deactivate":{"put":{"summary":"Deactivate ChannelTemplate","operationId":"deactivateChannelTemplate","tags":["channeltemplates"],"responses":{"200":{"description":"Deactivated"},"404":{"$ref":"#/components/responses/error.response.not_found"},"422":{"$ref":"#/components/responses/error.response.invalid_request"}}}}}}
```

## POST /workspaces/{workspaceId}/projects/channel-templates/create-preview

> Create ChannelTemplate Preview

```json
{"openapi":"3.0.3","info":{"title":"Touchpoints","version":"v1"},"tags":[],"servers":[{"url":"https://api.bird.com","description":"Production API"}],"security":[{"accessKey":[]}],"components":{"securitySchemes":{"accessKey":{"description":"Uses the Authorization header: 'AccessKey ' followed by your access key token","scheme":"AccessKey","type":"http"}},"schemas":{"CreateChannelTemplatePreview":{"type":"object","additionalProperties":false,"properties":{"platform":{"type":"string","minLength":1},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.block"}},"styles":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Style"}},"variables":{"type":"object","nullable":true,"additionalProperties":{"type":"string"}},"parameters":{"type":"array","nullable":true,"minLength":1,"items":{"$ref":"#/components/schemas/ChannelTemplateParameter"}},"shortLinks":{"type":"object","nullable":true,"items":{"$ref":"#/components/schemas/ShortLinks"}},"contactId":{"type":"string","nullable":true},"locale":{"type":"string","format":"locale-bcp47","nullable":true}}},"touchpoints.block":{"allOf":[{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"maxLength":100,"nullable":true,"type":"string"},"role":{"type":"string"},"type":{"enum":["action","carousel","list","file","html","image","location","text","layout","link-action","reply-action","authentication-body","authentication-action","apple-rich-link","apple-list-picker","apple-time-picker","apple-form","apple-apple-pay","apple-authentication","apple-quick-reply","apple-i-message","product","product-list","product-sections","multi-product-action","copy-code-action","call-phone-number-action","voice-call-action","open-catalog-action","limited-time-offer","whatsapp-catalog","whatsapp-product","whatsapp-product-list","whatsapp-coupon","whatsapp-multi-product","whatsapp-carousel","whatsapp-carousel-card","whatsapp-limited-time-offer","whatsapp-flow-action","whatsapp-product-item","whatsapp-flow","push-notifications-message","whatsapp-product-sections","whatsapp-product-section","rcs-basic-text","rcs-rich-card","rcs-carousel","rcs-rich-message","whatsapp-product-items","app-inbox-message"],"type":"string"}},"required":["type"],"type":"object"},{"discriminator":{"mapping":{"action":"#/components/schemas/touchpoints.action","app-inbox-message":"#/components/schemas/touchpoints.app_inbox.message","apple-apple-pay":"#/components/schemas/touchpoints.apple.pay","apple-authentication":"#/components/schemas/touchpoints.apple.authentication","apple-form":"#/components/schemas/touchpoints.apple.form","apple-i-message":"#/components/schemas/touchpoints.apple.imessage","apple-list-picker":"#/components/schemas/touchpoints.apple.list_picker","apple-quick-reply":"#/components/schemas/touchpoints.apple.quick_reply","apple-rich-link":"#/components/schemas/touchpoints.apple.rich_link","apple-time-picker":"#/components/schemas/touchpoints.apple.time_picker","authentication-action":"#/components/schemas/touchpoints.authentication.action","authentication-body":"#/components/schemas/touchpoints.authentication.body","call-phone-number-action":"#/components/schemas/touchpoints.action.call_phone_number","carousel":"#/components/schemas/touchpoints.carousel","copy-code-action":"#/components/schemas/touchpoints.action.copy_code","file":"#/components/schemas/touchpoints.file","html":"#/components/schemas/touchpoints.html","image":"#/components/schemas/touchpoints.image","layout":"#/components/schemas/touchpoints.layout","limited-time-offer":"#/components/schemas/touchpoints.limited_time_offer","link-action":"#/components/schemas/touchpoints.link_action","list":"#/components/schemas/touchpoints.list","location":"#/components/schemas/touchpoints.location","multi-product-action":"#/components/schemas/touchpoints.action.multi_product","open-catalog-action":"#/components/schemas/touchpoints.action.open_catalog","product":"#/components/schemas/touchpoints.product","product-list":"#/components/schemas/touchpoints.product.list","product-sections":"#/components/schemas/touchpoints.product.sections","push-notifications-message":"#/components/schemas/touchpoints.push_notification.message","rcs-basic-text":"#/components/schemas/touchpoints.rcs.basic_text","rcs-carousel":"#/components/schemas/touchpoints.rcs.carousel","rcs-rich-card":"#/components/schemas/touchpoints.rcs.rich_card","rcs-rich-message":"#/components/schemas/touchpoints.rcs.rich_message","reply-action":"#/components/schemas/touchpoints.reply_action","text":"#/components/schemas/touchpoints.text","voice-call-action":"#/components/schemas/touchpoints.action.voice_call","whatsapp-carousel":"#/components/schemas/touchpoints.whatsapp.carousel","whatsapp-carousel-card":"#/components/schemas/touchpoints.whatsapp.carousel.card","whatsapp-catalog":"#/components/schemas/touchpoints.whatsapp.catalog","whatsapp-coupon":"#/components/schemas/touchpoints.whatsapp.coupon","whatsapp-flow":"#/components/schemas/touchpoints.whatsapp.flow","whatsapp-flow-action":"#/components/schemas/touchpoints.whatsapp.flow.action","whatsapp-limited-time-offer":"#/components/schemas/touchpoints.whatsapp.limited_time_offer","whatsapp-multi-product":"#/components/schemas/touchpoints.whatsapp.multi_product","whatsapp-product":"#/components/schemas/touchpoints.whatsapp.product","whatsapp-product-item":"#/components/schemas/touchpoints.whatsapp.product.item","whatsapp-product-items":"#/components/schemas/touchpoints.whatsapp.product.items","whatsapp-product-list":"#/components/schemas/touchpoints.whatsapp.product.list","whatsapp-product-section":"#/components/schemas/touchpoints.whatsapp.product.section","whatsapp-product-sections":"#/components/schemas/touchpoints.whatsapp.product.sections"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.carousel"},{"$ref":"#/components/schemas/touchpoints.list"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.html"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.location"},{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.layout"},{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.authentication.body"},{"$ref":"#/components/schemas/touchpoints.authentication.action"},{"$ref":"#/components/schemas/touchpoints.apple.rich_link"},{"$ref":"#/components/schemas/touchpoints.apple.list_picker"},{"$ref":"#/components/schemas/touchpoints.apple.time_picker"},{"$ref":"#/components/schemas/touchpoints.apple.form"},{"$ref":"#/components/schemas/touchpoints.apple.pay"},{"$ref":"#/components/schemas/touchpoints.apple.authentication"},{"$ref":"#/components/schemas/touchpoints.apple.quick_reply"},{"$ref":"#/components/schemas/touchpoints.apple.imessage"},{"$ref":"#/components/schemas/touchpoints.product"},{"$ref":"#/components/schemas/touchpoints.product.list"},{"$ref":"#/components/schemas/touchpoints.product.sections"},{"$ref":"#/components/schemas/touchpoints.action.multi_product"},{"$ref":"#/components/schemas/touchpoints.action.copy_code"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"},{"$ref":"#/components/schemas/touchpoints.action.voice_call"},{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.catalog"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.list"},{"$ref":"#/components/schemas/touchpoints.whatsapp.coupon"},{"$ref":"#/components/schemas/touchpoints.whatsapp.multi_product"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel"},{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},{"$ref":"#/components/schemas/touchpoints.whatsapp.limited_time_offer"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},{"$ref":"#/components/schemas/touchpoints.whatsapp.flow"},{"$ref":"#/components/schemas/touchpoints.push_notification.message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},{"$ref":"#/components/schemas/touchpoints.rcs.basic_text"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_card"},{"$ref":"#/components/schemas/touchpoints.rcs.carousel"},{"$ref":"#/components/schemas/touchpoints.rcs.rich_message"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.app_inbox.message"}]}],"type":"object"},"touchpoints.action":{"properties":{"action":{"$ref":"#/components/schemas/channels.messages.actions.action"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["action"],"type":"string"}},"required":["type","action"],"type":"object"},"channels.messages.actions.action":{"discriminator":{"mapping":{"buy":"#/components/schemas/channels.messages.actions.action__variant__buy","link":"#/components/schemas/channels.messages.actions.action__variant__link","locationRequest":"#/components/schemas/channels.messages.actions.action__variant__locationRequest","postback":"#/components/schemas/channels.messages.actions.action__variant__postback","reply":"#/components/schemas/channels.messages.actions.action__variant__reply"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/channels.messages.actions.action__variant__link"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__reply"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__locationRequest"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__buy"},{"$ref":"#/components/schemas/channels.messages.actions.action__variant__postback"}]},"channels.messages.actions.action__variant__link":{"properties":{"link":{"$ref":"#/components/schemas/channels.messages.actions.link"},"type":{"enum":["link"],"type":"string"}},"required":["link","type"],"type":"object"},"channels.messages.actions.link":{"properties":{"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_link"},"text":{"type":"string"},"url":{"type":"string"}},"required":["text","url"],"type":"object"},"channels.messages.metadata.action_link":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.metadata.action_description":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"},"channels.messages.actions.action__variant__reply":{"properties":{"reply":{"$ref":"#/components/schemas/channels.messages.actions.reply"},"type":{"enum":["reply"],"type":"string"}},"required":["reply","type"],"type":"object"},"channels.messages.actions.reply":{"properties":{"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_reply"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.metadata.action_reply":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"channels.messages.actions.action__variant__locationRequest":{"properties":{"locationRequest":{"$ref":"#/components/schemas/channels.messages.actions.location_request"},"type":{"enum":["locationRequest"],"type":"string"}},"required":["type"],"type":"object"},"channels.messages.actions.location_request":{"properties":{"text":{"type":"string"}},"type":"object"},"channels.messages.actions.action__variant__buy":{"properties":{"buy":{"$ref":"#/components/schemas/channels.messages.actions.buy"},"type":{"enum":["buy"],"type":"string"}},"required":["buy","type"],"type":"object"},"channels.messages.actions.buy":{"properties":{"amountCents":{"format":"int64","type":"integer"},"currency":{"type":"string"},"text":{"type":"string"}},"required":["text","amountCents","currency"],"type":"object"},"channels.messages.actions.action__variant__postback":{"properties":{"postback":{"$ref":"#/components/schemas/channels.messages.actions.postback"},"type":{"enum":["postback"],"type":"string"}},"required":["postback","type"],"type":"object"},"channels.messages.actions.postback":{"properties":{"handshake":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake"},"imageUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.action_postback"},"otpType":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.actions.postback_handshake":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"},"supportedApps":{"items":{"$ref":"#/components/schemas/channels.messages.actions.postback_handshake_supported_app"},"type":"array"},"text":{"type":"string"},"zeroTapTermsAccepted":{"type":"boolean"}},"required":["text","packageName","signatureHash","zeroTapTermsAccepted"],"type":"object"},"channels.messages.actions.postback_handshake_supported_app":{"properties":{"packageName":{"type":"string"},"signatureHash":{"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"channels.messages.metadata.action_postback":{"properties":{"description":{"$ref":"#/components/schemas/channels.messages.metadata.action_description"}},"type":"object"},"touchpoints.carousel":{"additionalProperties":false,"properties":{"carousel":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"}},"required":["items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["carousel"],"type":"string"}},"required":["type","carousel"],"type":"object"},"touchpoints.item":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"description":{"type":"string"},"id":{"type":"string"},"mediaUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.list":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"list":{"additionalProperties":false,"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.item"},"nullable":false,"type":"array"},"text":{"type":"string"},"title":{"type":"string"}},"required":["items"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["list"],"type":"string"}},"required":["type","list"],"type":"object"},"touchpoints.file":{"additionalProperties":false,"properties":{"file":{"additionalProperties":false,"properties":{"altText":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl","contentType"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["file"],"type":"string"}},"required":["type","file"],"type":"object"},"touchpoints.html":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"html":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["html"],"type":"string"}},"required":["type","html"],"type":"object"},"touchpoints.image":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"image":{"additionalProperties":false,"properties":{"altText":{"description":"altText with image headers is not supported. If passed, it will default to a footer instead","type":"string"},"mediaUrl":{"format":"uri","type":"string"}},"required":["mediaUrl"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["image"],"type":"string"}},"required":["type","image"],"type":"object"},"touchpoints.location":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["location"],"type":"string"}},"required":["type","location"],"type":"object"},"touchpoints.text":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"text":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},"touchpoints.layout":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"layout":{"additionalProperties":false,"properties":{"blocks":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.action"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.text"}]},"maxItems":4,"minItems":1,"type":"array"},"layout":{"enum":["left","center","right"],"type":"string"}},"required":["layout","blocks"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["layout"],"type":"string"}},"required":["type","layout"],"type":"object"},"touchpoints.link_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"linkAction":{"properties":{"text":{"type":"string"},"url":{"anyOf":[{"pattern":"{{[^{}]+}}","type":"string"},{"format":"uri","type":"string"}]}},"required":["text","url"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["link-action"],"type":"string"}},"required":["type","linkAction"],"type":"object"},"touchpoints.reply_action":{"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"replyAction":{"properties":{"imageUrl":{"type":"string"},"payload":{"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"role":{"type":"string"},"type":{"enum":["reply-action"],"type":"string"}},"required":["type","replyAction"],"type":"object"},"touchpoints.authentication.body":{"additionalProperties":false,"description":"An authentication body block used for authentication templates.","properties":{"authenticationBody":{"additionalProperties":false,"properties":{"addSecurityDisclaimer":{"description":"Whether to add a security disclaimer to the authentication body.","nullable":false,"type":"boolean"},"expirationTime":{"description":"The number of seconds after which the authentication body will expire. If not set, no expiration notification will be sent.","maximum":90,"minimum":1,"nullable":true,"type":"integer"},"messageSendTtlSeconds":{"description":"The number of seconds after which the message will expire. If not set, the message will not expire.","maximum":86400,"minimum":1,"nullable":true,"type":"integer"}},"required":["addSecurityDisclaimer"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-body"],"type":"string"}},"required":["type","authenticationBody"],"type":"object"},"touchpoints.authentication.action":{"additionalProperties":false,"description":"An authentication action block used for authentication templates.","properties":{"authenticationAction":{"additionalProperties":false,"properties":{"oneTap":{"additionalProperties":false,"description":"The one-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"androidPackageName":{"description":"The Android package name of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"},"androidSignatureHash":{"description":"The Android signature hash of the app that will be used for one-tap authentication.\n","nullable":false,"type":"string"}},"required":["androidPackageName","androidSignatureHash"],"type":"object"},"zeroTap":{"additionalProperties":false,"description":"The zero-tap configuration for the authentication action used on Android devices. For iOS a fallback to the standard authentication action will be used. If set to `null`, the standard authentication action will be used.\n","nullable":true,"properties":{"supportedApps":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.supported_app"},"type":"array"},"zeroTapTermsAccepted":{"description":"Indicates if the user has accepted the terms and conditions for zero-tap authentication.\n","nullable":false,"type":"boolean"}},"required":["supportedApps"],"type":"object"}},"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["authentication-action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.whatsapp.supported_app":{"additionalProperties":false,"properties":{"packageName":{"description":"The package name of the app that will be used for authentication.\n","nullable":false,"type":"string"},"signatureHash":{"description":"The signature hash of the app that will be used for authentication.\n","nullable":false,"type":"string"}},"required":["packageName","signatureHash"],"type":"object"},"touchpoints.apple.rich_link":{"additionalProperties":false,"description":"An apple rich link block.","properties":{"appleRichLink":{"additionalProperties":false,"properties":{"imageUrl":{"format":"uri","nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"url":{"format":"uri","nullable":false,"type":"string"},"videoUrl":{"format":"uri","nullable":true,"type":"string"}},"required":["url","title"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-rich-link"],"type":"string"}},"required":["type","appleRichLink"],"type":"object"},"touchpoints.apple.list_picker":{"additionalProperties":false,"properties":{"appleListPicker":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"sectionList":{"$ref":"#/components/schemas/touchpoints.section_list"}},"required":["receivedMessage","replyMessage","sectionList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-list-picker"],"type":"string"}},"required":["type","appleListPicker"],"type":"object"},"touchpoints.apple.display_message":{"additionalProperties":false,"properties":{"imageSubtitle":{"type":"string"},"imageTitle":{"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"secondaryTitle":{"type":"string"},"style":{"enum":["icon","small","large"],"type":"string"},"subtitle":{"type":"string"},"tertiaryTitle":{"type":"string"},"title":{"minLength":1,"type":"string"}},"required":["title"],"type":"object"},"touchpoints.section_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"sections":{"$ref":"#/components/schemas/touchpoints.sections"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.sections":{"items":{"additionalProperties":false,"properties":{"id":{"nullable":true,"type":"string"},"items":{"items":{"$ref":"#/components/schemas/touchpoints.reply_action"},"type":"array"},"multipleSelection":{"type":"boolean"},"title":{"type":"string"}},"required":["title","items"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.apple.time_picker":{"additionalProperties":false,"properties":{"appleTimePicker":{"additionalProperties":false,"properties":{"location":{"additionalProperties":false,"properties":{"coordinates":{"additionalProperties":false,"properties":{"latitude":{"format":"float","maximum":90,"minimum":-90,"type":"number"},"longitude":{"format":"float","maximum":180,"minimum":-180,"type":"number"}},"type":"object"},"location":{"additionalProperties":false,"properties":{"address":{"type":"string"},"label":{"type":"string"}},"type":"object"}},"required":["coordinates"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"timeslotList":{"$ref":"#/components/schemas/touchpoints.timeslot_list"},"timezoneOffset":{"pattern":"^[A-Za-z]+/[A-Za-z_]+$","type":"string"}},"required":["receivedMessage","replyMessage","timeslotList"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-time-picker"],"type":"string"}},"required":["type","appleTimePicker"],"type":"object"},"touchpoints.timeslot_list":{"additionalProperties":false,"properties":{"parameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.timeslots":{"items":{"additionalProperties":false,"properties":{"duration":{"type":"number"},"id":{"nullable":true,"type":"string"},"startTime":{"format":"date-time","type":"string"}},"required":["startTime","duration"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.apple.form":{"additionalProperties":false,"properties":{"appleForm":{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"pages":{"items":{"additionalProperties":false,"properties":{"hintText":{"type":"string"},"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"imageUrl":{"type":"string"},"nextPageIdentifier":{"type":"string"},"title":{"type":"string"},"value":{"type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"itemsListingType":{"enum":["static","dynamic"],"type":"string"},"itemsParameterKey":{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},"multipleSelection":{"type":"boolean"},"nextPageIdentifier":{"type":"string"},"options":{"additionalProperties":false,"properties":{"dateFormat":{"type":"string"},"inputType":{"type":"string"},"keyboardType":{"type":"string"},"maximumCharacterCount":{"oneOf":[{"pattern":"^\\{\\{.+\\}\\}$","type":"string"},{"pattern":"^[0-9]+$","type":"string"},{"pattern":"^$","type":"string"}]},"maximumDate":{"type":"string"},"minimumDate":{"type":"string"},"required":{"type":"boolean"},"startDate":{"type":"string"}},"type":"object"},"pageIdentifier":{"type":"string"},"pickerTitle":{"type":"string"},"submitForm":{"type":"boolean"},"subtitle":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"}},"required":["pageIdentifier","type"],"type":"object"},"type":"array"},"showSummary":{"type":"boolean"},"splash":{"additionalProperties":false,"properties":{"buttonTitle":{"type":"string"},"header":{"type":"string"},"imageUrl":{"type":"string"},"splashText":{"type":"string"}},"required":["header","splashText","buttonTitle"],"type":"object"},"startPageIdentifier":{"type":"string"}},"required":["splash","pages"],"type":"object"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage","data"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-form"],"type":"string"}},"required":["type","appleForm"],"type":"object"},"touchpoints.apple.pay":{"additionalProperties":false,"properties":{"appleApplePay":{"additionalProperties":false,"properties":{"currencyCode":{"type":"string"},"lineItemList":{"$ref":"#/components/schemas/touchpoints.apple.line_item_list"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"requiredBillingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"requiredShippingContactFields":{"items":{"enum":["postalAddress","name","email","phone","phoneticName"],"type":"string"},"type":"array"},"shippingMethodList":{"$ref":"#/components/schemas/touchpoints.apple.shipping_method_list"},"totalCost":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"nullable":true,"type":"string"}},"type":"object"}},"required":["receivedMessage","lineItemList","totalCost","currencyCode"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-apple-pay"],"type":"string"}},"required":["type","appleApplePay"],"type":"object"},"touchpoints.apple.line_item_list":{"oneOf":[{"additionalProperties":false,"properties":{"lineItems":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"type":"array"},"parameterKey":{"type":"string"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","lineItems"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.apple.line_item":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"id":{"nullable":true,"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"required":["amount","text"],"type":"object"},"touchpoints.apple.shipping_method_list":{"additionalProperties":false,"nullable":true,"properties":{"parameterKey":{"type":"string"},"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.apple.shipping_methods":{"items":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"detail":{"type":"string"},"identifier":{"type":"string"},"label":{"type":"string"}},"required":["amount","label","identifier","detail"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.apple.authentication":{"additionalProperties":false,"properties":{"appleAuthentication":{"additionalProperties":false,"properties":{"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"replyMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"}},"required":["receivedMessage","replyMessage"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-authentication"],"type":"string"}},"required":["type","appleAuthentication"],"type":"object"},"touchpoints.apple.quick_reply":{"additionalProperties":false,"properties":{"appleQuickReply":{"additionalProperties":false,"properties":{"items":{"items":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"}},"required":["identifier","title"],"type":"object"},"maxItems":5,"minItems":1,"type":"array"},"summary":{"type":"string"}},"required":["summary","items"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-quick-reply"],"type":"string"}},"required":["type","appleQuickReply"],"type":"object"},"touchpoints.apple.imessage":{"additionalProperties":false,"properties":{"appleIMessage":{"additionalProperties":false,"properties":{"appId":{"type":"string"},"appName":{"type":"string"},"bid":{"type":"string"},"receivedMessage":{"$ref":"#/components/schemas/touchpoints.apple.display_message"},"url":{"type":"string"},"useLiveLayout":{"type":"boolean"}},"required":["appId","appName","receivedMessage","url","bid","useLiveLayout"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["apple-i-message"],"type":"string"}},"required":["type","appleIMessage"],"type":"object"},"touchpoints.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"product":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"externalProductId":{"type":"string"},"text":{"type":"string"},"type":{"enum":["pending","final"],"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product"],"type":"string"}},"required":["type","product"],"type":"object"},"touchpoints.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productList":{"$ref":"#/components/schemas/touchpoints.product.list.object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-list"],"type":"string"}},"required":["id","type","productList"],"type":"object"},"touchpoints.product.list.object":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.product"},"type":"array"},"type":{"enum":["static","dynamic"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"touchpoints.product.sections":{"additionalProperties":false,"description":"A product sectioned list block used for commerce product sectioned listing templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"productSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["product-sections"],"type":"string"}},"required":["type","productSections"],"type":"object"},"touchpoints.product.sections.object":{"items":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.product.object"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"},"nullable":true,"type":"array"},"touchpoints.product.object":{"additionalProperties":false,"properties":{"externalProductId":{"nullable":false,"type":"string"}},"required":["externalProductId"],"type":"object"},"touchpoints.action.multi_product":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"multiProductAction":{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"productList":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"productSections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"thumbnailExternalProductId":{"type":"string"}},"required":["parameterKey"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["multi-product-action"],"type":"string"}},"required":["type","multiProductAction"],"type":"object"},"touchpoints.whatsapp.product.item":{"additionalProperties":false,"description":"A product block used for WhatsApp product.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-item"],"type":"string"},"whatsappProductItem":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"required":["type","whatsappProductItem"],"type":"object"},"touchpoints.whatsapp.product.section":{"additionalProperties":false,"description":"A WhatsApp specific product section block used for grouping products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-section"],"type":"string"},"whatsappProductSection":{"additionalProperties":false,"properties":{"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"title":{"type":"string"}},"required":["title","products"],"type":"object"}},"required":["type","whatsappProductSection"],"type":"object"},"touchpoints.action.copy_code":{"additionalProperties":false,"properties":{"copyCodeAction":{"additionalProperties":false,"properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["copy-code-action"],"type":"string"}},"required":["type","copyCodeAction"],"type":"object"},"touchpoints.action.call_phone_number":{"additionalProperties":false,"properties":{"callPhoneNumberAction":{"additionalProperties":false,"properties":{"phoneNumber":{"maxLength":20,"minLength":1,"type":"string"},"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text","phoneNumber"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["call-phone-number-action"],"type":"string"}},"required":["type","callPhoneNumberAction"],"type":"object"},"touchpoints.action.voice_call":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["voice-call-action"],"type":"string"},"voiceCallAction":{"additionalProperties":false,"properties":{"text":{"maxLength":25,"minLength":1,"type":"string"}},"required":["text"],"type":"object"}},"required":["type","voiceCallAction"],"type":"object"},"touchpoints.action.open_catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"openCatalogAction":{"additionalProperties":false,"properties":{"thumbnail":{"additionalProperties":false,"properties":{"externalProductId":{"type":"string"}},"required":["externalProductId"],"type":"object"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["open-catalog-action"],"type":"string"}},"required":["type","openCatalogAction"],"type":"object"},"touchpoints.limited_time_offer":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"limitedTimeOffer":{"additionalProperties":false,"properties":{"expiresAt":{"nullable":true,"type":"string"},"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["limited-time-offer"],"type":"string"}},"required":["type","limitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.catalog":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-catalog"],"type":"string"},"whatsappCatalog":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.open_catalog"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["body","action"],"type":"object"}},"required":["type","whatsappCatalog"],"type":"object"},"touchpoints.whatsapp.product":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product"],"type":"string"},"whatsappProduct":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"product":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}},"type":"object"}},"required":["type","whatsappProduct"],"type":"object"},"touchpoints.whatsapp.product.list":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-list"],"type":"string"},"whatsappProductList":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"},"products":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.whatsapp.product.items"},{"$ref":"#/components/schemas/touchpoints.whatsapp.product.sections"}]}},"required":["header","body","products"],"type":"object"}},"required":["type","whatsappProductList"],"type":"object"},"touchpoints.whatsapp.product.items":{"additionalProperties":false,"description":"A list of WhatsApp products.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-items"],"type":"string"},"whatsappProductItems":{"oneOf":[{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"products":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","products"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductItems"],"type":"object"},"touchpoints.whatsapp.product.sections":{"additionalProperties":false,"description":"A WhatsApp specific product sectioned list block used for showing products in WhatsApp.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-product-sections"],"type":"string"},"whatsappProductSections":{"oneOf":[{"additionalProperties":false,"properties":{"sections":{"items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"},"type":"array"},"type":{"enum":["static"],"type":"string"}},"required":["type","sections"],"type":"object"},{"additionalProperties":false,"properties":{"parameterKey":{"type":"string"},"type":{"enum":["dynamic"],"type":"string"}},"required":["type","parameterKey"],"type":"object"}]}},"required":["type","whatsappProductSections"],"type":"object"},"touchpoints.whatsapp.coupon":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-coupon"],"type":"string"},"whatsappCoupon":{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":9,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.text"},{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["body","couponAction"],"type":"object"}},"required":["type","whatsappCoupon"],"type":"object"},"touchpoints.whatsapp.multi_product":{"additionalProperties":false,"description":"A product list block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-multi-product"],"type":"string"},"whatsappMultiProduct":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.action.multi_product"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"$ref":"#/components/schemas/touchpoints.text"}},"required":["header","body","action"],"type":"object"}},"required":["type","whatsappMultiProduct"],"type":"object"},"touchpoints.whatsapp.carousel":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel"],"type":"string"},"whatsappCarousel":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"cards":{"description":"Static card definitions. For hybrid mode, these are first cards followed by dynamic cards.","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"},"maxItems":10,"minItems":0,"type":"array"},"cardsParameterKey":{"description":"Parameter key for dynamic cards. Required when cardsType is dynamic or hybrid.","type":"string"},"cardsType":{"description":"Type of cards - static (all inline), dynamic (all from parameter), or hybrid (static + dynamic appended). Defaults to static.","enum":["static","dynamic","hybrid"],"type":"string"}},"required":["body"],"type":"object"}},"required":["type","whatsappCarousel"],"type":"object"},"touchpoints.whatsapp.carousel.card":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-carousel-card"],"type":"string"},"whatsappCarouselCard":{"additionalProperties":false,"properties":{"actions":{"description":"Approved templates support up to 2 actions per card (link-action, reply-action, or call-phone-number-action). Session carousels only support one CTA URL button per card (enforced at runtime).","items":{"anyOf":[{"$ref":"#/components/schemas/touchpoints.link_action"},{"$ref":"#/components/schemas/touchpoints.reply_action"},{"$ref":"#/components/schemas/touchpoints.action.call_phone_number"}]},"maxItems":2,"minItems":1,"type":"array"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]}},"required":["header","body","actions"],"type":"object"}},"required":["type","whatsappCarouselCard"],"type":"object"},"touchpoints.whatsapp.limited_time_offer":{"additionalProperties":false,"description":"A limited-time offer block to display messages with expiration date, countdown and promotional codes.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-limited-time-offer"],"type":"string"},"whatsappLimitedTimeOffer":{"additionalProperties":false,"properties":{"body":{"$ref":"#/components/schemas/touchpoints.text"},"couponAction":{"$ref":"#/components/schemas/touchpoints.action.copy_code"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"}]},"limitedTimeOffer":{"$ref":"#/components/schemas/touchpoints.limited_time_offer"},"linkAction":{"$ref":"#/components/schemas/touchpoints.link_action"}},"required":["body","limitedTimeOffer","linkAction"],"type":"object"}},"required":["type","whatsappLimitedTimeOffer"],"type":"object"},"touchpoints.whatsapp.flow.action":{"additionalProperties":false,"properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow-action"],"type":"string"},"whatsappFlowAction":{"oneOf":[{"additionalProperties":false,"properties":{"actionPayload":{"additionalProperties":false,"properties":{"data":{"additionalProperties":true,"nullable":true,"type":"object"},"screen":{"type":"string"}},"type":"object"},"actionType":{"enum":["navigate"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"},{"additionalProperties":false,"properties":{"actionType":{"enum":["data_exchange"],"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"token":{"type":"string"}},"required":["id","label","actionType"],"type":"object"}]}},"required":["type","whatsappFlowAction"],"type":"object"},"touchpoints.whatsapp.flow":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["whatsapp-flow"],"type":"string"},"whatsappFlow":{"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/touchpoints.whatsapp.flow.action"},"body":{"$ref":"#/components/schemas/touchpoints.text"},"footer":{"$ref":"#/components/schemas/touchpoints.text"},"header":{"oneOf":[{"$ref":"#/components/schemas/touchpoints.image"},{"$ref":"#/components/schemas/touchpoints.file"},{"$ref":"#/components/schemas/touchpoints.text"}]}},"required":["body","action"],"type":"object"}},"required":["type","whatsappFlow"],"type":"object"},"touchpoints.push_notification.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"pushNotificationsMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customConfiguration":{"additionalProperties":false,"properties":{"apns":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customCategory":{"type":"string"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"firebase":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"},"web":{"properties":{"badgeCount":{"minimum":0,"type":"integer"},"body":{"type":"string"},"buttons":{"items":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"type":"array"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subTitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"type":"object"}},"type":"object"},"customPayload":{"type":"string"},"displayPriority":{"enum":["LOW","DEFAULT","HIGH"],"type":"string"},"imageUrl":{"type":"string"},"soundEnabled":{"type":"boolean"},"subtitle":{"type":"string"},"tapAction":{"$ref":"#/components/schemas/touchpoints.push_notification_action"},"title":{"type":"string"}},"required":["tapAction"],"type":"object"}},"required":["v1"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["push-notifications-message"],"type":"string"}},"required":["type","pushNotificationsMessage"],"type":"object"},"touchpoints.push_notification_action":{"additionalProperties":false,"properties":{"identifier":{"type":"string"},"title":{"type":"string"},"type":{"enum":["OPEN_APP","URL","DEEP_LINK"],"type":"string"},"uri":{"format":"uri","type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.basic_text":{"additionalProperties":false,"description":"Block structure for RCS Basic Text. Supports up to 160 UTF-8 characters.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsBasicText":{"additionalProperties":false,"properties":{"text":{"type":"string"}},"required":["text"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-basic-text"],"type":"string"}},"required":["type","rcsBasicText"],"type":"object"},"touchpoints.rcs.rich_card":{"additionalProperties":false,"description":"A product block used for RCS Rich cards.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichCard":{"additionalProperties":false,"properties":{"card":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"orientation":{"enum":["vertical","horizontal"],"type":"string"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"thumbnailImageAlignment":{"enum":["left","right"],"type":"string"}},"required":["orientation","thumbnailImageAlignment","card"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-card"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.card":{"additionalProperties":false,"description":"A a RCS card used in RCS Carousel or as a standalone card","properties":{"description":{"type":"string"},"id":{"type":"string"},"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":4,"type":"array"},"title":{"type":"string"}},"type":"object"},"touchpoints.rcs.media":{"additionalProperties":false,"description":"A media for use with RCS messages","properties":{"fileUrl":{"type":"string"},"height":{"enum":["short","medium","tall"],"type":"string"},"thumbnailUrl":{"nullable":true,"type":"string"}},"required":["height","fileUrl"],"type":"object"},"touchpoints.rcs.suggestion":{"additionalProperties":false,"description":"A suggestion for use with RCS messages","properties":{"action":{"additionalProperties":false,"oneOf":[{"required":["dialAction"]},{"required":["openUrlAction"]},{"required":["createCalendarEventAction"]},{"required":["viewLocationAction"]},{"required":["shareLocationAction"]}],"properties":{"createCalendarEventAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.calendar"},"dialAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.dial"},"fallbackUrl":{"type":"string"},"openUrlAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.open_url"},"postbackData":{"minLength":1,"type":"string"},"shareLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.share_location"},"text":{"maxLength":25,"minLength":1,"type":"string"},"type":{"enum":["openUrl","dial","createCalendarEvent","viewLocation","shareLocation"],"type":"string"},"viewLocationAction":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion.action.view_location"}},"required":["type","text","postbackData"],"type":"object"},"id":{"type":"string"},"reply":{"additionalProperties":false,"properties":{"postbackData":{"minLength":1,"type":"string"},"text":{"maxLength":25,"type":"string"}},"required":["text","postbackData"],"type":"object"},"type":{"enum":["reply","action"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.suggestion.action.calendar":{"additionalProperties":false,"properties":{"description":{"type":"string"},"end":{"format":"date-time","type":"string"},"start":{"format":"date-time","type":"string"},"title":{"type":"string"}},"required":["title","description","start","end"],"type":"object"},"touchpoints.rcs.suggestion.action.dial":{"additionalProperties":false,"properties":{"phoneNumber":{"description":"The phone number in E.164 format, for example, +12223334444","type":"string"}},"required":["phoneNumber"],"type":"object"},"touchpoints.rcs.suggestion.action.open_url":{"additionalProperties":false,"properties":{"application":{"description":"URL open application","enum":["browser","webview"],"type":"string"},"description":{"description":"Accessibility description for webview","type":"string"},"url":{"description":"URL","type":"string"},"webviewViewMode":{"description":"View mode for webview","enum":["full","half","tall"],"type":"string"}},"required":["url"],"type":"object"},"touchpoints.rcs.suggestion.action.share_location":{"additionalProperties":false,"type":"object"},"touchpoints.rcs.suggestion.action.view_location":{"additionalProperties":false,"properties":{"label":{"description":"(Optional) The label of the pin dropped at latLong.","type":"string"},"latLong":{"additionalProperties":false,"description":"(Optional, only supported on Android Messages clients) Rather than specify a latLong (and optionally, a label), the agent can instead specify a query string.","properties":{"latitude":{"description":"The latitude of the location.","type":"string"},"longitude":{"description":"The longitude of the location.","type":"string"}},"required":["latitude","longitude"],"type":"object"},"query":{"description":"(Optional) The query to search for.","type":"string"}},"type":"object"},"touchpoints.rcs.carousel":{"additionalProperties":false,"description":"A product block used for RCS carousel.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsCarousel":{"additionalProperties":false,"properties":{"cardWidth":{"enum":["small","medium"],"type":"string"},"cards":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.card"},"type":"array"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"}},"required":["cardWidth","cards"],"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-carousel"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.rcs.rich_message":{"additionalProperties":false,"description":"A block used for a combination of text, media and suggestions.","properties":{"hidden":{"type":"boolean"},"id":{"type":"string"},"rcsRichMessage":{"additionalProperties":false,"anyOf":[{"required":["text"]},{"required":["media"]}],"properties":{"media":{"$ref":"#/components/schemas/touchpoints.rcs.media"},"suggestions":{"items":{"$ref":"#/components/schemas/touchpoints.rcs.suggestion"},"maxItems":11,"type":"array"},"text":{"minLength":1,"nullable":true,"type":"string"}},"type":"object"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["rcs-rich-message"],"type":"string"}},"required":["type"],"type":"object"},"touchpoints.app_inbox.message":{"additionalProperties":false,"description":"A product block used for commerce product templates.","properties":{"appInboxMessage":{"properties":{"v1":{"additionalProperties":false,"properties":{"basicContent":{"properties":{"body":{"maxLength":240,"minLength":1,"type":"string"},"title":{"maxLength":65,"minLength":1,"type":"string"}},"required":["title","body"],"type":"object"},"type":{"type":"string"}},"type":"object"}},"required":["v1"],"type":"object"},"hidden":{"type":"boolean"},"id":{"type":"string"},"reference":{"type":"string"},"role":{"type":"string"},"type":{"enum":["app-inbox-message"],"type":"string"}},"required":["type","appInboxMessage"],"type":"object"},"Style":{"oneOf":[{"$ref":"#/components/schemas/ValueString"},{"$ref":"#/components/schemas/ValueStringArray"},{"$ref":"#/components/schemas/ValueConfigurationPair"},{"$ref":"#/components/schemas/ValueConfigurationPairArray"},{"$ref":"#/components/schemas/ValueBoolean"},{"$ref":"#/components/schemas/ValueBooleanArray"},{"$ref":"#/components/schemas/ValueFloat"},{"$ref":"#/components/schemas/ValueFloatArray"},{"$ref":"#/components/schemas/ValueInteger"},{"$ref":"#/components/schemas/ValueIntegerArray"}]},"ValueString":{"type":"object","additionalProperties":false,"required":["key","valueString"],"properties":{"key":{"type":"string"},"valueString":{"type":"string"},"isDefault":{"type":"boolean","nullable":true}}},"ValueStringArray":{"type":"object","additionalProperties":false,"required":["key","valueStringArray"],"properties":{"key":{"type":"string"},"valueStringArray":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPair":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPair"],"properties":{"key":{"type":"string"},"valueConfigurationPair":{"type":"object","additionalProperties":true},"isDefault":{"type":"boolean","nullable":true}}},"ValueConfigurationPairArray":{"type":"object","additionalProperties":false,"required":["key","valueConfigurationPairArray"],"properties":{"key":{"type":"string"},"valueConfigurationPairArray":{"type":"array","items":{"type":"object","additionalProperties":true}},"isDefault":{"type":"boolean","nullable":true}}},"ValueBoolean":{"type":"object","additionalProperties":false,"required":["key","valueBoolean"],"properties":{"key":{"type":"string"},"valueBoolean":{"type":"boolean"},"isDefault":{"type":"boolean","nullable":true}}},"ValueBooleanArray":{"type":"object","additionalProperties":false,"required":["key","valueBooleanArray"],"properties":{"key":{"type":"string"},"valueBooleanArray":{"type":"array","items":{"type":"boolean"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloat":{"type":"object","additionalProperties":false,"required":["key","valueFloat"],"properties":{"key":{"type":"string"},"floatValue":{"type":"number","format":"float"},"isDefault":{"type":"boolean","nullable":true}}},"ValueFloatArray":{"type":"object","additionalProperties":false,"required":["key","valueFloatArray"],"properties":{"key":{"type":"string"},"floatValueArray":{"type":"array","items":{"type":"number","format":"float"}},"isDefault":{"type":"boolean","nullable":true}}},"ValueInteger":{"type":"object","additionalProperties":false,"required":["key","valueInteger"],"properties":{"key":{"type":"string"},"valueInteger":{"type":"number"},"isDefault":{"type":"boolean","nullable":true}}},"ValueIntegerArray":{"type":"object","additionalProperties":false,"required":["key","valueIntegerArray"],"properties":{"key":{"type":"string"},"valueIntegerArray":{"type":"array","items":{"type":"number"}},"isDefault":{"type":"boolean","nullable":true}}},"ChannelTemplateParameter":{"type":"object","title":"ChannelTemplateParameter","additionalProperties":false,"properties":{"type":{"type":"string","enum":["string","systemVariable","sectionList","timeslotList","productList","productSections","shippingMethodList","whatsappProductSections","lineItemList","whatsappProductItems","shortLink","carouselCards","appleFormPageItems"]},"sourceUrl":{"$ref":"#/components/schemas/SourceUrl"},"key":{"type":"string"},"value":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"sections":{"$ref":"#/components/schemas/touchpoints.sections"}}},{"type":"object","additionalProperties":false,"properties":{"timeslots":{"$ref":"#/components/schemas/touchpoints.timeslots"}}},{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.product"}}}},{"type":"object","additionalProperties":false,"properties":{"productSections":{"$ref":"#/components/schemas/touchpoints.product.sections.object"}}},{"type":"object","additionalProperties":false,"properties":{"shippingMethods":{"$ref":"#/components/schemas/touchpoints.apple.shipping_methods"}}},{"type":"object","additionalProperties":false,"properties":{"sections":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.section"}}}},{"type":"object","additionalProperties":false,"properties":{"lineItems":{"$ref":"#/components/schemas/touchpoints.apple.line_items"}}},{"type":"object","additionalProperties":false,"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.product.item"}}}},{"type":"object","additionalProperties":false,"properties":{"cards":{"type":"array","items":{"$ref":"#/components/schemas/touchpoints.whatsapp.carousel.card"}}}},{"type":"object","additionalProperties":false,"properties":{"items":{"$ref":"#/components/schemas/touchpoints.apple.form.page_items"}}}]}}},"SourceUrl":{"type":"object","properties":{"fullyReplaced":{"type":"boolean"},"value":{"type":"string"}},"required":["fullyReplaced","value"]},"touchpoints.apple.line_items":{"items":{"$ref":"#/components/schemas/touchpoints.apple.line_item"},"nullable":true,"type":"array"},"touchpoints.apple.form.page_items":{"items":{"additionalProperties":false,"properties":{"identifier":{"description":"Unique identifier for the item.","type":"string"},"imageUrl":{"description":"Optional image URL for the item.","nullable":true,"type":"string"},"nextPageIdentifier":{"description":"Identifier of the next page to navigate to when this item is selected.","nullable":true,"type":"string"},"title":{"description":"Display label shown to the user.","type":"string"},"value":{"description":"Value submitted when the item is selected.","type":"string"}},"required":["identifier","title","value"],"type":"object"},"type":"array"},"ShortLinks":{"type":"object","properties":{"enabled":{"type":"boolean"},"domain":{"type":"string"}},"required":["Enabled","Domain"]},"MessageBodyResponse":{"type":"object","additionalProperties":false,"properties":{"validationErrors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"type":{"type":"string","enum":["body","blocks"]},"body":{"$ref":"#/components/schemas/channels.messages.body.body"},"blocks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/touchpoints.block"}},"styles":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Style"}}}},"channels.messages.body.body":{"discriminator":{"mapping":{"action":"#/components/schemas/channels.messages.body.body__variant__action","authentication":"#/components/schemas/channels.messages.body.body__variant__authentication","carousel":"#/components/schemas/channels.messages.body.body__variant__carousel","file":"#/components/schemas/channels.messages.body.body__variant__file","gif":"#/components/schemas/channels.messages.body.body__variant__gif","html":"#/components/schemas/channels.messages.body.body__variant__html","image":"#/components/schemas/channels.messages.body.body__variant__image","list":"#/components/schemas/channels.messages.body.body__variant__list","location":"#/components/schemas/channels.messages.body.body__variant__location","section":"#/components/schemas/channels.messages.body.body__variant__section","text":"#/components/schemas/channels.messages.body.body__variant__text"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/channels.messages.body.body__variant__text"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__html"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__image"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__gif"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__file"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__location"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__carousel"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__list"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__section"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__authentication"},{"$ref":"#/components/schemas/channels.messages.body.body__variant__action"}],"title":"Message Body"},"channels.messages.body.body__variant__text":{"properties":{"text":{"$ref":"#/components/schemas/channels.messages.body.text"},"type":{"enum":["text"],"type":"string"}},"required":["text","type"],"type":"object"},"channels.messages.body.text":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"attachments":{"items":{"$ref":"#/components/schemas/channels.messages.body.text_attachment"},"type":"array"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.text"},"text":{"type":"string"}},"required":["text"],"type":"object"},"channels.messages.body.text_attachment":{"properties":{"content":{"type":"string"},"contentId":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"inline":{"type":"boolean"},"mediaUrl":{"type":"string"}},"required":["mediaUrl","filename"],"type":"object"},"channels.messages.metadata.text":{"properties":{"apple":{"$ref":"#/components/schemas/channels.messages.metadata.text_apple"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"line":{"$ref":"#/components/schemas/channels.messages.metadata.text_line"},"paymentDetails":{"$ref":"#/components/schemas/channels.messages.metadata.text_payment_details"},"subject":{"type":"string"},"telegram":{"$ref":"#/components/schemas/channels.messages.metadata.text_telegram"},"whatsapp":{"$ref":"#/components/schemas/channels.messages.metadata.text_whatsapp"}},"type":"object"},"channels.messages.metadata.text_apple":{"properties":{"appClipPreview":{"type":"boolean"},"appClipRegion":{"type":"string"},"summaryText":{"type":"string"}},"type":"object"},"channels.messages.metadata.text_line":{"properties":{"emoji":{"$ref":"#/components/schemas/channels.messages.metadata.text_line_emoji"}},"type":"object"},"channels.messages.metadata.text_line_emoji":{"properties":{"items":{"items":{"$ref":"#/components/schemas/channels.messages.metadata.text_line_emoji_item"},"type":"array"}},"type":"object"},"channels.messages.metadata.text_line_emoji_item":{"properties":{"emojiId":{"type":"string"},"index":{"format":"uint32","type":"integer"},"length":{"format":"uint32","type":"integer"},"productId":{"type":"string"}},"required":["index","productId","emojiId"],"type":"object"},"channels.messages.metadata.text_payment_details":{"properties":{"amount":{"type":"string"},"currency":{"type":"string"},"sessionIdentifier":{"type":"string"},"state":{"type":"string"}},"required":["amount","state","currency"],"type":"object"},"channels.messages.metadata.text_telegram":{"properties":{"parseMode":{"type":"string"}},"type":"object"},"channels.messages.metadata.text_whatsapp":{"properties":{"callPermissionExpiration":{"format":"date-time","type":"string"},"callPermissionResponse":{"$ref":"#/components/schemas/channels.messages.metadata.text_whatsapp_call_permission_response"},"previewUrl":{"type":"boolean"}},"required":["previewUrl"],"type":"object"},"channels.messages.metadata.text_whatsapp_call_permission_response":{"enum":["accept","reject"],"type":"string"},"channels.messages.body.body__variant__html":{"properties":{"html":{"$ref":"#/components/schemas/channels.messages.body.html"},"type":{"enum":["html"],"type":"string"}},"required":["html","type"],"type":"object"},"channels.messages.body.html":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"attachments":{"items":{"$ref":"#/components/schemas/channels.messages.body.html_attachment"},"type":"array"},"html":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.html"},"text":{"type":"string"}},"type":"object"},"channels.messages.body.html_attachment":{"properties":{"content":{"type":"string"},"contentId":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"inline":{"type":"boolean"},"mediaUrl":{"type":"string"}},"required":["filename"],"type":"object"},"channels.messages.metadata.html":{"properties":{"clickTracking":{"type":"boolean"},"from":{"$ref":"#/components/schemas/channels.messages.metadata.email_from"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"initialOpenTracking":{"type":"boolean"},"openTracking":{"type":"boolean"},"subject":{"type":"string"}},"type":"object"},"channels.messages.metadata.email_from":{"properties":{"displayName":{"type":"string"},"username":{"type":"string"}},"type":"object"},"channels.messages.body.body__variant__image":{"properties":{"image":{"$ref":"#/components/schemas/channels.messages.body.images"},"type":{"enum":["image"],"type":"string"}},"required":["image","type"],"type":"object"},"channels.messages.body.images":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"images":{"items":{"$ref":"#/components/schemas/channels.messages.body.image"},"type":"array"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.images"},"text":{"type":"string"}},"required":["images"],"type":"object"},"channels.messages.body.image":{"properties":{"altText":{"type":"string"},"mediaPreviewUrl":{"type":"string"},"mediaUrl":{"type":"string"}},"required":["mediaUrl"],"type":"object"},"channels.messages.metadata.images":{"properties":{"fallbackText":{"type":"string"},"storyType":{"$ref":"#/components/schemas/channels.messages.metadata.story_type"},"subject":{"type":"string"},"telegram":{"$ref":"#/components/schemas/channels.messages.metadata.images_telegram"}},"type":"object"},"channels.messages.metadata.story_type":{"enum":["mention","reply"],"type":"string"},"channels.messages.metadata.images_telegram":{"properties":{"parseMode":{"type":"string"}},"type":"object"},"channels.messages.body.body__variant__gif":{"properties":{"gif":{"$ref":"#/components/schemas/channels.messages.body.gif"},"type":{"enum":["gif"],"type":"string"}},"required":["gif","type"],"type":"object"},"channels.messages.body.gif":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"mediaUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.gif"},"text":{"type":"string"}},"required":["mediaUrl"],"type":"object"},"channels.messages.metadata.gif":{"properties":{"telegram":{"$ref":"#/components/schemas/channels.messages.metadata.gif_telegram"}},"type":"object"},"channels.messages.metadata.gif_telegram":{"properties":{"parseMode":{"type":"string"}},"type":"object"},"channels.messages.body.body__variant__file":{"properties":{"file":{"$ref":"#/components/schemas/channels.messages.body.files"},"type":{"enum":["file"],"type":"string"}},"required":["file","type"],"type":"object"},"channels.messages.body.files":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"files":{"items":{"$ref":"#/components/schemas/channels.messages.body.file"},"type":"array"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.files"},"text":{"type":"string"}},"required":["files"],"type":"object"},"channels.messages.body.file":{"properties":{"altText":{"type":"string"},"contentType":{"type":"string"},"filename":{"type":"string"},"mediaUrl":{"type":"string"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.file"}},"required":["contentType","mediaUrl"],"type":"object"},"channels.messages.metadata.file":{"properties":{"isAnimated":{"type":"boolean"}},"type":"object"},"channels.messages.metadata.files":{"properties":{"fallbackText":{"type":"string"},"storyType":{"$ref":"#/components/schemas/channels.messages.metadata.story_type"},"subject":{"type":"string"},"telegram":{"$ref":"#/components/schemas/channels.messages.metadata.files_telegram"}},"type":"object"},"channels.messages.metadata.files_telegram":{"properties":{"parseMode":{"type":"string"}},"type":"object"},"channels.messages.body.body__variant__location":{"properties":{"location":{"$ref":"#/components/schemas/channels.messages.body.location"},"type":{"enum":["location"],"type":"string"}},"required":["location","type"],"type":"object"},"channels.messages.body.location":{"properties":{"coordinates":{"$ref":"#/components/schemas/channels.messages.body.location_coordinates"},"location":{"$ref":"#/components/schemas/channels.messages.body.location_location"}},"required":["coordinates","location"],"type":"object"},"channels.messages.body.location_coordinates":{"properties":{"latitude":{"format":"double","type":"number"},"longitude":{"format":"double","type":"number"}},"required":["latitude","longitude"],"type":"object"},"channels.messages.body.location_location":{"properties":{"address":{"type":"string"},"label":{"type":"string"}},"required":["address","label"],"type":"object"},"channels.messages.body.body__variant__carousel":{"properties":{"carousel":{"$ref":"#/components/schemas/channels.messages.body.carousel"},"type":{"enum":["carousel"],"type":"string"}},"required":["carousel","type"],"type":"object"},"channels.messages.body.carousel":{"properties":{"items":{"items":{"$ref":"#/components/schemas/channels.messages.body.item"},"type":"array"},"text":{"description":"Optional text displayed above the carousel cards.","type":"string"}},"type":"object"},"channels.messages.body.item":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"description":{"type":"string"},"mediaUrl":{"type":"string"},"size":{"format":"int64","type":"integer"},"title":{"type":"string"}},"type":"object"},"channels.messages.body.body__variant__list":{"properties":{"list":{"$ref":"#/components/schemas/channels.messages.body.list"},"type":{"enum":["list"],"type":"string"}},"required":["list","type"],"type":"object"},"channels.messages.body.list":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"altText":{"type":"string"},"items":{"items":{"$ref":"#/components/schemas/channels.messages.body.item"},"type":"array"},"metadata":{"$ref":"#/components/schemas/channels.messages.metadata.list"},"text":{"type":"string"},"title":{"type":"string"}},"type":"object"},"channels.messages.metadata.list":{"properties":{"button":{"$ref":"#/components/schemas/channels.messages.metadata.action_list_button"},"replyMessage":{"$ref":"#/components/schemas/channels.messages.metadata.action_list_reply_message"}},"type":"object"},"channels.messages.metadata.action_list_button":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object"},"channels.messages.metadata.action_list_reply_message":{"properties":{"text":{"type":"string"},"title":{"type":"string"}},"required":["title","text"],"type":"object"},"channels.messages.body.body__variant__section":{"properties":{"section":{"$ref":"#/components/schemas/channels.messages.body.section"},"type":{"enum":["section"],"type":"string"}},"required":["section","type"],"type":"object"},"channels.messages.body.section":{"properties":{"configurations":{"additionalProperties":{"type":"string"},"type":"object"},"items":{"items":{"$ref":"#/components/schemas/channels.messages.body.body"},"type":"array"}},"title":"Message Body Section","type":"object"},"channels.messages.body.body__variant__authentication":{"properties":{"authentication":{"$ref":"#/components/schemas/channels.messages.body.authentication"},"type":{"enum":["authentication"],"type":"string"}},"required":["authentication","type"],"type":"object"},"channels.messages.body.authentication":{"properties":{"otp":{"$ref":"#/components/schemas/channels.messages.body.authentication_otp"}},"type":"object"},"channels.messages.body.authentication_otp":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/channels.messages.actions.action"},"type":"array"},"disclaimer":{"description":"Whether to add a security disclaimer to the authentication body.","type":"boolean"},"expirationTime":{"description":"The number of seconds after which the authentication code expires. If not set, no expiration notification is sent.","format":"uint32","type":"integer"}},"required":["disclaimer"],"type":"object"},"channels.messages.body.body__variant__action":{"properties":{"action":{"$ref":"#/components/schemas/channels.messages.body.action"},"type":{"enum":["action"],"type":"string"}},"required":["action","type"],"type":"object"},"channels.messages.body.action":{"allOf":[{"properties":{"action":{"$ref":"#/components/schemas/channels.messages.body.action_type"}},"required":["action"],"type":"object"},{"oneOf":[{"properties":{"permissionRequest":{"$ref":"#/components/schemas/channels.messages.body.action_permission_request"}},"required":["permissionRequest"],"type":"object"}]}]},"channels.messages.body.action_type":{"enum":["permissionRequest"],"type":"string"},"channels.messages.body.action_permission_request":{"properties":{"resource":{"$ref":"#/components/schemas/channels.messages.body.permission_resource"}},"required":["resource"],"type":"object"},"channels.messages.body.permission_resource":{"enum":["call"],"type":"string"},"error.detailed":{"additionalProperties":false,"description":"An error returned from the API that includes additional details about the error. The `details` property can contain any additional information about the error that may be helpful for debugging or understanding the error.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":true,"description":"Any additional information about the error that may be helpful for debugging or understanding the error.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"DetailedError","type":"object"},"error.validation":{"additionalProperties":false,"description":"A validation error returned from the API. The `details` map keys are JSON paths\npointing into the request body / parameters; values are arrays of human-readable\nmessages describing each problem with that path.\n","properties":{"code":{"description":"A unique code that identifies the error. This code can be used to programmatically identify the error.","minLength":3,"type":"string"},"details":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Per-field validation messages keyed by JSON path.","type":"object"},"message":{"description":"A human-readable message that describes the error.","minLength":1,"type":"string"}},"required":["code","message"],"title":"ValidationError","type":"object"}},"responses":{"error.response.not_found":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.detailed"}}},"description":"The requested resource was not found."},"error.response.invalid_request":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/error.validation"}}},"description":"The request contains invalid parameters or body fields."}}},"paths":{"/workspaces/{workspaceId}/projects/channel-templates/create-preview":{"post":{"summary":"Create ChannelTemplate Preview","operationId":"createChannelTemplatePreview","tags":["channeltemplates"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChannelTemplatePreview"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageBodyResponse"}}}},"404":{"$ref":"#/components/responses/error.response.not_found"},"422":{"$ref":"#/components/responses/error.response.invalid_request"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bird.com/api/touchpoints-api/api-reference/message-templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
