Occurs when WhatsApp Business App message history is synchronized.
Use whatsapp.smb.history to handle this event at your webhook endpoint.
Triggers
Occurs when WhatsApp Business App message history is synchronized.Subscribe to whatsapp.smb.history when you configure your webhook endpoint.A history event can contain whatsappInboundMessage for an inbound message, whatsappMessage for an outbound message, or only chunk metadata. phase and progress are included when the event comes from a Meta history chunk. Do not require a message object in every history event.
Syntax
YCloud sends an HTTP POST request to your configured webhook URL. The following shape shows one payload variant. Angle-bracket values are placeholders; their types are listed under Parameters. Optional fields and other variants are described below.
Validate the YCloud-Signature HTTP header before you process the JSON body. See signature validation.
Event envelope
Parameter
Type
Required
Description
id
string
Yes
Unique ID for the event. Minimum length: 6. Maximum length: 128.
type
string
Yes
Always whatsapp.smb.history.
apiVersion
string
Yes
The API version used to render this event.
createTime
string (date-time)
Yes
The time at which this event was created, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
Event payload
Parameter
Type
Required
Description
phase
integer (int32)
No
Included when type is whatsapp.smb.history and the event was generated from a Meta history chunk. Identifies the chunk’s synchronization phase.
progress
integer (int32)
No
Included when type is whatsapp.smb.history and the event was generated from a Meta history chunk. Reports the chunk’s synchronization progress.
whatsappInboundMessage
object
No
Event-specific whatsappInboundMessage payload.
whatsappMessage
object
No
Event-specific whatsappMessage payload.
The four common envelope fields are required. Payload fields depend on the event variant. In each object table, Required applies when its parent object is present. Optional fields can be omitted; a sample does not make a field required.
whatsappInboundMessage
Parameter
Type
Required
Description
id
string
Yes
Unique ID for the object.
wamid
string
No
The original message ID on WhatsApp’s platform.
wabaId
string
No
WhatsApp Business Account ID.
from
string
No
The customer’s phone number who sent the message to the business, formatted in E.164 format.
fromUserId
string
No
The customer’s WhatsApp Business-scoped user ID (BSUID).
fromParentUserId
string
No
The customer’s parent WhatsApp Business-scoped user ID.
When the notification describes a text message, the text object provides the body of the text message.
image
object
No
When a message with media (image | document | audio | video | sticker) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.
video
object
No
When a message with media (image | document | audio | video | sticker) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.
audio
object
No
When a message with media (image | document | audio | video | sticker) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.
document
object
No
When a message with media (image | document | audio | video | sticker) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.
sticker
object
No
When a message with media (image | document | audio | video | sticker) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.
interactive
object
No
When a customer has interacted with your message, this object is included in the message object.
location
object
No
When you receive a notification of a user’s static location, the location object provides the details of the location.
button
object
No
When the message type field is set to button, this object is included in the message object.
contacts
object[]
No
Array items are described below.
reaction
object
No
When a user reacts to messages with an emoji, the message type is set to reaction, and this field is included.
order
object
No
When a customer places an order, the message type is set to order, and this field is included.
system
object
No
When the message type is set to system, this field is included. This object describes a user phone number change, a BSUID change, or a possible identity change on WhatsApp.
WhatsApp group ID. This field is included when the inbound message is sent in a WhatsApp group.
Message content by type
Use whatsappInboundMessage.type to find the matching message content object below when present.
text
Parameter
Type
Required
Description
body
string
No
Message text.
image
Parameter
Type
Required
Description
id
string
No
ID of the media. Can be used to delete the media if stored locally on the client.
link
string
No
The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an X-API-Key header to download this file within a month.
caption
string
No
The provided caption for the media. Only present if specified.
filename
string
No
Filename on the sender’s device. This will only be present in document media messages.
metadata
object
No
Metadata pertaining to sticker media.
mime_type
string
No
Mime type of the media.
sha256
string
No
Checksum.
video
Parameter
Type
Required
Description
id
string
No
ID of the media. Can be used to delete the media if stored locally on the client.
link
string
No
The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an X-API-Key header to download this file within a month.
caption
string
No
The provided caption for the media. Only present if specified.
filename
string
No
Filename on the sender’s device. This will only be present in document media messages.
metadata
object
No
Metadata pertaining to sticker media.
mime_type
string
No
Mime type of the media.
sha256
string
No
Checksum.
audio
Parameter
Type
Required
Description
id
string
No
ID of the media. Can be used to delete the media if stored locally on the client.
link
string
No
The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an X-API-Key header to download this file within a month.
caption
string
No
The provided caption for the media. Only present if specified.
filename
string
No
Filename on the sender’s device. This will only be present in document media messages.
metadata
object
No
Metadata pertaining to sticker media.
mime_type
string
No
Mime type of the media.
sha256
string
No
Checksum.
document
Parameter
Type
Required
Description
id
string
No
ID of the media. Can be used to delete the media if stored locally on the client.
link
string
No
The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an X-API-Key header to download this file within a month.
caption
string
No
The provided caption for the media. Only present if specified.
filename
string
No
Filename on the sender’s device. This will only be present in document media messages.
metadata
object
No
Metadata pertaining to sticker media.
mime_type
string
No
Mime type of the media.
sha256
string
No
Checksum.
sticker
Parameter
Type
Required
Description
id
string
No
ID of the media. Can be used to delete the media if stored locally on the client.
link
string
No
The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an X-API-Key header to download this file within a month.
caption
string
No
The provided caption for the media. Only present if specified.
filename
string
No
Filename on the sender’s device. This will only be present in document media messages.
metadata
object
No
Metadata pertaining to sticker media.
mime_type
string
No
Mime type of the media.
sha256
string
No
Checksum.
interactive
Parameter
Type
Required
Description
type
string
No
The type of interactive message received.
button_reply: Sent when a customer clicks a button.
list_reply: Sent when a customer selects an item from a list.
nfm_reply: Sent when a customer responds to a WhatsApp Flow (Next Feature Messaging).
call_permission_reply: Sent when a customer responds to a call permission request.
button_reply
object
No
Sent when a customer clicks a button. Returned when type is button_reply.
list_reply
object
No
Sent when a customer selects an item from a list. Returned when type is list_reply.
nfm_reply
object
No
Sent when a customer responds to a WhatsApp Flow (Next Feature Messaging). Returned when type is nfm_reply.
call_permission_reply
object
No
Sent when a customer responds to a call permission request. Returned when type is call_permission_reply. This occurs when WhatsApp prompts users to grant callback permissions after they call your business.
button_reply
Parameter
Type
Required
Description
id
string
No
Unique ID of the clicked button.
title
string
No
Title of a button.
list_reply
Parameter
Type
Required
Description
id
string
No
Unique ID of the selected list item.
title
string
No
Title of the selected list item.
description
string
No
Description of the selected row.
nfm_reply
Parameter
Type
Required
Description
name
string
No
The name of the flow or form being replied to.
response_json
string
No
JSON string containing the user’s responses to the flow. Contains form field values and flow token.
body
string
No
The body content of the flow reply message.
call_permission_reply
Parameter
Type
Required
Description
response
string
No
The customer’s response to the call permission request.
accept: User granted permission for business to call back
reject: User rejected permission for business to call back
expiration_timestamp
integer (int64)
No
The timestamp (in seconds) when the call permission expires. Only present when response is “accept” and is_permanent is false.
is_permanent
boolean
No
Whether the permission is permanent or temporary.
true: Permanent authorization (no expiration)
false: Temporary authorization (expires at expiration_timestamp)
location
Parameter
Type
Required
Description
latitude
number (double)
No
Latitude of location being sent.
longitude
number (double)
No
Longitude of location being sent.
address
string
No
Address of the location.
name
string
No
Name of the location.
url
string
No
URL for the website where the user downloaded the location information.
button
Parameter
Type
Required
Description
payload
string
No
The payload for a button set up by the business that a customer clicked as part of an interactive message.
text
string
No
Button text.
contacts[]
Parameter
Type
Required
Description
addresses
object[]
No
Array items are described below.
birthday
string
No
YYYY-MM-DD formatted string.
emails
object[]
No
Array items are described below.
name
object
Yes
Full contact name formatted as a name object.
org
object
No
Contact organization information formatted as an org object.
phones
object[]
No
Contact phone number(s) formatted as a phone object.
urls
object[]
No
Contact URL(s) formatted as a urls object.
vcard
string
No
Optional vCard supplied with the shared contact payload.
origin
string
No
Set to contact_request when the user shared the contact in response to a request-contact-info message.
addresses[]
Parameter
Type
Required
Description
street
string
No
Street number and name.
city
string
No
City name.
state
string
No
State abbreviation.
zip
string
No
ZIP code.
country
string
No
Full country name.
country_code
string
No
Two-letter country abbreviation.
type
string
No
Standard values are HOME and WORK.
emails[]
Parameter
Type
Required
Description
email
string
No
Email address.
type
string
No
Standard values are HOME and WORK.
name
Parameter
Type
Required
Description
formatted_name
string
Yes
Full name, as it normally appears.
first_name
string
No
First name.
last_name
string
No
Last name.
middle_name
string
No
Middle name.
suffix
string
No
Name suffix.
prefix
string
No
Name prefix.
org
Parameter
Type
Required
Description
company
string
No
Name of the contact’s company.
department
string
No
Name of the contact’s department.
title
string
No
Contact’s business title.
phones[]
Parameter
Type
Required
Description
phone
string
No
Automatically populated with the wa_id value as a formatted phone number.
type
string
No
Standard Values are CELL, MAIN, IPHONE, HOME, and WORK.
wa_id
string
No
WhatsApp ID.
urls[]
Parameter
Type
Required
Description
url
string
No
URL.
type
string
No
Standard values are HOME and WORK.
reaction
Parameter
Type
Required
Description
message_id
string
Yes
Specifies the wamid of the message received that contained the reaction.
emoji
string
No
Required when you send a reaction message. Set it to "" if you want to remove the emoji. Optional when you received a message from a user. This field is included when a user reacts to messages with an emoji. Otherwise, it indicates a user removed the emoji.
The recipient value submitted in the request when a BSUID or parent BSUID was used.
recipientUserId
string
No
The recipient’s WhatsApp Business-scoped user ID (BSUID).
toUserId
string
No
Alias of recipientUserId kept for compatibility.
parentRecipientUserId
string
No
The recipient’s parent WhatsApp Business-scoped user ID.
toParentUserId
string
No
Alias of parentRecipientUserId kept for compatibility.
customerProfile
object
No
The recipient’s profile information, including WhatsApp username when available.
conversation
object
No
WhatsApp defines a conversation as a 24-hour session of messaging between a person and a business. This field is present after the message status changes to sent. See also Conversation-Based Pricing.
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
video
object
No
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
audio
object
No
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
document
object
No
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
sticker
object
No
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
location
object
No
Use for location messages.
interactive
object
No
Use for interactive messages.
contacts
object[]
No
Array items are described below.
reaction
object
No
When a user reacts to messages with an emoji, the message type is set to reaction, and this field is included.
context
object
No
Used to mention a specific message you are replying to. The reply can be any message type.
externalId
string
No
A unique (recommended) string to reference the object. This can be an order number or similar, and can be used to reconcile the object with your internal systems.
category
string
No
The Direct Send category, such as utility or authentication, when applicable.
ttlSeconds
integer
No
The configured Direct Send message lifetime in seconds, when applicable.
status
string
No
WhatsApp message status. One of accepted, failed, sent, delivered, read.
accepted: The messaging request is accepted by our system.
failed: A message sent by your business failed to send.
sent: A message sent by your business is in transit within WhatsApp’s systems.
delivered: A message sent by your business was delivered to the user’s device.
read: A message sent by your business was read by the user.
errorCode
string
No
Error code when the message status is failed.
errorMessage
string
No
Error message when the message status is failed.
createTime
string (date-time)
No
The time at which this message is created, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
updateTime
string (date-time)
No
The time at which this message is updated, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
sendTime
string (date-time)
No
The time at which this message status changed to sent, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
deliverTime
string (date-time)
No
The time at which this message status changed to delivered, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
readTime
string (date-time)
No
The time at which this message status changed to read, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
totalPrice
number (double)
No
Total price of this message. Note: It’s only an estimated price when the status is accepted or sent. It becomes the final price after the message is delivered, i.e., the status is delivered or read.
For Max Price messages, the send-time amount is an estimate. Use the delivered/read whatsapp.message.updated event for the final charge; maxBid is not the final charged amount.
The pricing category of the message. Note: It’s only an estimated pricing category when the status is accepted or sent. It becomes final after the message is delivered, i.e., the status is delivered or read.
The pricing type of the message. This field is only available in PMP (Per-Message Pricing) mode.
regular: Indicates the message is billable.
free_customer_service: Indicates the message is free because it was either a utility template message or non-template message sent within a customer service window.
free_entry_point: Indicates the message is free because it is part of a free-entry point conversation.
This can be either empty or one of whatsapp, or verify. Defaults to whatsapp.
whatsapp: Indicates that the message is sent via the WhatsApp product.
verify: Indicates that the message is sent via the Verify product.
verificationId
string
No
The verification ID. Included only when bizType is verify.
bidPricingFlag
boolean
No
True when the message is identified as a Marketing Lite bidding message. Its pricingCategory is marketing_lite_bidding.
Message content by type
Use whatsappMessage.type to find the matching message content object below when present.
template
Parameter
Type
Required
Description
name
string
Yes
Name of the template.
language
object
Yes
Contains a language object. Specifies the language the template may be rendered in.
components
object[]
No
Required when the specified template contains variables or media. Array of component objects containing the parameters of the message.
language
Parameter
Type
Required
Description
code
string
Yes
The code of the language or locale to use. Accepts both language and language_locale formats (e.g., en and en_US). See Supported Languages for all codes.
policy
string
No
The language policy the message should follow. Default (and only supported option): deterministic, which means that WhatsApp delivers the message template in exactly the language and locale asked for.
quick_reply: Refers to a previously created quick reply button that allows for the customer to return a predefined message.
url: Refers to a previously created url button that allows the customer to visit the URL generated by appending the text parameter to the predefined prefix URL in the template.
copy_code: Refers to a previously created copy code button that allows the customer to copy a text string (defined when the template is sent in a template message) to the device’s clipboard when tapped by the app user.
catalog: Refers to a previously created catalog button that allows the customer to view your product catalog.
mpm: Refers to a previously created MPM (multi-product message) button that allows the customer to browser products and sections.
flow: Refers to a previously created flow button that allows the customer to interact with a flow.
order_details: Refers to a previously created order details button that allows the customer to view the details of an order.
index
integer (int32)
No
Required when type = button. Not used for the other types. Indicates order in which button should appear, if the template uses multiple buttons. Buttons are zero-indexed, so setting value to 0 will cause the button to appear first, and another button with an index of 1 will appear next, etc.
Minimum: 0. Maximum: 9.
parameters
object[]
No
Required when type = button, or there are variables in the corresponding template component, or the template HEADER format is media (IMAGE, VIDEO, or DOCUMENT). Array of parameter objects with the content of the message.
cards
object[]
No
Use for carousel components. Provides card components containing the parameters of the message.
parameters[]
Parameter
Type
Required
Description
type
string
No
Required. Component parameter type.
text: Used when the template component type is BODY, or the HEADER component format is TEXT.
image: Used when the template HEADER component is IMAGE.
gif: Used when the template HEADER component is GIF.
video: Used when the template HEADER component is VIDEO.
document: Used when the template HEADER component is DOCUMENT.
payload: Used when the template component button type is QUICK_REPLY.
coupon_code: Used when the template component button type is COPY_CODE.
limited_time_offer: Used when the template component type is LIMITED_TIME_OFFER.
action: Used when the template component button type is CATALOG, MPM, FLOW, or ORDER_DETAILS.
order_status: Used when the template subcategory is ORDER_STATUS.
location: Used when the template HEADER component is LOCATION.
text
string
No
Required when type = text. The message’s text. For the header component, the character limit is 60 characters. For the body component, the character limit is 1024 characters. For url buttons, it indicates the developer-provided suffix that is appended to the predefined prefix URL in the template.
payload
string
No
Required for quick_reply buttons. Developer-defined payload that is returned when the button is clicked in addition to the display text on the button.
coupon_code
string
No
Required when type = coupon_code. The coupon code to be copied when the customer taps the button.
image
object
No
Required when the template HEADER format is IMAGE.
gif
object
No
Required when the template HEADER format is GIF.
video
object
No
Required when the template HEADER format is VIDEO.
document
object
No
Required when the template HEADER format is DOCUMENT.
limited_time_offer
object
No
Required if template uses offer expiration details.
action
object
No
Required if template uses catalog or MPM (multi-product message) buttons.
order_status
object
No
Object fields are listed below.
location
object
No
Required when type = location.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
limited_time_offer
Parameter
Type
Required
Description
expiration_time_ms
integer (int64)
No
Required. Offer code expiration time as a UNIX timestamp in milliseconds.
action
Parameter
Type
Required
Description
thumbnail_product_retailer_id
string
No
Optional. Use for catalog and MPM template messages. Item SKU number. Labeled as Content ID in the Commerce Manager. The thumbnail of this item will be used as the message’s header image. If the parameters object is omitted, the product image of the first item in your catalog will be used.
sections
object[]
No
Use for MPM templates. Product sections. You can define up to 10 sections.
flow_token
string
No
Use for FLOW buttons. Flow token that is generated by the business to serve as an identifier. Defaults to unused.
flow_action_data
object
No
Use for FLOW buttons. JSON object with the data payload for the first screen.
order_details
object
No
Required for order_details buttons.
sections[]
Parameter
Type
Required
Description
title
string
No
Section title text. Maximum 24 characters. Markdown is not supported.
Maximum length: 24.
product_items
object[]
No
Array of product SKU numbers. There is a minimum of 1 product per section and a maximum of 30 products across all sections.
product_items[]
Parameter
Type
Required
Description
product_retailer_id
string
No
SKU number of the item you want to appear in the section. SKU numbers are labeled as Content ID in the Commerce Manager.
order_details
Parameter
Type
Required
Description
currency
string
Yes
The currency for this order. Currently the only supported value is INR.
order
object
Yes
Provides order status, items, subtotal, tax, etc.
reference_id
string
Yes
Unique identifier for the order provided by the business. It is case sensitive and cannot be an empty string and can only contain English letters, numbers, underscores, dashes, or dots, and should not exceed 35 characters.
The reference_id must be unique for each order_details message for a given business. If there is a need to send multiple order_details messages for the same order, it is recommended to include a sequence number in the reference_id (for example, “BM345A-12”) to ensure reference_id uniqueness.
total_amount
object
Yes
The total amount of the order.
type
string
Yes
The type of goods being paid for in this order. Current supported options are digital-goods and physical-goods.
payment_settings
object[]
Yes
Payment settings for the order.
order
Parameter
Type
Required
Description
status
string
No
Only supported value in the order_details message is pending. In an order_status message, status can be: pending, processing, partially_shipped, shipped, completed, or canceled.
type
string
No
Only supported value is quick_pay. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.
catalog_id
string
No
Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: country_of_origin, importer_name, and importer_address.
items
object[]
No
Array of items in the order.
subtotal
object
No
The value must be equal to sum of order.amount.value * order.amount.quantity.
tax
object
No
The tax information for this order.
shipping
object
No
The shipping cost of the order.
discount
object
No
The discount amount for this order.
expiration
object
No
Expiration for this order.
description
string
No
Optional. Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.
Maximum length: 120.
items[]
Parameter
Type
Required
Description
retailer_id
string
No
Content ID for an item in the order from your catalog.
name
string
Yes
The item’s name to be displayed to the user. Cannot exceed 60 characters.
Maximum length: 60.
image
object
No
Custom image for the item to be displayed to the user.
amount
object
Yes
The price per item.
sale_amount
object
No
The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.
quantity
integer (int32)
Yes
The number of items in the order.
country_of_origin
string
No
Required if catalog_id is not present. The country of origin of the product.
importer_name
string
No
Required if catalog_id is not present. Name of the importer company.
importer_address
string
No
Required if catalog_id is not present. Address of importer company.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
sale_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
subtotal
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
tax
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
shipping
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
discount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
expiration
Parameter
Type
Required
Description
timestamp
string
Yes
A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.
description
string
No
Text explanation for expiration.
Maximum length: 120.
total_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
payment_settings[]
Parameter
Type
Required
Description
type
string
Yes
Must be set to payment_gateway.
payment_gateway
object
Yes
An object that describes payment account information.
payment_gateway
Parameter
Type
Required
Description
type
string
Yes
Payment type. Must set this to billdesk, razorpay, payu, or zaakpay, if you have linked your BillDesk, Razorpay, PayU, or Zaakpay payment gateway to accept payments.
configuration_name
string
Yes
The name of the pre-configured payment configuration to use for this order and must not exceed 60 characters. This value must match with a payment configuration set up on the WhatsApp Business Manager.
Maximum length: 60.
billdesk
object
No
Additional info for BillDesk. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 120.
payu
object
No
Additional info for PayU. User-defined fields (udf) are used to store any information corresponding to a particular order. Each UDF field has a maximum character limit of 255.
razorpay
object
No
Additional info for Razorpay.
zaakpay
object
No
Additional info for Zaakpay. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 180.
billdesk
Parameter
Type
Required
Description
additional_info1
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info2
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info3
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info4
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info5
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info6
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info7
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
payu
Parameter
Type
Required
Description
udf1
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf2
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf3
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf4
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
razorpay
Parameter
Type
Required
Description
receipt
string
No
Receipt number that corresponds to this order, set for your internal reference. Maximum length of 40 characters supported with minimum length greater than 0 characters.
notes
object
No
The object can be key value pairs with maximum 15 keys and each value limits to 256 characters.
zaakpay
Parameter
Type
Required
Description
extra1
string
No
User-defined information about this order for Zaakpay.
Maximum length: 180 characters.
extra2
string
No
User-defined information about this order for Zaakpay.
Maximum length: 180 characters.
order_status
Parameter
Type
Required
Description
reference_id
string
No
Unique identifier for the order provided by the business.
order
object
No
Provides only status and description of this order for order_status messages.
order
Parameter
Type
Required
Description
status
string
No
Only supported value in the order_details message is pending. In an order_status message, status can be: pending, processing, partially_shipped, shipped, completed, or canceled.
type
string
No
Only supported value is quick_pay. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.
catalog_id
string
No
Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: country_of_origin, importer_name, and importer_address.
items
object[]
No
Array of items in the order.
subtotal
object
No
The value must be equal to sum of order.amount.value * order.amount.quantity.
tax
object
No
The tax information for this order.
shipping
object
No
The shipping cost of the order.
discount
object
No
The discount amount for this order.
expiration
object
No
Expiration for this order.
description
string
No
Optional. Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.
Maximum length: 120.
items[]
Parameter
Type
Required
Description
retailer_id
string
No
Content ID for an item in the order from your catalog.
name
string
Yes
The item’s name to be displayed to the user. Cannot exceed 60 characters.
Maximum length: 60.
image
object
No
Custom image for the item to be displayed to the user.
amount
object
Yes
The price per item.
sale_amount
object
No
The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.
quantity
integer (int32)
Yes
The number of items in the order.
country_of_origin
string
No
Required if catalog_id is not present. The country of origin of the product.
importer_name
string
No
Required if catalog_id is not present. Name of the importer company.
importer_address
string
No
Required if catalog_id is not present. Address of importer company.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
sale_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
subtotal
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
tax
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
shipping
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
discount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
expiration
Parameter
Type
Required
Description
timestamp
string
Yes
A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.
description
string
No
Text explanation for expiration.
Maximum length: 120.
location
Parameter
Type
Required
Description
latitude
number (double)
Yes
Latitude of the location.
longitude
number (double)
Yes
Longitude of the location.
name
string
No
Name of the location.
address
string
No
Address of the location. Only displayed if name is present.
cards[]
Parameter
Type
Required
Description
card_index
integer (int32)
No
Required. Zero-indexed order in which card appears within the card carousel. 0 indicates first card, 1 indicates second card, etc.
Minimum: 0. Maximum: 9.
components
object[]
No
Card component.
components[]
Parameter
Type
Required
Description
type
string
Yes
Component type.
Values: header, body, button.
sub_type
string
No
Required when type is button. Type of button.
quick_reply: Refers to a previously created quick reply button that allows for the customer to return a predefined message.
url: Refers to a previously created url button that allows the customer to visit the URL generated by appending the text parameter to the predefined prefix URL in the template.
index
integer (int32)
No
Required when type = button. Not used for the other types. Indicates order in which button should appear, if the template uses multiple buttons. Buttons are zero-indexed, so setting value to 0 will cause the button to appear first, and another button with an index of 1 will appear next, etc.
Minimum: 0. Maximum: 9.
parameters
object[]
No
Required when type = button, or there are variables in the corresponding template component, or the card component HEADER format is media (IMAGE, VIDEO). Array of parameter objects with the content of the message.
parameters[]
Parameter
Type
Required
Description
type
string
No
Required. Component parameter type.
text: Used when the template component type is BODY, or the HEADER component format is TEXT.
image: Used when the template HEADER component is IMAGE.
gif: Used when the template HEADER component is GIF.
video: Used when the template HEADER component is VIDEO.
document: Used when the template HEADER component is DOCUMENT.
payload: Used when the template component button type is QUICK_REPLY.
coupon_code: Used when the template component button type is COPY_CODE.
limited_time_offer: Used when the template component type is LIMITED_TIME_OFFER.
action: Used when the template component button type is CATALOG, MPM, FLOW, or ORDER_DETAILS.
order_status: Used when the template subcategory is ORDER_STATUS.
location: Used when the template HEADER component is LOCATION.
text
string
No
Required when type = text. The message’s text. For the header component, the character limit is 60 characters. For the body component, the character limit is 1024 characters. For url buttons, it indicates the developer-provided suffix that is appended to the predefined prefix URL in the template.
payload
string
No
Required for quick_reply buttons. Developer-defined payload that is returned when the button is clicked in addition to the display text on the button.
coupon_code
string
No
Required when type = coupon_code. The coupon code to be copied when the customer taps the button.
image
object
No
Required when the template HEADER format is IMAGE.
gif
object
No
Required when the template HEADER format is GIF.
video
object
No
Required when the template HEADER format is VIDEO.
document
object
No
Required when the template HEADER format is DOCUMENT.
limited_time_offer
object
No
Required if template uses offer expiration details.
action
object
No
Required if template uses catalog or MPM (multi-product message) buttons.
order_status
object
No
Object fields are listed below.
location
object
No
Required when type = location.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
limited_time_offer
Parameter
Type
Required
Description
expiration_time_ms
integer (int64)
No
Required. Offer code expiration time as a UNIX timestamp in milliseconds.
action
Parameter
Type
Required
Description
thumbnail_product_retailer_id
string
No
Optional. Use for catalog and MPM template messages. Item SKU number. Labeled as Content ID in the Commerce Manager. The thumbnail of this item will be used as the message’s header image. If the parameters object is omitted, the product image of the first item in your catalog will be used.
sections
object[]
No
Use for MPM templates. Product sections. You can define up to 10 sections.
flow_token
string
No
Use for FLOW buttons. Flow token that is generated by the business to serve as an identifier. Defaults to unused.
flow_action_data
object
No
Use for FLOW buttons. JSON object with the data payload for the first screen.
order_details
object
No
Required for order_details buttons.
sections[]
Parameter
Type
Required
Description
title
string
No
Section title text. Maximum 24 characters. Markdown is not supported.
Maximum length: 24.
product_items
object[]
No
Array of product SKU numbers. There is a minimum of 1 product per section and a maximum of 30 products across all sections.
product_items[]
Parameter
Type
Required
Description
product_retailer_id
string
No
SKU number of the item you want to appear in the section. SKU numbers are labeled as Content ID in the Commerce Manager.
order_details
Parameter
Type
Required
Description
currency
string
Yes
The currency for this order. Currently the only supported value is INR.
order
object
Yes
Provides order status, items, subtotal, tax, etc.
reference_id
string
Yes
Unique identifier for the order provided by the business. It is case sensitive and cannot be an empty string and can only contain English letters, numbers, underscores, dashes, or dots, and should not exceed 35 characters.
The reference_id must be unique for each order_details message for a given business. If there is a need to send multiple order_details messages for the same order, it is recommended to include a sequence number in the reference_id (for example, “BM345A-12”) to ensure reference_id uniqueness.
total_amount
object
Yes
The total amount of the order.
type
string
Yes
The type of goods being paid for in this order. Current supported options are digital-goods and physical-goods.
payment_settings
object[]
Yes
Payment settings for the order.
order
Parameter
Type
Required
Description
status
string
No
Only supported value in the order_details message is pending. In an order_status message, status can be: pending, processing, partially_shipped, shipped, completed, or canceled.
type
string
No
Only supported value is quick_pay. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.
catalog_id
string
No
Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: country_of_origin, importer_name, and importer_address.
items
object[]
No
Array of items in the order.
subtotal
object
No
The value must be equal to sum of order.amount.value * order.amount.quantity.
tax
object
No
The tax information for this order.
shipping
object
No
The shipping cost of the order.
discount
object
No
The discount amount for this order.
expiration
object
No
Expiration for this order.
description
string
No
Optional. Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.
Maximum length: 120.
items[]
Parameter
Type
Required
Description
retailer_id
string
No
Content ID for an item in the order from your catalog.
name
string
Yes
The item’s name to be displayed to the user. Cannot exceed 60 characters.
Maximum length: 60.
image
object
No
Custom image for the item to be displayed to the user.
amount
object
Yes
The price per item.
sale_amount
object
No
The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.
quantity
integer (int32)
Yes
The number of items in the order.
country_of_origin
string
No
Required if catalog_id is not present. The country of origin of the product.
importer_name
string
No
Required if catalog_id is not present. Name of the importer company.
importer_address
string
No
Required if catalog_id is not present. Address of importer company.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
sale_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
subtotal
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
tax
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
shipping
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
discount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
expiration
Parameter
Type
Required
Description
timestamp
string
Yes
A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.
description
string
No
Text explanation for expiration.
Maximum length: 120.
total_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
payment_settings[]
Parameter
Type
Required
Description
type
string
Yes
Must be set to payment_gateway.
payment_gateway
object
Yes
An object that describes payment account information.
payment_gateway
Parameter
Type
Required
Description
type
string
Yes
Payment type. Must set this to billdesk, razorpay, payu, or zaakpay, if you have linked your BillDesk, Razorpay, PayU, or Zaakpay payment gateway to accept payments.
configuration_name
string
Yes
The name of the pre-configured payment configuration to use for this order and must not exceed 60 characters. This value must match with a payment configuration set up on the WhatsApp Business Manager.
Maximum length: 60.
billdesk
object
No
Additional info for BillDesk. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 120.
payu
object
No
Additional info for PayU. User-defined fields (udf) are used to store any information corresponding to a particular order. Each UDF field has a maximum character limit of 255.
razorpay
object
No
Additional info for Razorpay.
zaakpay
object
No
Additional info for Zaakpay. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 180.
billdesk
Parameter
Type
Required
Description
additional_info1
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info2
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info3
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info4
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info5
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info6
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info7
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
payu
Parameter
Type
Required
Description
udf1
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf2
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf3
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf4
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
razorpay
Parameter
Type
Required
Description
receipt
string
No
Receipt number that corresponds to this order, set for your internal reference. Maximum length of 40 characters supported with minimum length greater than 0 characters.
notes
object
No
The object can be key value pairs with maximum 15 keys and each value limits to 256 characters.
zaakpay
Parameter
Type
Required
Description
extra1
string
No
User-defined information about this order for Zaakpay.
Maximum length: 180 characters.
extra2
string
No
User-defined information about this order for Zaakpay.
Maximum length: 180 characters.
order_status
Parameter
Type
Required
Description
reference_id
string
No
Unique identifier for the order provided by the business.
order
object
No
Provides only status and description of this order for order_status messages.
order
Parameter
Type
Required
Description
status
string
No
Only supported value in the order_details message is pending. In an order_status message, status can be: pending, processing, partially_shipped, shipped, completed, or canceled.
type
string
No
Only supported value is quick_pay. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.
catalog_id
string
No
Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: country_of_origin, importer_name, and importer_address.
items
object[]
No
Array of items in the order.
subtotal
object
No
The value must be equal to sum of order.amount.value * order.amount.quantity.
tax
object
No
The tax information for this order.
shipping
object
No
The shipping cost of the order.
discount
object
No
The discount amount for this order.
expiration
object
No
Expiration for this order.
description
string
No
Optional. Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.
Maximum length: 120.
items[]
Parameter
Type
Required
Description
retailer_id
string
No
Content ID for an item in the order from your catalog.
name
string
Yes
The item’s name to be displayed to the user. Cannot exceed 60 characters.
Maximum length: 60.
image
object
No
Custom image for the item to be displayed to the user.
amount
object
Yes
The price per item.
sale_amount
object
No
The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.
quantity
integer (int32)
Yes
The number of items in the order.
country_of_origin
string
No
Required if catalog_id is not present. The country of origin of the product.
importer_name
string
No
Required if catalog_id is not present. Name of the importer company.
importer_address
string
No
Required if catalog_id is not present. Address of importer company.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
sale_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
subtotal
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
tax
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
shipping
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
discount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
expiration
Parameter
Type
Required
Description
timestamp
string
Yes
A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.
description
string
No
Text explanation for expiration.
Maximum length: 120.
location
Parameter
Type
Required
Description
latitude
number (double)
Yes
Latitude of the location.
longitude
number (double)
Yes
Longitude of the location.
name
string
No
Name of the location.
address
string
No
Address of the location. Only displayed if name is present.
text
Parameter
Type
Required
Description
body
string
Yes
Required for text messages. The text of the text message which can contain URLs which begin with http:// or https:// and formatting. See available formatting options here. If you include URLs in your text and want to include a preview box in text messages (preview_url: true), make sure the URL starts with http:// or https:// — https:// URLs are preferred. You must include a hostname, since IP addresses will not be matched. Maximum length: 4096 characters.
Maximum length: 4096.
preview_url
boolean
No
By default, WhatsApp recognizes URLs and makes them clickable, but you can also include a preview box with more information about the link. Set this field to true if you want to include a URL preview box. The majority of the time, the receiver will see a URL they can click on when you send an URL, set preview_url to true, and provide a body object with a http or https link. URL previews are only rendered after one of the following has happened:
The business has sent a message template to the user.
The user initiates a conversation with a “click to chat” link.
The user adds the business phone number to their address book and initiates a conversation. Default: false.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
location
Parameter
Type
Required
Description
latitude
number (double)
Yes
Latitude of the location.
longitude
number (double)
Yes
Longitude of the location.
name
string
No
Name of the location.
address
string
No
Address of the location. Only displayed if name is present.
interactive
Parameter
Type
Required
Description
type
string
No
Required. The type of interactive message you want to send.
button: Use for Reply Buttons.
list: Use for List Messages.
cta_url: Use for Call-To-Action (CTA) URL Button Messages.
product: Use for Single Product Messages.
product_list: Use for Multi-Product Messages.
catalog_message: Use for Catalog Messages.
location_request_message: Use for Location Request Messages.
order_details: Use for Order Details Messages.
order_status: Use for Order Status Messages.
voice_call: Use for Voice Call Messages.
flow: Use for Flow Messages.
action
object
No
Required. Action you want the user to perform after reading the interactive message.
body
object
No
Optional for type product. Required for other message types.
header
object
No
Required for type product_list. Optional for other types.
footer
object
No
Optional. An object with the footer of the message.
action
Parameter
Type
Required
Description
buttons
object[]
No
Required for Reply Buttons. You can have up to 3 buttons.
button
string
No
Required for List Messages. Button content. It cannot be an empty string and must be unique within the message. Emojis are supported, markdown is not. Maximum length: 20 characters.
Maximum length: 20.
catalog_id
string
No
Required for Single Product Messages and Multi-Product Messages. Unique identifier of the Facebook catalog linked to your WhatsApp Business Account. This ID can be retrieved via the Meta Commerce Manager.
product_retailer_id
string
No
Required for Single Product Messages and Multi-Product Messages. Unique identifier of the product in a catalog.
sections
object[]
No
Required for List Messages and Multi-Product Messages. Array of section objects. Minimum of 1, maximum of 10.
name
string
No
Action name. Required for Call-To-Action (CTA) buttons.
cta_url: Use for Call-To-Action (CTA) URL buttons.
catalog_message: Use for Catalog Messages.
send_location: Use for Location Request buttons.
flow: Use for Flow buttons.
review_and_pay: Use for Order Details buttons.
review_order: Use for Order Status buttons.
voice_call: Use for Voice Call buttons.
parameters
object
No
Action parameters. Required for Call-To-Action (CTA) buttons.
buttons[]
Parameter
Type
Required
Description
type
string
No
Only supported type is reply (for Reply Button).
reply
object
No
Object fields are listed below.
reply
Parameter
Type
Required
Description
title
string
No
Button title. It cannot be an empty string and must be unique within the message. Emojis are supported, markdown is not. Maximum length: 20 characters.
Maximum length: 20.
id
string
No
Unique identifier for your button. This ID is returned in the webhook when the button is clicked by the user. Maximum length: 256 characters. You cannot have leading or trailing spaces when setting the ID.
Maximum length: 256.
sections[]
Parameter
Type
Required
Description
title
string
No
Required if the message has more than one section. Title of the section. Maximum length: 24 characters.
Maximum length: 24.
rows
object[]
No
Contains a list of rows. You can have a total of 10 rows across your sections. Each row must have a title (Maximum length: 24 characters) and an ID (Maximum length: 200 characters). You can add a description (Maximum length: 72 characters), but it is optional.
product_items
object[]
No
Required for Multi-Product Messages. Array of product objects. There is a minimum of 1 product per section and a maximum of 30 products across all sections.
rows[]
Parameter
Type
Required
Description
id
string
No
Unique row ID. Maximum length: 200 characters.
Maximum length: 200.
title
string
No
Row title content. Maximum length: 24 characters.
Maximum length: 24.
description
string
No
Row description content. Maximum length: 72 characters.
Maximum length: 72.
product_items[]
Parameter
Type
Required
Description
product_retailer_id
string
No
Required for Multi-Product Messages. Unique identifier of the product in a catalog.
parameters
Parameter
Type
Required
Description
display_text
string
No
Text of the CTA URL button. Maximum length: 20 bytes.
Maximum length: 20.
url
string
No
URL of the CTA URL button.
thumbnail_product_retailer_id
string
No
Item SKU number. Labeled as Content ID in the Commerce Manager. The thumbnail of this item will be used as the message’s header image.
flow_message_version
string
No
Use for flow buttons. Value must be “3”.
flow_token
string
No
Use for flow buttons. Flow token that is generated by the business to serve as an identifier. Defaults to unused.
flow_id
string
No
Conditionally required for flow buttons. Unique ID of the Flow provided by WhatsApp. Cannot be used with the flow_name parameter.
flow_name
string
No
Conditionally required for flow buttons. The name of the Flow that you created. Cannot be used with the flow_id parameter. Changing the Flow name will require updating this parameter to match the new name.
flow_cta
string
No
Required for flow buttons. Text on the CTA button. For example: “Open flow!”. Maximum length: 20 characters.
Maximum length: 20.
flow_action
string
No
Use for flow buttons. Either navigate or data_exchange. Defaults to navigate.
flow_action_payload
object
No
Required if flow_action is navigate. Should be omitted otherwise.
reference_id
string
No
Required for review_and_pay buttons. Unique identifier for the order provided by the business. It is case sensitive and cannot be an empty string and can only contain English letters, numbers, underscores, dashes, or dots, and should not exceed 35 characters.
The reference_id must be unique for each order_details message for a given business. If there is a need to send multiple order_details messages for the same order, it is recommended to include a sequence number in the reference_id (for example, “BM345A-12”) to ensure reference_id uniqueness.
type
string
No
Required for review_and_pay buttons. The type of goods being paid for in this order. Current supported options are digital-goods and physical-goods.
beneficiaries
object[]
No
Required for review_and_pay buttons. An array of beneficiaries for this order. A beneficiary is an intended recipient for shipping the physical goods in the order. Beneficiary information isn’t shown to users but is needed for legal and compliance reasons.
currency
string
No
Required for review_and_pay buttons. The currency for this order. Currently the only supported value is INR.
total_amount
object
No
Required for review_and_pay buttons. The total amount for this order.
order
object
No
Required for review_and_pay or review_order buttons.
For review_and_pay buttons, provides order status, items, subtotal, tax, etc.
For review_order buttons, provides only order status and description.
payment_settings
object[]
No
Required for review_and_pay buttons. Payment settings for the order.
flow_action_payload
Parameter
Type
Required
Description
screen
string
No
The ID of the screen displayed first. It needs to be an entry screen.
data
object
No
Optional input data for the first screen of the Flow. If provided, this must be a non-empty object.
beneficiaries[]
Parameter
Type
Required
Description
name
string
Yes
Name of the individual or business receiving the physical goods. Cannot exceed 200 characters.
Maximum length: 200.
address_line1
string
Yes
Shipping address (Door/Tower Number, Street Name etc.). Cannot exceed 100 characters.
Name of the country. Currently the only supported value is India.
postal_code
string
Yes
6-digit zipcode of shipping address.
Minimum length: 6. Maximum length: 6.
total_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
order
Parameter
Type
Required
Description
status
string
No
Only supported value in the order_details message is pending. In an order_status message, status can be: pending, processing, partially_shipped, shipped, completed, or canceled.
type
string
No
Only supported value is quick_pay. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.
catalog_id
string
No
Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: country_of_origin, importer_name, and importer_address.
items
object[]
No
Array of items in the order.
subtotal
object
No
The value must be equal to sum of order.amount.value * order.amount.quantity.
tax
object
No
The tax information for this order.
shipping
object
No
The shipping cost of the order.
discount
object
No
The discount amount for this order.
expiration
object
No
Expiration for this order.
description
string
No
Optional. Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.
Maximum length: 120.
items[]
Parameter
Type
Required
Description
retailer_id
string
No
Content ID for an item in the order from your catalog.
name
string
Yes
The item’s name to be displayed to the user. Cannot exceed 60 characters.
Maximum length: 60.
image
object
No
Custom image for the item to be displayed to the user.
amount
object
Yes
The price per item.
sale_amount
object
No
The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.
quantity
integer (int32)
Yes
The number of items in the order.
country_of_origin
string
No
Required if catalog_id is not present. The country of origin of the product.
importer_name
string
No
Required if catalog_id is not present. Name of the importer company.
importer_address
string
No
Required if catalog_id is not present. Address of importer company.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
sale_amount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
subtotal
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
tax
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
shipping
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
discount
Parameter
Type
Required
Description
offset
integer (int32)
Yes
Must be 100 for INR.
value
integer (int32)
Yes
Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.
description
string
No
Use only for tax, shipping, or discount. Description of the amount. Max character limit is 60 characters.
Maximum length: 60.
discount_program_name
string
No
Use only for discount. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.
Maximum length: 60.
expiration
Parameter
Type
Required
Description
timestamp
string
Yes
A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.
description
string
No
Text explanation for expiration.
Maximum length: 120.
payment_settings[]
Parameter
Type
Required
Description
type
string
Yes
Must be set to payment_gateway.
payment_gateway
object
Yes
An object that describes payment account information.
payment_gateway
Parameter
Type
Required
Description
type
string
Yes
Payment type. Must set this to billdesk, razorpay, payu, or zaakpay, if you have linked your BillDesk, Razorpay, PayU, or Zaakpay payment gateway to accept payments.
configuration_name
string
Yes
The name of the pre-configured payment configuration to use for this order and must not exceed 60 characters. This value must match with a payment configuration set up on the WhatsApp Business Manager.
Maximum length: 60.
billdesk
object
No
Additional info for BillDesk. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 120.
payu
object
No
Additional info for PayU. User-defined fields (udf) are used to store any information corresponding to a particular order. Each UDF field has a maximum character limit of 255.
razorpay
object
No
Additional info for Razorpay.
zaakpay
object
No
Additional info for Zaakpay. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 180.
billdesk
Parameter
Type
Required
Description
additional_info1
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info2
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info3
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info4
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info5
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info6
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
additional_info7
string
No
User-defined information about this order for BillDesk.
Maximum length: 120 characters.
payu
Parameter
Type
Required
Description
udf1
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf2
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf3
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
udf4
string
No
User-defined information about this order for PayU.
Maximum length: 255 characters.
razorpay
Parameter
Type
Required
Description
receipt
string
No
Receipt number that corresponds to this order, set for your internal reference. Maximum length of 40 characters supported with minimum length greater than 0 characters.
notes
object
No
The object can be key value pairs with maximum 15 keys and each value limits to 256 characters.
zaakpay
Parameter
Type
Required
Description
extra1
string
No
User-defined information about this order for Zaakpay.
Maximum length: 180 characters.
extra2
string
No
User-defined information about this order for Zaakpay.
Maximum length: 180 characters.
body
Parameter
Type
Required
Description
text
string
No
The body content of the message. Emojis and markdown are supported. Maximum length: 1024 characters.
Maximum length: 1024.
header
Parameter
Type
Required
Description
type
string
No
Required. The header type you would like to use.
text: Used for List Messages, Reply Buttons, and Multi-Product Messages.
video: Used for Reply Buttons.
image: Used for Reply Buttons.
document: Used for Reply Buttons.
text
string
No
Text for the header. Formatting allows emojis, but not markdown.
Maximum length: 60.
image
object
No
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
video
object
No
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
document
object
No
Use for image, gif, video, audio, document, or sticker messages. See also Supported Media Types.
image
Parameter
Type
Required
Description
id
string
No
Use this when media is uploaded to WhatsApp servers.
Note: Either id or link must be provided. If both are provided, id takes precedence.
link
string
No
Use this when sending media directly from your server.
The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.
Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.
Note: Either id or link must be provided. If both are provided, id takes precedence and link will be ignored.
caption
string
No
Describes the specified image, gif, video, or document media. Not applicable in the header of template or interactive messages.
filename
string
No
Describes the filename for the specific document. Use only with document media.
footer
contacts[]
Parameter
Type
Required
Description
addresses
object[]
No
Array items are described below.
birthday
string
No
YYYY-MM-DD formatted string.
emails
object[]
No
Array items are described below.
name
object
Yes
Full contact name formatted as a name object.
org
object
No
Contact organization information formatted as an org object.
phones
object[]
No
Contact phone number(s) formatted as a phone object.
urls
object[]
No
Contact URL(s) formatted as a urls object.
vcard
string
No
Optional vCard supplied with the shared contact payload.
origin
string
No
Set to contact_request when the user shared the contact in response to a request-contact-info message.
addresses[]
Parameter
Type
Required
Description
street
string
No
Street number and name.
city
string
No
City name.
state
string
No
State abbreviation.
zip
string
No
ZIP code.
country
string
No
Full country name.
country_code
string
No
Two-letter country abbreviation.
type
string
No
Standard values are HOME and WORK.
emails[]
Parameter
Type
Required
Description
email
string
No
Email address.
type
string
No
Standard values are HOME and WORK.
name
Parameter
Type
Required
Description
formatted_name
string
Yes
Full name, as it normally appears.
first_name
string
No
First name.
last_name
string
No
Last name.
middle_name
string
No
Middle name.
suffix
string
No
Name suffix.
prefix
string
No
Name prefix.
org
Parameter
Type
Required
Description
company
string
No
Name of the contact’s company.
department
string
No
Name of the contact’s department.
title
string
No
Contact’s business title.
phones[]
Parameter
Type
Required
Description
phone
string
No
Automatically populated with the wa_id value as a formatted phone number.
type
string
No
Standard Values are CELL, MAIN, IPHONE, HOME, and WORK.
wa_id
string
No
WhatsApp ID.
urls[]
Parameter
Type
Required
Description
url
string
No
URL.
type
string
No
Standard values are HOME and WORK.
reaction
Parameter
Type
Required
Description
message_id
string
Yes
Specifies the wamid of the message received that contained the reaction.
emoji
string
No
Required when you send a reaction message. Set it to "" if you want to remove the emoji. Optional when you received a message from a user. This field is included when a user reacts to messages with an emoji. Otherwise, it indicates a user removed the emoji.
Related message details
customerProfile
Parameter
Type
Required
Description
name
string
No
Name of the WhatsApp account.
username
string
No
WhatsApp username.
conversation
Parameter
Type
Required
Description
id
string
No
Unique ID for the object.
type
string
No
Conversation type. There is a charge when the first business message of this conversation is delivered, initiating the 24-hour conversation session. As such, the conversation type can be null before the first message is delivered.
authentication: Indicates the conversation was opened by a business sending template categorized as AUTHENTICATION to the customer. This applies any time it has been more than 24 hours since the last customer message.
marketing: Indicates the conversation was opened by a business sending template categorized as MARKETING to the customer. This applies any time it has been more than 24 hours since the last customer message.
utility: Indicates the conversation was opened by a business sending template categorized as UTILITY to the customer. This applies any time it has been more than 24 hours since the last customer message.
service: Indicates that the conversation opened by a business replying to a customer within a customer service window.
expireTime
string (date-time)
No
Date when the conversation expires, formatted in RFC 3339. e.g., 2022-06-01T12:00:00.000Z.
context
Parameter
Type
Required
Description
message_id
string
No
Specifies the wamid of the message your are replying to. wamid is the original message ID on WhatsApp’s platform.
whatsappApiError
Parameter
Type
Required
Description
message
string
Yes
A human-readable description of the error.
code
string
Yes
An error code.
type
string
No
Error type.
error_subcode
string
No
Additional code about the error.
error_user_msg
string
No
The message to display to the user. The language of the message is based on the locale of the API request.
error_user_title
string
No
The title of the dialog, if shown. The language of the message is based on the locale of the API request.
fbtrace_id
string
No
Internal support identifier. When reporting a bug related to a Graph API call, include the fbtrace_id to help us find log data for debugging.
error_data
string or object
No
Additional data about the error. A string or map.
For template APIs, this field is a string describing the reason for the error.
For message APIs, this field is a map with property details describing the reason for the error.
Example
The following JSON is the body delivered to your receiver. IDs, phone numbers, and other account values are illustrative.
Inbound history message
An inbound history message uses whatsappInboundMessage. phase and progress report synchronization of the history chunk.
A metadata-only history chunk reports phase and progress without either message object. Do not treat this shape as a message-created or message-echoes payload.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"YCloud Docs","description":"YCloud product documentation, API reference, and webhook payload documentation.","colors":{"primary":"#602DED","light":"#FD4C7D","dark":"#1a1e22"},"logo":{"light":"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/logo/light.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=0865e4207d765d07a769c29bc819adbe","dark":"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/logo/dark.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=1bafffbe886c0ac13b0409dc90d446f8","href":"https://www.ycloud.com"},"favicon":"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/favicon.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=1eed9e0b562f4b06368d2b8185b801b4","api":{"openapi":["openapi/endpoints/ycloud-api-v2.yaml","openapi/webhooks/testing-webhooks.yaml"],"params":{"expanded":"closed"},"playground":{"display":"interactive"},"examples":{"defaults":"required","prefill":true,"autogenerate":false},"url":"full"},"background":{"color":{"light":"#ffffff"}},"navbar":{"links":[{"href":"https://www.ycloud.com/customer-support","label":"Support"},{"href":"https://www.ycloud.com/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.ycloud.com/console"}},"seo":{"indexing":"all"},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"icons":{"library":"fontawesome"},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"errors":{"404":{"redirect":true}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"schema":true},"navigation":{"languages":[{"language":"en","default":true,"href":"en/documentation/overview"},{"language":"zh","href":"zh/documentation/overview"},{"language":"es","href":"es/documentation/overview"},{"language":"pt","href":"pt/documentation/overview"},{"language":"ru","href":"ru/documentation/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lchnan","hasAudioNarration":false,"actualSubdomain":"lchnan","customDomains":["docs.ycloud.com"],"gitSource":{"type":"github","owner":"ycloud-developers","repo":"ycloud_docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b06017a151f52fae6f0d4cd","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"en","tag":"Documentation","count":245},{"language":"es","tag":"Documentación","count":244},{"language":"pt","tag":"Documentação","count":244},{"language":"ru","tag":"Документация","count":244},{"language":"zh","tag":"产品文档","count":244},{"language":"default","tag":"API Reference","count":168},{"language":"default","tag":"Endpoints","count":168},{"language":"en","tag":"API Reference","count":91},{"language":"es","tag":"Referencia de la API","count":91},{"language":"pt","tag":"Referência da API","count":91},{"language":"ru","tag":"Справочник API","count":91},{"language":"zh","tag":"API 参考","count":91},{"language":"default","tag":"Meta Business Agent","count":63},{"language":"en","tag":"Channels","count":60},{"language":"es","tag":"Gestión de cuentas de WhatsApp","count":54},{"language":"pt","tag":"Gerenciamento de contas do WhatsApp","count":54},{"language":"ru","tag":"Управление аккаунтами WhatsApp","count":54},{"language":"zh","tag":"WhatsApp 账号管理","count":54},{"language":"en","tag":"Webhook reference","count":47},{"language":"es","tag":"Webhook reference","count":47},{"language":"pt","tag":"Webhook reference","count":47},{"language":"ru","tag":"Webhook reference","count":47},{"language":"zh","tag":"Webhook reference","count":47},{"language":"en","tag":"Integrations","count":43},{"language":"es","tag":"Integraciones","count":43},{"language":"pt","tag":"Integrações","count":43},{"language":"ru","tag":"Интеграции","count":43},{"language":"zh","tag":"集成","count":43},{"language":"default","tag":"Configure","count":43},{"language":"en","tag":"WhatsApp Business Platform","count":41},{"language":"es","tag":"WhatsApp Business Platform","count":41},{"language":"pt","tag":"WhatsApp Business Platform","count":41},{"language":"ru","tag":"Платформа WhatsApp Business","count":41},{"language":"zh","tag":"WhatsApp 商业平台","count":41},{"language":"en","tag":"Guides","count":39},{"language":"es","tag":"Guías","count":39},{"language":"pt","tag":"Guias","count":39},{"language":"ru","tag":"Руководства","count":39},{"language":"zh","tag":"指南","count":39},{"language":"es","tag":"Canales","count":32},{"language":"pt","tag":"Canais","count":32},{"language":"ru","tag":"Каналы","count":32},{"language":"zh","tag":"渠道","count":32},{"language":"en","tag":"WhatsApp Accounts Management","count":28},{"language":"en","tag":"Agents","count":26},{"language":"es","tag":"Agentes","count":26},{"language":"pt","tag":"Agentes","count":26},{"language":"ru","tag":"Агенты","count":26},{"language":"zh","tag":"智能体","count":26},{"language":"en","tag":"Inbox","count":20},{"language":"es","tag":"Bandeja de entrada","count":20},{"language":"pt","tag":"Caixa de entrada","count":20},{"language":"ru","tag":"Входящие","count":20},{"language":"zh","tag":"收件箱","count":20},{"language":"default","tag":"WhatsApp Phone Numbers","count":16},{"language":"default","tag":"WhatsApp Groups","count":12},{"language":"default","tag":"Contacts","count":10},{"language":"default","tag":"Operate","count":10},{"language":"default","tag":"Connectors","count":10},{"language":"default","tag":"Onboard","count":9}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"#page-title{font-size:2.25rem;font-weight:700;line-height:1.25;letter-spacing:-0.025em}#content.mdx-content{font-size:1rem;font-weight:400;line-height:1.625;color:var(--tw-prose-headings);margin-top:3rem}#content :where(h2,h3,h4):not(:where(.not-prose,.not-prose *)){font-weight:600;letter-spacing:-0.0125em}#content :where(h2):not(:where(.not-prose,.not-prose *)){font-size:1.875rem;line-height:1.2;margin-top:2.5rem;margin-bottom:1.25rem}#content>h2:first-child{margin-top:0}#content :where(h3):not(:where(.not-prose,.not-prose *)){font-size:1.5rem;line-height:1.333333;margin-top:2rem;margin-bottom:1rem}#content :where(h4):not(:where(.not-prose,.not-prose *)){font-size:1.125rem;line-height:1.5}#sidebar-content{border-right:1px solid color-mix(in srgb, currentColor 14%, transparent)}#sidebar .sidebar-group-header{font-size:0.75rem;line-height:1rem;letter-spacing:0.025em;text-transform:uppercase}#sidebar .sidebar-group{line-height:1.25rem}#sidebar a[aria-current=\"page\"]{border-radius:0;background:transparent;box-shadow:inset 2px 0 currentColor;font-weight:600;text-shadow:none}#table-of-contents h2 button{font-size:0.75rem;line-height:1rem;letter-spacing:0.025em;text-transform:uppercase}#table-of-contents-content{margin-top:0.75rem;border-left:1px solid color-mix(in srgb, currentColor 14%, transparent)}#table-of-contents-content a{padding:0.375rem 0 0.375rem calc(var(--toc-padding-left, 0rem) + 0.75rem);line-height:1.25rem;border-left:2px solid transparent;margin-left:-1px}#table-of-contents-content a[aria-current=\"location\"]{border-left-color:currentColor;text-shadow:none}#content:has(.direct-send-guide) :where(th,td){padding:0.5rem 0.75rem;font-size:0.875rem;line-height:1.5;vertical-align:top}#content:has(.direct-send-guide) th{background:color-mix(in srgb, var(--tw-prose-headings) 5%, transparent);font-weight:500;line-height:1.25rem}@media (min-width: 1280px){#content-container:has(#table-of-contents){padding-left:3rem}#content-container:has(#table-of-contents)>div:has(>#content-area){display:grid;grid-template-columns:minmax(0, 48rem) minmax(12rem, 1fr);gap:1rem;padding-top:2rem}#content-container:has(#table-of-contents) #content-area{grid-area:1 / 1;width:100%;min-width:0;margin:0;padding:0}#content-side-layout:has(#table-of-contents){grid-area:1 / 2;width:100%;max-width:none}#table-of-contents-layout{width:100%;padding-left:2rem}#table-of-contents{width:100%;margin-top:0}#table-of-contents>[data-component-part=\"scroll-area-viewport\"]{padding-top:0}}@media (max-width: 639px){#page-title{font-size:2rem}#content :where(h2):not(:where(.not-prose,.not-prose *)){font-size:1.625rem;line-height:1.3}#content :where(h3):not(:where(.not-prose,.not-prose *)){font-size:1.25rem;line-height:1.4}}"},{"filePath":"webhook-reference.css","content":".webhook-message-fields table{table-layout:fixed}.webhook-message-fields table th,.webhook-message-fields table td{min-width:0;padding-left:8px;padding-right:8px;overflow-wrap:anywhere}.webhook-message-fields table th:nth-child(1){width:20%}.webhook-message-fields table th:nth-child(2){width:16%}.webhook-message-fields table th:nth-child(3){width:18%}.webhook-message-fields table th:nth-child(4){width:46%}.webhook-message-fields code{white-space:normal}"}]}
{"page":{"pagePath":"en/api-reference/webhook-reference/whatsapp-smb-history","slug":"/en/api-reference/webhook-reference/whatsapp-smb-history","pageMetadata":{"title":"whatsapp.smb.history","sidebarTitle":"smb.history","description":"Occurs when WhatsApp Business App message history is synchronized.","href":"/en/api-reference/webhook-reference/whatsapp-smb-history"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Occurs when WhatsApp Business App message history is synchronized.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,h5:`h5`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`whatsapp.smb.history`}),` to handle this event at your webhook endpoint.`]}),`\n`,_jsx(Heading,{level:`2`,id:`triggers`,children:`Triggers`}),`\n`,_jsx(_components.p,{children:`Occurs when WhatsApp Business App message history is synchronized.`}),`\n`,_jsxs(_components.p,{children:[`Subscribe to `,_jsx(_components.code,{children:`whatsapp.smb.history`}),` when you `,_jsx(_components.a,{href:`/en/api-reference/guides/api-fundamentals/configure-webhooks`,children:`configure your webhook endpoint`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A history event can contain `,_jsx(_components.code,{children:`whatsappInboundMessage`}),` for an inbound message, `,_jsx(_components.code,{children:`whatsappMessage`}),` for an outbound message, or only chunk metadata. `,_jsx(_components.code,{children:`phase`}),` and `,_jsx(_components.code,{children:`progress`}),` are included when the event comes from a Meta history chunk. Do not require a message object in every history event.`]}),`\n`,_jsx(Heading,{level:`2`,id:`syntax`,children:`Syntax`}),`\n`,_jsxs(_components.p,{children:[`YCloud sends an HTTP `,_jsx(_components.code,{children:`POST`}),` request to your configured webhook URL. The following shape shows one payload variant. Angle-bracket values are placeholders; their types are listed under `,_jsx(_components.strong,{children:`Parameters`}),`. Optional fields and other variants are described below.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cAPI_VERSION>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cCREATE_TIME>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cPHASE_VALUE>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cPROGRESS_VALUE>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappInboundMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cWAMID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cWABA_ID>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cFROM>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cTO>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cTYPE>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cBODY>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"customerProfile\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cNAME>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"\u003cSEND_TIME>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(`div`,{className:`webhook-message-fields`,children:[_jsxs(_components.p,{children:[`Validate the `,_jsx(_components.code,{children:`YCloud-Signature`}),` HTTP header before you process the JSON body. See `,_jsx(_components.a,{href:`/en/api-reference/guides/api-fundamentals/configure-webhooks`,children:`signature validation`}),`.`]}),_jsx(Heading,{level:`3`,id:`event-envelope`,children:`Event envelope`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Unique ID for the event. Minimum length: `,_jsx(_components.code,{children:`6`}),`. Maximum length: `,_jsx(_components.code,{children:`128`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`whatsapp.smb.history`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`apiVersion`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The API version used to render this event.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`createTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The time at which this event was created, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]})]})]}),_jsx(Heading,{level:`3`,id:`event-payload`,children:`Event payload`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phase`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Included when `,_jsx(_components.code,{children:`type`}),` is `,_jsx(_components.code,{children:`whatsapp.smb.history`}),` and the event was generated from a Meta history chunk. Identifies the chunk’s synchronization phase.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`progress`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Included when `,_jsx(_components.code,{children:`type`}),` is `,_jsx(_components.code,{children:`whatsapp.smb.history`}),` and the event was generated from a Meta history chunk. Reports the chunk’s synchronization progress.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsappInboundMessage`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Event-specific `,_jsx(_components.code,{children:`whatsappInboundMessage`}),` payload.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsappMessage`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Event-specific `,_jsx(_components.code,{children:`whatsappMessage`}),` payload.`]})]})]})]}),_jsxs(_components.p,{children:[`The four common envelope fields are required. Payload fields depend on the event variant. In each object table, `,_jsx(_components.strong,{children:`Required`}),` applies when its parent object is present. Optional fields can be omitted; a sample does not make a field required.`]}),_jsx(Heading,{level:`4`,id:`whatsappinboundmessage`,children:`whatsappInboundMessage`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Unique ID for the object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wamid`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The original message ID on WhatsApp’s platform.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wabaId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`WhatsApp Business Account ID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`from`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The customer’s phone number who sent the message to the business, formatted in `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),` format.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fromUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The customer’s WhatsApp Business-scoped user ID (BSUID).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fromParentUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The customer’s parent WhatsApp Business-scoped user ID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customerProfile`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The customer’s profile information.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`to`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The recipient’s phone number in `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),` format.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sendTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The time at which this message is sent, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`WhatsApp inbound message type. See also `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks/components#messages-object`,children:`WhatsApp webhook messages object`}),`.`]}),_jsxs(`p`,{children:[`Values: `,_jsx(`code`,{children:`text`}),`, `,_jsx(`code`,{children:`image`}),`, `,_jsx(`code`,{children:`video`}),`, `,_jsx(`code`,{children:`audio`}),`, `,_jsx(`code`,{children:`document`}),`, `,_jsx(`code`,{children:`sticker`}),`, `,_jsx(`code`,{children:`contacts`}),`, `,_jsx(`code`,{children:`location`}),`, `,_jsx(`code`,{children:`interactive`}),`, `,_jsx(`code`,{children:`button`}),`, `,_jsx(`code`,{children:`reaction`}),`, `,_jsx(`code`,{children:`request_welcome`}),`, `,_jsx(`code`,{children:`order`}),`, `,_jsx(`code`,{children:`system`}),`, `,_jsx(`code`,{children:`unsupported`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`When the notification describes a text message, the text object provides the body of the text message.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a message with media (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a message with media (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a message with media (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a message with media (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sticker`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a message with media (`,_jsx(_components.code,{children:`image`}),` | `,_jsx(_components.code,{children:`document`}),` | `,_jsx(_components.code,{children:`audio`}),` | `,_jsx(_components.code,{children:`video`}),` | `,_jsx(_components.code,{children:`sticker`}),`) is received, the WhatsApp Business API client will download the media. Once the media is downloaded, a notification is sent to your Webhook. This message contains information that identifies the media object and enables you to find and download the object.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`interactive`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`When a customer has interacted with your message, this object is included in the message object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`When you receive a notification of a user’s static location, the location object provides the details of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`button`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When the message type field is set to `,_jsx(_components.code,{children:`button`}),`, this object is included in the message object.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contacts`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reaction`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a user reacts to messages with an emoji, the message type is set to `,_jsx(_components.code,{children:`reaction`}),`, and this field is included.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a customer places an order, the message type is set to `,_jsx(_components.code,{children:`order`}),`, and this field is included.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`system`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When the message type is set to `,_jsx(_components.code,{children:`system`}),`, this field is included. This object describes a user phone number change, a BSUID change, or a possible identity change on WhatsApp.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errors`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`context`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Message context.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`referral`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a user messages businesses using call-to-actions buttons on `,_jsx(_components.a,{href:`https://www.facebook.com/business/help/447934475640650`,children:`Ads that Click to WhatsApp`}),` or a `,_jsx(_components.a,{href:`https://www.facebook.com/help/977869848936797`,children:`Facebook Page call-to-action buttons`}),`, this field is included as an attachment.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`groupId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`WhatsApp group ID. This field is included when the inbound message is sent in a WhatsApp group.`})]})]})]}),_jsx(_components.h5,{children:`Message content by type`}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`whatsappInboundMessage.type`}),` to find the matching message content object below when present.`]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`text`,id:`text`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Message text.`})]})})]})}),_jsx(Accordion,{title:`image`,id:`image`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ID of the media. Can be used to delete the media if stored locally on the client.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an `,_jsx(_components.code,{children:`X-API-Key`}),` header to download this file within a month.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The provided caption for the media. Only present if specified.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filename on the sender’s device. This will only be present in `,_jsx(_components.code,{children:`document`}),` media messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Metadata pertaining to `,_jsx(_components.code,{children:`sticker`}),` media.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Mime type of the media.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Checksum.`})]})]})]})}),_jsx(Accordion,{title:`video`,id:`video`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ID of the media. Can be used to delete the media if stored locally on the client.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an `,_jsx(_components.code,{children:`X-API-Key`}),` header to download this file within a month.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The provided caption for the media. Only present if specified.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filename on the sender’s device. This will only be present in `,_jsx(_components.code,{children:`document`}),` media messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Metadata pertaining to `,_jsx(_components.code,{children:`sticker`}),` media.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Mime type of the media.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Checksum.`})]})]})]})}),_jsx(Accordion,{title:`audio`,id:`audio`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ID of the media. Can be used to delete the media if stored locally on the client.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an `,_jsx(_components.code,{children:`X-API-Key`}),` header to download this file within a month.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The provided caption for the media. Only present if specified.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filename on the sender’s device. This will only be present in `,_jsx(_components.code,{children:`document`}),` media messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Metadata pertaining to `,_jsx(_components.code,{children:`sticker`}),` media.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Mime type of the media.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Checksum.`})]})]})]})}),_jsx(Accordion,{title:`document`,id:`document`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ID of the media. Can be used to delete the media if stored locally on the client.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an `,_jsx(_components.code,{children:`X-API-Key`}),` header to download this file within a month.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The provided caption for the media. Only present if specified.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filename on the sender’s device. This will only be present in `,_jsx(_components.code,{children:`document`}),` media messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Metadata pertaining to `,_jsx(_components.code,{children:`sticker`}),` media.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Mime type of the media.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Checksum.`})]})]})]})}),_jsx(Accordion,{title:`sticker`,id:`sticker`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ID of the media. Can be used to delete the media if stored locally on the client.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The url to download the media file. Note that This link can be directly accessed in a few minutes for the convenience of the consumer, but you should always include an `,_jsx(_components.code,{children:`X-API-Key`}),` header to download this file within a month.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The provided caption for the media. Only present if specified.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Filename on the sender’s device. This will only be present in `,_jsx(_components.code,{children:`document`}),` media messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Metadata pertaining to `,_jsx(_components.code,{children:`sticker`}),` media.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mime_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Mime type of the media.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Checksum.`})]})]})]})}),_jsxs(Accordion,{title:`interactive`,id:`interactive`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The type of interactive message received.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`button_reply`}),`: Sent when a customer clicks a button.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`list_reply`}),`: Sent when a customer selects an item from a list.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`nfm_reply`}),`: Sent when a customer responds to a WhatsApp Flow (Next Feature Messaging).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`call_permission_reply`}),`: Sent when a customer responds to a call permission request.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`button_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Sent when a customer clicks a button. Returned when `,_jsx(_components.code,{children:`type`}),` is `,_jsx(_components.code,{children:`button_reply`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`list_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Sent when a customer selects an item from a list. Returned when `,_jsx(_components.code,{children:`type`}),` is `,_jsx(_components.code,{children:`list_reply`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`nfm_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Sent when a customer responds to a WhatsApp Flow (Next Feature Messaging). Returned when `,_jsx(_components.code,{children:`type`}),` is `,_jsx(_components.code,{children:`nfm_reply`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_permission_reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Sent when a customer responds to a call permission request. Returned when `,_jsx(_components.code,{children:`type`}),` is `,_jsx(_components.code,{children:`call_permission_reply`}),`. This occurs when WhatsApp prompts users to grant callback permissions after they call your business.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`button_reply`,id:`button-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Unique ID of the clicked button.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Title of a button.`})]})]})]})}),_jsx(Accordion,{title:`list_reply`,id:`list-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Unique ID of the selected list item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Title of the selected list item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Description of the selected row.`})]})]})]})}),_jsx(Accordion,{title:`nfm_reply`,id:`nfm-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The name of the flow or form being replied to.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response_json`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`JSON string containing the user’s responses to the flow. Contains form field values and flow token.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The body content of the flow reply message.`})]})]})]})}),_jsx(Accordion,{title:`call_permission_reply`,id:`call-permission-reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The customer’s response to the call permission request.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`accept`}),`: User granted permission for business to call back`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`reject`}),`: User rejected permission for business to call back`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration_timestamp`})}),_jsx(_components.td,{children:`integer (int64)`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The timestamp (in seconds) when the call permission expires. Only present when response is “accept” and is_permanent is false.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_permanent`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Whether the permission is permanent or temporary.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`true`}),`: Permanent authorization (no expiration)`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`false`}),`: Temporary authorization (expires at expiration_timestamp)`]})]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`location`,id:`location`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Latitude of location being sent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Longitude of location being sent.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Address of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`URL for the website where the user downloaded the location information.`})]})]})]})}),_jsx(Accordion,{title:`button`,id:`button`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The payload for a button set up by the business that a customer clicked as part of an interactive message.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Button text.`})]})]})]})}),_jsxs(Accordion,{title:`contacts[]`,id:`contacts`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`birthday`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`YYYY-MM-DD`}),` formatted string.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emails`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Full contact name formatted as a name object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`org`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact organization information formatted as an org object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phones`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact phone number(s) formatted as a phone object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`urls`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact URL(s) formatted as a urls object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vcard`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Optional vCard supplied with the shared contact payload.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Set to `,_jsx(_components.code,{children:`contact_request`}),` when the user shared the contact in response to a request-contact-info message.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`addresses[]`,id:`addresses`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`street`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Street number and name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`city`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`City name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`state`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`State abbreviation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zip`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ZIP code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Full country name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Two-letter country abbreviation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard values are `,_jsx(_components.code,{children:`HOME`}),` and `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`emails[]`,id:`emails`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Email address.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard values are `,_jsx(_components.code,{children:`HOME`}),` and `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`name`,id:`name`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`formatted_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Full name, as it normally appears.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`first_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`First name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`last_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Last name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`middle_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Middle name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`suffix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name suffix.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prefix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name prefix.`})]})]})]})}),_jsx(Accordion,{title:`org`,id:`org`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`company`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the contact’s company.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`department`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the contact’s department.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact’s business title.`})]})]})]})}),_jsx(Accordion,{title:`phones[]`,id:`phones`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Automatically populated with the `,_jsx(_components.code,{children:`wa_id`}),` value as a formatted phone number.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard Values are `,_jsx(_components.code,{children:`CELL`}),`, `,_jsx(_components.code,{children:`MAIN`}),`, `,_jsx(_components.code,{children:`IPHONE`}),`, `,_jsx(_components.code,{children:`HOME`}),`, and `,_jsx(_components.code,{children:`WORK`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`WhatsApp ID.`})]})]})]})}),_jsx(Accordion,{title:`urls[]`,id:`urls`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard values are `,_jsx(_components.code,{children:`HOME`}),` and `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})})]})]}),_jsx(Accordion,{title:`reaction`,id:`reaction`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Specifies the `,_jsx(_components.code,{children:`wamid`}),` of the message received that contained the reaction.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emoji`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Required`}),` when you send a `,_jsx(_components.code,{children:`reaction`}),` message. Set it to `,_jsx(_components.code,{children:`\"\"`}),` if you want to remove the emoji. `,_jsx(_components.strong,{children:`Optional`}),` when you received a message from a user. This field is included when a user reacts to messages with an emoji. Otherwise, it indicates a user removed the emoji.`]})]})]})]})}),_jsxs(Accordion,{title:`order`,id:`order`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The catalog ID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Text message sent along with the order.`})]})]})]}),_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`product_items[]`,id:`product-items`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The product SKU identifier.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Number of item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`item_price`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Unitary price of item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Price currency. `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_4217`,children:`ISO 4217 currency code`}),`.`]})]})]})]})})})]}),_jsx(Accordion,{title:`system`,id:`system`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Describes the system message event. Supported use cases are:`}),_jsxs(`ul`,{children:[_jsx(`li`,{children:`Phone number update: for when a user changes from an old number to a new number.`}),_jsx(`li`,{children:`Identity update: for when a user identity has changed.`})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Phone number supplied by Meta, without the leading `,_jsx(_components.code,{children:`+`}),`. It can be unchanged or omitted for a BSUID change.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`New business-scoped user ID supplied by Meta for a phone number or BSUID change. This field preserves the original snake_case name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parent_user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`New Parent BSUID for a phone number or BSUID change, only when enabled and supplied by Meta. This field preserves the original snake_case name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`previous_user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Previous business-scoped user ID supplied by Meta.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`previous_parent_user_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Previous Parent BSUID, only when enabled and supplied by Meta.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Supported types are:`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`user_changed_user_id`}),`: notification that a user changed their BSUID. The phone number can remain unchanged.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`user_changed_number`}),`: for a user changed number notification.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`user_identity_changed`}),`: for user identity changed notification.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`user`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added to Webhooks for identity updates.`})}),_jsx(`p`,{children:`The new WhatsApp user ID of the customer.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`new_wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added to Webhooks for phone number updates.`})}),_jsx(`p`,{children:`New WhatsApp ID of the customer.`})]})]})]})]})})]}),_jsx(_components.h5,{children:`Related message details`}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`customerProfile`,id:`customerprofile`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the WhatsApp account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`username`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`WhatsApp username.`})]})]})]})}),_jsx(Accordion,{title:`errors[]`,id:`errors`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The error code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The error title.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The error message.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`An error data object with the following properties:`}),_jsx(`ul`,{children:_jsxs(`li`,{children:[_jsx(`code`,{children:`details`}),`: A string describing the reason for the error. Example: `,_jsx(`code`,{children:`Message type is currently not supported.`}),`.`]})})]})]})]})]})}),_jsxs(Accordion,{title:`context`,id:`context`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`forwarded`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added to Webhooks if message was forwarded.`})}),_jsxs(`p`,{children:[`Set to `,_jsx(`code`,{children:`true`}),` if the received message has been forwarded.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frequently_forwarded`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added to Webhooks if message has been frequently forwarded.`})}),_jsxs(`p`,{children:[`Set to `,_jsx(`code`,{children:`true`}),` if the received message has been forwarded more than five times.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`from`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added to Webhooks if message is an inbound reply to a sent message.`})}),_jsx(`p`,{children:`The WhatsApp ID (a phone number without the ’+’ prefix) of the sender of the sent message.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Optional.`})}),_jsxs(`p`,{children:[`The `,_jsx(`code`,{children:`wamid`}),` for the sent message for an inbound reply. `,_jsx(`code`,{children:`wamid`}),` is the original message ID on WhatsApp’s platform.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`referred_product`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Required for Product Inquiry Messages.`})}),_jsxs(`p`,{children:[`Specifies the product the user is requesting information about. See also `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/guides/sell-products-and-services`,children:`Sell Products \u0026 Services`}),`.`]})]})]})]})]}),_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`referred_product`,id:`referred-product`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The catalog ID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The product SKU identifier.`})]})]})]})})})]}),_jsx(Accordion,{title:`referral`,id:`referral`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Specifies the URL that leads to the ad or post clicked by the user. Opening this URL takes you to the ad viewed by your user.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Specifies the type of the ad’s source. Supported values are “ad” or “post”.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`source_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Specifies the Meta ID for an ad or post.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`headline`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Specifies the headline used in the ad or post that generated the message.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The description, or body, from the ad or post that generated the message.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`media_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Media present in the ad or post the user clicked. Supported values are “image” or “video”.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added if media_type is “image”.`})}),_jsx(`p`,{children:`Contains a URL to the raw image.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added if media_type is “video”.`})}),_jsx(`p`,{children:`Contains a URL to the video.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Added if media_type is “video”.`})}),_jsx(`p`,{children:`Contains a URL to the thumbnail image of the clicked video.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ctwa_clid`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Click ID generated by Meta for ads that click to WhatsApp.`})]})]})]})})]}),_jsx(Heading,{level:`4`,id:`whatsappmessage`,children:`whatsappMessage`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Unique ID of the message.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wamid`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The original message ID on WhatsApp’s platform.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wabaId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`WhatsApp Business Account ID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`from`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The sender’s phone number in `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),` format.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`to`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The recipient’s phone number in `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/E.164`,children:`E.164`}),` format.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipient`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The recipient value submitted in the request when a BSUID or parent BSUID was used.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipientUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The recipient’s WhatsApp Business-scoped user ID (BSUID).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`toUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Alias of `,_jsx(_components.code,{children:`recipientUserId`}),` kept for compatibility.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parentRecipientUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The recipient’s parent WhatsApp Business-scoped user ID.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`toParentUserId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Alias of `,_jsx(_components.code,{children:`parentRecipientUserId`}),` kept for compatibility.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customerProfile`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The recipient’s profile information, including WhatsApp username when available.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversation`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`WhatsApp defines a conversation as a 24-hour session of messaging between a person and a business. This field is present after the message status changes to `,_jsx(_components.code,{children:`sent`}),`. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/pricing`,children:`Conversation-Based Pricing`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`WhatsApp outbound message type. See also `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages`,children:`WhatsApp messages`}),`.`]}),_jsxs(`p`,{children:[`Values: `,_jsx(`code`,{children:`template`}),`, `,_jsx(`code`,{children:`text`}),`, `,_jsx(`code`,{children:`image`}),`, `,_jsx(`code`,{children:`audio`}),`, `,_jsx(`code`,{children:`video`}),`, `,_jsx(`code`,{children:`document`}),`, `,_jsx(`code`,{children:`sticker`}),`, `,_jsx(`code`,{children:`location`}),`, `,_jsx(`code`,{children:`interactive`}),`, `,_jsx(`code`,{children:`contacts`}),`, `,_jsx(`code`,{children:`reaction`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`template`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for sending a WhatsApp `,_jsx(_components.code,{children:`template`}),` message.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`WhatsApp Message Text Object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`audio`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sticker`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`location`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`interactive`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contacts`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reaction`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`When a user reacts to messages with an emoji, the message type is set to `,_jsx(_components.code,{children:`reaction`}),`, and this field is included.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`context`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Used to mention a specific message you are replying to. The reply can be any message type.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`externalId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`A unique (recommended) string to reference the object. This can be an order number or similar, and can be used to reconcile the object with your internal systems.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`category`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The Direct Send category, such as `,_jsx(_components.code,{children:`utility`}),` or `,_jsx(_components.code,{children:`authentication`}),`, when applicable.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ttlSeconds`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The configured Direct Send message lifetime in seconds, when applicable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`WhatsApp message status. One of `,_jsx(`code`,{children:`accepted`}),`, `,_jsx(`code`,{children:`failed`}),`, `,_jsx(`code`,{children:`sent`}),`, `,_jsx(`code`,{children:`delivered`}),`, `,_jsx(`code`,{children:`read`}),`.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`accepted`}),`: The messaging request is accepted by our system.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`failed`}),`: A message sent by your business failed to send.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`sent`}),`: A message sent by your business is in transit within WhatsApp’s systems.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`delivered`}),`: A message sent by your business was delivered to the user’s device.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`read`}),`: A message sent by your business was read by the user.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorCode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Error code when the message status is `,_jsx(_components.code,{children:`failed`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorMessage`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Error message when the message status is `,_jsx(_components.code,{children:`failed`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`createTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The time at which this message is created, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`updateTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The time at which this message is updated, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sendTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The time at which this message `,_jsx(_components.code,{children:`status`}),` changed to `,_jsx(_components.code,{children:`sent`}),`, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`deliverTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The time at which this message `,_jsx(_components.code,{children:`status`}),` changed to `,_jsx(_components.code,{children:`delivered`}),`, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`readTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The time at which this message `,_jsx(_components.code,{children:`status`}),` changed to `,_jsx(_components.code,{children:`read`}),`, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`totalPrice`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Total price of this message. `,_jsxs(`strong`,{children:[`Note: It’s only an estimated price when the `,_jsx(`code`,{children:`status`}),` is `,_jsx(`code`,{children:`accepted`}),` or `,_jsx(`code`,{children:`sent`}),`. It becomes the final price after the message is delivered, i.e., the `,_jsx(`code`,{children:`status`}),` is `,_jsx(`code`,{children:`delivered`}),` or `,_jsx(`code`,{children:`read`}),`.`]})]}),_jsx(`p`,{children:`For Max Price messages, the send-time amount is an estimate. Use the delivered/read whatsapp.message.updated event for the final charge; maxBid is not the final charged amount.`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Price currency. `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_4217`,children:`ISO 4217 currency code`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`regionCode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2`,children:`region code`}),` of the recipient phone number.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pricingCategory`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`The pricing category of the message. `,_jsxs(`strong`,{children:[`Note: It’s only an estimated pricing category when the `,_jsx(`code`,{children:`status`}),` is `,_jsx(`code`,{children:`accepted`}),` or `,_jsx(`code`,{children:`sent`}),`. It becomes final after the message is delivered, i.e., the `,_jsx(`code`,{children:`status`}),` is `,_jsx(`code`,{children:`delivered`}),` or `,_jsx(`code`,{children:`read`}),`.`]})]}),_jsxs(`p`,{children:[`Values: `,_jsx(`code`,{children:`referral_conversion`}),`, `,_jsx(`code`,{children:`authentication`}),`, `,_jsx(`code`,{children:`authentication_international`}),`, `,_jsx(`code`,{children:`marketing`}),`, `,_jsx(`code`,{children:`marketing_lite`}),`, `,_jsx(`code`,{children:`utility`}),`, `,_jsx(`code`,{children:`service`}),`, `,_jsx(`code`,{children:`marketing_lite_bidding`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pricingModel`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The pricing model of the message.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`PMP`}),`: Per-message pricing applies.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`CBP`}),`: Conversation-based pricing applies.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pricingType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The pricing type of the message. This field is only available in PMP (Per-Message Pricing) mode.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`regular`}),`: Indicates the message is billable.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`free_customer_service`}),`: Indicates the message is free because it was either a utility template message or non-template message sent within a customer service window.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`free_entry_point`}),`: Indicates the message is free because it is part of a free-entry point conversation.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsappApiError`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The original error object returned by WhatsApp. See `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/graph-api/guides/error-handling`,children:`Handling Errors`}),`, `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes`,children:`Cloud API Error Codes`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bizType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`This can be either empty or one of `,_jsx(`code`,{children:`whatsapp`}),`, or `,_jsx(`code`,{children:`verify`}),`. Defaults to `,_jsx(`code`,{children:`whatsapp`}),`.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`whatsapp`}),`: Indicates that the message is sent via the `,_jsx(`strong`,{children:`WhatsApp`}),` product.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`verify`}),`: Indicates that the message is sent via the `,_jsx(`strong`,{children:`Verify`}),` product.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`verificationId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The verification ID. Included only when `,_jsx(_components.code,{children:`bizType`}),` is `,_jsx(_components.code,{children:`verify`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bidPricingFlag`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`True when the message is identified as a Marketing Lite bidding message. Its pricingCategory is marketing_lite_bidding.`})]})]})]}),_jsx(_components.h5,{children:`Message content by type`}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`whatsappMessage.type`}),` to find the matching message content object below when present.`]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`template`,id:`template`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Name of the template.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`language`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Contains a language object. Specifies the language the template may be rendered in.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`components`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Required when the specified template contains variables or media.`}),` Array of component objects containing the parameters of the message.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`language`,id:`language`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The code of the language or locale to use. Accepts both language and language_locale formats (e.g., en and en_US). See `,_jsx(_components.a,{href:`https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/supported-languages`,children:`Supported Languages`}),` for all codes.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policy`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The language policy the message should follow. Default (and only supported option): `,_jsx(_components.code,{children:`deterministic`}),`, which means that WhatsApp delivers the message template in exactly the language and locale asked for.`]})]})]})]})}),_jsxs(Accordion,{title:`components[]`,id:`components`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Component type.`}),_jsxs(`p`,{children:[`Values: `,_jsx(`code`,{children:`header`}),`, `,_jsx(`code`,{children:`body`}),`, `,_jsx(`code`,{children:`button`}),`, `,_jsx(`code`,{children:`limited_time_offer`}),`, `,_jsx(`code`,{children:`carousel`}),`, `,_jsx(`code`,{children:`order_status`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sub_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Required when type is `,_jsx(`code`,{children:`button`}),`.`]}),` Type of button.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`quick_reply`}),`: Refers to a previously created quick reply button that allows for the customer to return a predefined message.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`url`}),`: Refers to a previously created url button that allows the customer to visit the URL generated by appending the text parameter to the predefined prefix URL in the template.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`copy_code`}),`: Refers to a previously created copy code button that allows the customer to copy a text string (defined when the template is sent in a template message) to the device’s clipboard when tapped by the app user.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`catalog`}),`: Refers to a previously created catalog button that allows the customer to view your product catalog.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`mpm`}),`: Refers to a previously created MPM (multi-product message) button that allows the customer to browser products and sections.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`flow`}),`: Refers to a previously created flow button that allows the customer to interact with a `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/flows`,children:`flow`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_details`}),`: Refers to a previously created order details button that allows the customer to view the details of an order.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`index`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Required when `,_jsx(`code`,{children:`type`}),` = `,_jsx(`code`,{children:`button`}),`. Not used for the other types.`]}),` Indicates order in which button should appear, if the template uses multiple buttons. Buttons are zero-indexed, so setting value to 0 will cause the button to appear first, and another button with an index of 1 will appear next, etc.`]}),_jsxs(`p`,{children:[`Minimum: `,_jsx(`code`,{children:`0`}),`. Maximum: `,_jsx(`code`,{children:`9`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parameters`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`button`}),`, or there are variables in the corresponding template component, or the template `,_jsx(_components.code,{children:`HEADER`}),` format is media (`,_jsx(_components.code,{children:`IMAGE`}),`, `,_jsx(_components.code,{children:`VIDEO`}),`, or `,_jsx(_components.code,{children:`DOCUMENT`}),`).`]}),` Array of parameter objects with the content of the message.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cards`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`carousel`}),` components. Provides card components containing the parameters of the message.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`parameters[]`,id:`parameters`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Required.`}),` Component parameter type.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`text`}),`: Used when the template component type is `,_jsx(`code`,{children:`BODY`}),`, or the `,_jsx(`code`,{children:`HEADER`}),` component format is `,_jsx(`code`,{children:`TEXT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`image`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`IMAGE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`gif`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`GIF`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`video`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`VIDEO`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`document`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`DOCUMENT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`payload`}),`: Used when the template component button type is `,_jsx(`code`,{children:`QUICK_REPLY`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`coupon_code`}),`: Used when the template component button type is `,_jsx(`code`,{children:`COPY_CODE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`limited_time_offer`}),`: Used when the template component type is `,_jsx(`code`,{children:`LIMITED_TIME_OFFER`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`action`}),`: Used when the template component button type is `,_jsx(`code`,{children:`CATALOG`}),`, `,_jsx(`code`,{children:`MPM`}),`, `,_jsx(`code`,{children:`FLOW`}),`, or `,_jsx(`code`,{children:`ORDER_DETAILS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_status`}),`: Used when the template subcategory is `,_jsx(`code`,{children:`ORDER_STATUS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`location`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`LOCATION`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`text`}),`.`]}),` The message’s text. For the header component, the character limit is 60 characters. For the body component, the character limit is 1024 characters. For url buttons, it indicates the developer-provided suffix that is appended to the predefined prefix URL in the template.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`quick_reply`}),` buttons. Developer-defined payload that is returned when the button is clicked in addition to the display text on the button.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`coupon_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`coupon_code`}),`.`]}),` The coupon code to be copied when the customer taps the button.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`IMAGE`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gif`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`GIF`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`VIDEO`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`DOCUMENT`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limited_time_offer`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required if template uses offer expiration details.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required if template uses catalog or MPM (multi-product message) buttons.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_status`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Object fields are listed below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`location`}),`.`]})})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`gif`,id:`gif`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`video`,id:`video-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`document`,id:`document-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`limited_time_offer`,id:`limited-time-offer`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration_time_ms`})}),_jsx(_components.td,{children:`integer (int64)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Required.`}),` Offer code expiration time as a UNIX timestamp in milliseconds.`]})]})})]})}),_jsxs(Accordion,{title:`action`,id:`action`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Optional.`}),` Use for catalog and MPM template messages. Item SKU number. Labeled as Content ID in the Commerce Manager. The thumbnail of this item will be used as the message’s header image. If the `,_jsx(_components.code,{children:`parameters`}),` object is omitted, the product image of the first item in your catalog will be used.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sections`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Use for MPM templates. Product sections. You can define up to 10 sections.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_token`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`FLOW`}),` buttons. Flow token that is generated by the business to serve as an identifier. Defaults to `,_jsx(_components.code,{children:`unused`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action_data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`FLOW`}),` buttons. JSON object with the data payload for the first screen.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_details`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`order_details`}),` buttons.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`sections[]`,id:`sections`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Section title text. Maximum 24 characters. Markdown is not supported.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array of product SKU numbers. There is a minimum of 1 product per section and a maximum of 30 products across all sections.`})]})]})]}),_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`product_items[]`,id:`product-items-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`SKU number of the item you want to appear in the section. SKU numbers are labeled as `,_jsx(_components.strong,{children:`Content ID`}),` in the `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Commerce Manager`}),`.`]})]})})]})})})]}),_jsxs(Accordion,{title:`order_details`,id:`order-details`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The currency for this order. Currently the only supported value is `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Provides order `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`items`}),`, `,_jsx(_components.code,{children:`subtotal`}),`, `,_jsx(_components.code,{children:`tax`}),`, etc.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Unique identifier for the order provided by the business. It is case sensitive and cannot be an empty string and can only contain English letters, numbers, underscores, dashes, or dots, and should not exceed 35 characters.`}),_jsxs(`p`,{children:[`The `,_jsx(`code`,{children:`reference_id`}),` must be unique for each order_details message for a given business. If there is a need to send multiple order_details messages for the same order, it is recommended to include a sequence number in the reference_id (for example, “BM345A-12”) to ensure reference_id uniqueness.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The total amount of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The type of goods being paid for in this order. Current supported options are `,_jsx(_components.code,{children:`digital-goods`}),` and `,_jsx(_components.code,{children:`physical-goods`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_settings`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Payment settings for the order.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`order`,id:`order-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Only supported value in the `,_jsx(`code`,{children:`order_details`}),` message is `,_jsx(`code`,{children:`pending`}),`. In an `,_jsx(`code`,{children:`order_status`}),` message, `,_jsx(`code`,{children:`status`}),` can be: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),`, or `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Only supported value is `,_jsx(_components.code,{children:`quick_pay`}),`. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),`, and `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The value `,_jsx(_components.strong,{children:`must be equal`}),` to sum of `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The tax information for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The shipping cost of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discount amount for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Expiration for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Optional.`}),` Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`items[]`,id:`items`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Content ID for an item in the order from your catalog.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The item’s name to be displayed to the user. Cannot exceed 60 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Custom image for the item to be displayed to the user.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The price per item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The number of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. The country of origin of the product.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Name of the importer company.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Address of importer company.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`amount`,id:`amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`sale_amount`,id:`sale-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`subtotal`,id:`subtotal`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`tax`,id:`tax`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`shipping`,id:`shipping`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`discount`,id:`discount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`expiration`,id:`expiration`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Text explanation for expiration.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`total_amount`,id:`total-amount`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsxs(Accordion,{title:`payment_settings[]`,id:`payment-settings`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be set to `,_jsx(_components.code,{children:`payment_gateway`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_gateway`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`An object that describes payment account information.`})]})]})]}),_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`payment_gateway`,id:`payment-gateway`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Payment type. Must set this to `,_jsx(`code`,{children:`billdesk`}),`, `,_jsx(`code`,{children:`razorpay`}),`, `,_jsx(`code`,{children:`payu`}),`, or `,_jsx(`code`,{children:`zaakpay`}),`, if you have linked your BillDesk, Razorpay, PayU, or Zaakpay payment gateway to accept payments.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`configuration_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The name of the pre-configured payment configuration to use for this order and must not exceed 60 characters. This value must match with a payment configuration set up on the WhatsApp Business Manager.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`billdesk`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for BillDesk. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 120.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payu`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for PayU. User-defined fields (udf) are used to store any information corresponding to a particular order. Each UDF field has a maximum character limit of 255.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`razorpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for Razorpay.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zaakpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for Zaakpay. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 180.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`billdesk`,id:`billdesk`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info5`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info6`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info7`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]})]})]})}),_jsx(Accordion,{title:`payu`,id:`payu`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]})]})]})}),_jsx(Accordion,{title:`razorpay`,id:`razorpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Receipt number that corresponds to this order, set for your internal reference. Maximum length of 40 characters supported with minimum length greater than 0 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The object can be key value pairs with maximum 15 keys and each value limits to 256 characters.`})]})]})]})}),_jsx(Accordion,{title:`zaakpay`,id:`zaakpay`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for Zaakpay.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`180`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for Zaakpay.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`180`}),` characters.`]})]})]})]})]})})]})]})})]})]})]})]})]}),_jsxs(Accordion,{title:`order_status`,id:`order-status`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Unique identifier for the order provided by the business.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Provides only `,_jsx(_components.code,{children:`status`}),` and `,_jsx(_components.code,{children:`description`}),` of this order for `,_jsx(_components.code,{children:`order_status`}),` messages.`]})]})]})]}),_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`order`,id:`order-2`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Only supported value in the `,_jsx(`code`,{children:`order_details`}),` message is `,_jsx(`code`,{children:`pending`}),`. In an `,_jsx(`code`,{children:`order_status`}),` message, `,_jsx(`code`,{children:`status`}),` can be: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),`, or `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Only supported value is `,_jsx(_components.code,{children:`quick_pay`}),`. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),`, and `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The value `,_jsx(_components.strong,{children:`must be equal`}),` to sum of `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The tax information for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The shipping cost of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discount amount for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Expiration for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Optional.`}),` Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`items[]`,id:`items-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Content ID for an item in the order from your catalog.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The item’s name to be displayed to the user. Cannot exceed 60 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Custom image for the item to be displayed to the user.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The price per item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The number of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. The country of origin of the product.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Name of the importer company.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Address of importer company.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`amount`,id:`amount-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`sale_amount`,id:`sale-amount-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`subtotal`,id:`subtotal-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`tax`,id:`tax-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`shipping`,id:`shipping-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`discount`,id:`discount-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`expiration`,id:`expiration-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Text explanation for expiration.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})})]})]})})]}),_jsx(Accordion,{title:`location`,id:`location-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Latitude of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Longitude of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Address of the location. Only displayed if `,_jsx(_components.code,{children:`name`}),` is present.`]})]})]})]})})]})]}),_jsxs(Accordion,{title:`cards[]`,id:`cards`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`card_index`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Required.`}),` Zero-indexed order in which card appears within the card carousel. 0 indicates first card, 1 indicates second card, etc.`]}),_jsxs(`p`,{children:[`Minimum: `,_jsx(`code`,{children:`0`}),`. Maximum: `,_jsx(`code`,{children:`9`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`components`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Card component.`})]})]})]}),_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`components[]`,id:`components-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Component type.`}),_jsxs(`p`,{children:[`Values: `,_jsx(`code`,{children:`header`}),`, `,_jsx(`code`,{children:`body`}),`, `,_jsx(`code`,{children:`button`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sub_type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Required when type is `,_jsx(`code`,{children:`button`}),`.`]}),` Type of button.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`quick_reply`}),`: Refers to a previously created quick reply button that allows for the customer to return a predefined message.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`url`}),`: Refers to a previously created url button that allows the customer to visit the URL generated by appending the text parameter to the predefined prefix URL in the template.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`index`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsxs(`strong`,{children:[`Required when `,_jsx(`code`,{children:`type`}),` = `,_jsx(`code`,{children:`button`}),`. Not used for the other types.`]}),` Indicates order in which button should appear, if the template uses multiple buttons. Buttons are zero-indexed, so setting value to 0 will cause the button to appear first, and another button with an index of 1 will appear next, etc.`]}),_jsxs(`p`,{children:[`Minimum: `,_jsx(`code`,{children:`0`}),`. Maximum: `,_jsx(`code`,{children:`9`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parameters`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`button`}),`, or there are variables in the corresponding template component, or the card component `,_jsx(_components.code,{children:`HEADER`}),` format is media (`,_jsx(_components.code,{children:`IMAGE`}),`, `,_jsx(_components.code,{children:`VIDEO`}),`).`]}),` Array of parameter objects with the content of the message.`]})]})]})]}),_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`parameters[]`,id:`parameters-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Required.`}),` Component parameter type.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`text`}),`: Used when the template component type is `,_jsx(`code`,{children:`BODY`}),`, or the `,_jsx(`code`,{children:`HEADER`}),` component format is `,_jsx(`code`,{children:`TEXT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`image`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`IMAGE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`gif`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`GIF`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`video`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`VIDEO`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`document`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`DOCUMENT`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`payload`}),`: Used when the template component button type is `,_jsx(`code`,{children:`QUICK_REPLY`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`coupon_code`}),`: Used when the template component button type is `,_jsx(`code`,{children:`COPY_CODE`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`limited_time_offer`}),`: Used when the template component type is `,_jsx(`code`,{children:`LIMITED_TIME_OFFER`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`action`}),`: Used when the template component button type is `,_jsx(`code`,{children:`CATALOG`}),`, `,_jsx(`code`,{children:`MPM`}),`, `,_jsx(`code`,{children:`FLOW`}),`, or `,_jsx(`code`,{children:`ORDER_DETAILS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_status`}),`: Used when the template subcategory is `,_jsx(`code`,{children:`ORDER_STATUS`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`location`}),`: Used when the template `,_jsx(`code`,{children:`HEADER`}),` component is `,_jsx(`code`,{children:`LOCATION`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`text`}),`.`]}),` The message’s text. For the header component, the character limit is 60 characters. For the body component, the character limit is 1024 characters. For url buttons, it indicates the developer-provided suffix that is appended to the predefined prefix URL in the template.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`quick_reply`}),` buttons. Developer-defined payload that is returned when the button is clicked in addition to the display text on the button.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`coupon_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`coupon_code`}),`.`]}),` The coupon code to be copied when the customer taps the button.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`IMAGE`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gif`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`GIF`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`VIDEO`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when the template `,_jsx(_components.code,{children:`HEADER`}),` format is `,_jsx(_components.code,{children:`DOCUMENT`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limited_time_offer`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required if template uses offer expiration details.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required if template uses catalog or MPM (multi-product message) buttons.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_status`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Object fields are listed below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(_components.strong,{children:[`Required when `,_jsx(_components.code,{children:`type`}),` = `,_jsx(_components.code,{children:`location`}),`.`]})})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`gif`,id:`gif-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`video`,id:`video-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`document`,id:`document-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`limited_time_offer`,id:`limited-time-offer-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration_time_ms`})}),_jsx(_components.td,{children:`integer (int64)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Required.`}),` Offer code expiration time as a UNIX timestamp in milliseconds.`]})]})})]})}),_jsxs(Accordion,{title:`action`,id:`action-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Optional.`}),` Use for catalog and MPM template messages. Item SKU number. Labeled as Content ID in the Commerce Manager. The thumbnail of this item will be used as the message’s header image. If the `,_jsx(_components.code,{children:`parameters`}),` object is omitted, the product image of the first item in your catalog will be used.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sections`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Use for MPM templates. Product sections. You can define up to 10 sections.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_token`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`FLOW`}),` buttons. Flow token that is generated by the business to serve as an identifier. Defaults to `,_jsx(_components.code,{children:`unused`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action_data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`FLOW`}),` buttons. JSON object with the data payload for the first screen.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order_details`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`order_details`}),` buttons.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`sections[]`,id:`sections-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Section title text. Maximum 24 characters. Markdown is not supported.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array of product SKU numbers. There is a minimum of 1 product per section and a maximum of 30 products across all sections.`})]})]})]}),_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`product_items[]`,id:`product-items-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`SKU number of the item you want to appear in the section. SKU numbers are labeled as `,_jsx(_components.strong,{children:`Content ID`}),` in the `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Commerce Manager`}),`.`]})]})})]})})})]}),_jsxs(Accordion,{title:`order_details`,id:`order-details-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The currency for this order. Currently the only supported value is `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Provides order `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`items`}),`, `,_jsx(_components.code,{children:`subtotal`}),`, `,_jsx(_components.code,{children:`tax`}),`, etc.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Unique identifier for the order provided by the business. It is case sensitive and cannot be an empty string and can only contain English letters, numbers, underscores, dashes, or dots, and should not exceed 35 characters.`}),_jsxs(`p`,{children:[`The `,_jsx(`code`,{children:`reference_id`}),` must be unique for each order_details message for a given business. If there is a need to send multiple order_details messages for the same order, it is recommended to include a sequence number in the reference_id (for example, “BM345A-12”) to ensure reference_id uniqueness.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The total amount of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`The type of goods being paid for in this order. Current supported options are `,_jsx(_components.code,{children:`digital-goods`}),` and `,_jsx(_components.code,{children:`physical-goods`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_settings`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Payment settings for the order.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`order`,id:`order-3`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Only supported value in the `,_jsx(`code`,{children:`order_details`}),` message is `,_jsx(`code`,{children:`pending`}),`. In an `,_jsx(`code`,{children:`order_status`}),` message, `,_jsx(`code`,{children:`status`}),` can be: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),`, or `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Only supported value is `,_jsx(_components.code,{children:`quick_pay`}),`. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),`, and `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The value `,_jsx(_components.strong,{children:`must be equal`}),` to sum of `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The tax information for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The shipping cost of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discount amount for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Expiration for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Optional.`}),` Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`items[]`,id:`items-2`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Content ID for an item in the order from your catalog.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The item’s name to be displayed to the user. Cannot exceed 60 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Custom image for the item to be displayed to the user.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The price per item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The number of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. The country of origin of the product.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Name of the importer company.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Address of importer company.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-5`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`amount`,id:`amount-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`sale_amount`,id:`sale-amount-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`subtotal`,id:`subtotal-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`tax`,id:`tax-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`shipping`,id:`shipping-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`discount`,id:`discount-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`expiration`,id:`expiration-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Text explanation for expiration.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`total_amount`,id:`total-amount-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsxs(Accordion,{title:`payment_settings[]`,id:`payment-settings-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be set to `,_jsx(_components.code,{children:`payment_gateway`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_gateway`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`An object that describes payment account information.`})]})]})]}),_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`payment_gateway`,id:`payment-gateway-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Payment type. Must set this to `,_jsx(`code`,{children:`billdesk`}),`, `,_jsx(`code`,{children:`razorpay`}),`, `,_jsx(`code`,{children:`payu`}),`, or `,_jsx(`code`,{children:`zaakpay`}),`, if you have linked your BillDesk, Razorpay, PayU, or Zaakpay payment gateway to accept payments.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`configuration_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The name of the pre-configured payment configuration to use for this order and must not exceed 60 characters. This value must match with a payment configuration set up on the WhatsApp Business Manager.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`billdesk`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for BillDesk. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 120.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payu`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for PayU. User-defined fields (udf) are used to store any information corresponding to a particular order. Each UDF field has a maximum character limit of 255.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`razorpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for Razorpay.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zaakpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for Zaakpay. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 180.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`billdesk`,id:`billdesk-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info5`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info6`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info7`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]})]})]})}),_jsx(Accordion,{title:`payu`,id:`payu-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]})]})]})}),_jsx(Accordion,{title:`razorpay`,id:`razorpay-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Receipt number that corresponds to this order, set for your internal reference. Maximum length of 40 characters supported with minimum length greater than 0 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The object can be key value pairs with maximum 15 keys and each value limits to 256 characters.`})]})]})]})}),_jsx(Accordion,{title:`zaakpay`,id:`zaakpay-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for Zaakpay.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`180`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for Zaakpay.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`180`}),` characters.`]})]})]})]})]})})]})]})})]})]})]})]})]}),_jsxs(Accordion,{title:`order_status`,id:`order-status-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Unique identifier for the order provided by the business.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Provides only `,_jsx(_components.code,{children:`status`}),` and `,_jsx(_components.code,{children:`description`}),` of this order for `,_jsx(_components.code,{children:`order_status`}),` messages.`]})]})]})]}),_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`order`,id:`order-4`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Only supported value in the `,_jsx(`code`,{children:`order_details`}),` message is `,_jsx(`code`,{children:`pending`}),`. In an `,_jsx(`code`,{children:`order_status`}),` message, `,_jsx(`code`,{children:`status`}),` can be: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),`, or `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Only supported value is `,_jsx(_components.code,{children:`quick_pay`}),`. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),`, and `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The value `,_jsx(_components.strong,{children:`must be equal`}),` to sum of `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The tax information for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The shipping cost of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discount amount for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Expiration for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Optional.`}),` Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`items[]`,id:`items-3`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Content ID for an item in the order from your catalog.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The item’s name to be displayed to the user. Cannot exceed 60 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Custom image for the item to be displayed to the user.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The price per item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The number of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. The country of origin of the product.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Name of the importer company.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Address of importer company.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-6`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`amount`,id:`amount-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`sale_amount`,id:`sale-amount-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`subtotal`,id:`subtotal-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`tax`,id:`tax-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`shipping`,id:`shipping-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`discount`,id:`discount-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`expiration`,id:`expiration-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Text explanation for expiration.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})})]})]})})]}),_jsx(Accordion,{title:`location`,id:`location-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Latitude of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Longitude of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Address of the location. Only displayed if `,_jsx(_components.code,{children:`name`}),` is present.`]})]})]})]})})]})]})})]})})]})]})]})]})]}),_jsx(Accordion,{title:`text`,id:`text-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Required for text messages. The text of the text message which can contain URLs which begin with http:// or https:// and formatting. See available formatting options here. If you include URLs in your text and want to include a preview box in text messages (preview_url: true), make sure the URL starts with http:// or https:// — https:// URLs are preferred. You must include a hostname, since IP addresses will not be matched. Maximum length: 4096 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`4096`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preview_url`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`By default, WhatsApp recognizes URLs and makes them clickable, but you can also include a preview box with more information about the link. Set this field to true if you want to include a URL preview box. The majority of the time, the receiver will see a URL they can click on when you send an URL, set preview_url to true, and provide a body object with a http or https link. URL previews are only rendered after one of the following has happened:`}),_jsxs(`ul`,{children:[_jsx(`li`,{children:`The business has sent a message template to the user.`}),_jsx(`li`,{children:`The user initiates a conversation with a “click to chat” link.`}),_jsxs(`li`,{children:[`The user adds the business phone number to their address book and initiates a conversation. Default: `,_jsx(`code`,{children:`false`}),`.`]})]})]})]})]})]})}),_jsx(Accordion,{title:`image`,id:`image-7`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`video`,id:`video-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`audio`,id:`audio-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`document`,id:`document-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`sticker`,id:`sticker-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`location`,id:`location-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Latitude of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longitude`})}),_jsx(_components.td,{children:`number (double)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Longitude of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Address of the location. Only displayed if `,_jsx(_components.code,{children:`name`}),` is present.`]})]})]})]})}),_jsxs(Accordion,{title:`interactive`,id:`interactive-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Required.`}),` The type of interactive message you want to send.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`button`}),`: Use for Reply Buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`list`}),`: Use for List Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`cta_url`}),`: Use for Call-To-Action (CTA) URL Button Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`product`}),`: Use for Single Product Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`product_list`}),`: Use for Multi-Product Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`catalog_message`}),`: Use for Catalog Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`location_request_message`}),`: Use for Location Request Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_details`}),`: Use for Order Details Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`order_status`}),`: Use for Order Status Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`voice_call`}),`: Use for Voice Call Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`flow`}),`: Use for Flow Messages.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Required.`}),` Action you want the user to perform after reading the `,_jsx(_components.code,{children:`interactive`}),` message.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Optional for type `,_jsx(_components.code,{children:`product`}),`. Required for other message types.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`header`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for type `,_jsx(_components.code,{children:`product_list`}),`. Optional for other types.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`footer`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Optional. An object with the footer of the message.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`action`,id:`action-2`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`buttons`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required for Reply Buttons. You can have up to 3 buttons.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`button`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Required for List Messages. Button content. It cannot be an empty string and must be unique within the message. Emojis are supported, markdown is not. Maximum length: 20 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for Single Product Messages and Multi-Product Messages. Unique identifier of the Facebook catalog linked to your WhatsApp Business Account. This ID can be retrieved via the `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Meta Commerce Manager`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required for Single Product Messages and Multi-Product Messages. Unique identifier of the product in a catalog.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sections`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required for List Messages and Multi-Product Messages. Array of section objects. Minimum of 1, maximum of 10.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Action name. Required for Call-To-Action (CTA) buttons.`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`cta_url`}),`: Use for Call-To-Action (CTA) URL buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`catalog_message`}),`: Use for Catalog Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`send_location`}),`: Use for Location Request buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`flow`}),`: Use for Flow buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`review_and_pay`}),`: Use for Order Details buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`review_order`}),`: Use for Order Status buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`voice_call`}),`: Use for Voice Call buttons.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`parameters`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Action parameters. Required for Call-To-Action (CTA) buttons.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`buttons[]`,id:`buttons`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Only supported type is `,_jsx(`code`,{children:`reply`}),` (for Reply Button).`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reply`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Object fields are listed below.`})]})]})]}),_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`reply`,id:`reply`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Button title. It cannot be an empty string and must be unique within the message. Emojis are supported, markdown is not. Maximum length: 20 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Unique identifier for your button. This ID is returned in the webhook when the button is clicked by the user. Maximum length: 256 characters. You cannot have leading or trailing spaces when setting the ID.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`256`}),`.`]})]})]})]})]})})})]}),_jsxs(Accordion,{title:`sections[]`,id:`sections-2`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Required if the message has more than one section.`}),` Title of the section. Maximum length: 24 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rows`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contains a list of rows. You can have a total of 10 rows across your sections. Each row must have a title (Maximum length: 24 characters) and an ID (Maximum length: 200 characters). You can add a description (Maximum length: 72 characters), but it is optional.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required for Multi-Product Messages. Array of product objects. There is a minimum of 1 product per section and a maximum of 30 products across all sections.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`rows[]`,id:`rows`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Unique row ID. Maximum length: 200 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`200`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Row title content. Maximum length: 24 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`24`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Row description content. Maximum length: 72 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`72`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`product_items[]`,id:`product-items-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Required for Multi-Product Messages. Unique identifier of the product in a catalog.`})]})})]})})]})]}),_jsxs(Accordion,{title:`parameters`,id:`parameters-2`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`display_text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Text of the CTA URL button. Maximum length: 20 bytes.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`URL of the CTA URL button.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`thumbnail_product_retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Item SKU number. Labeled as `,_jsx(_components.strong,{children:`Content ID`}),` in the `,_jsx(_components.a,{href:`https://business.facebook.com/commerce`,children:`Commerce Manager`}),`. The thumbnail of this item will be used as the message’s header image.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_message_version`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`flow`}),` buttons. Value must be “3”.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_token`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`flow`}),` buttons. Flow token that is generated by the business to serve as an identifier. Defaults to `,_jsx(_components.code,{children:`unused`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Conditionally required for `,_jsx(_components.code,{children:`flow`}),` buttons. Unique ID of the Flow provided by WhatsApp. Cannot be used with the `,_jsx(_components.code,{children:`flow_name`}),` parameter.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Conditionally required for `,_jsx(_components.code,{children:`flow`}),` buttons. The name of the Flow that you created. Cannot be used with the `,_jsx(_components.code,{children:`flow_id`}),` parameter. Changing the Flow name will require updating this parameter to match the new name.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_cta`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Required for `,_jsx(`code`,{children:`flow`}),` buttons. Text on the CTA button. For example: “Open flow!”. Maximum length: 20 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`20`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`flow`}),` buttons. Either `,_jsx(_components.code,{children:`navigate`}),` or `,_jsx(_components.code,{children:`data_exchange`}),`. Defaults to `,_jsx(_components.code,{children:`navigate`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`flow_action_payload`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`flow_action`}),` is `,_jsx(_components.code,{children:`navigate`}),`. Should be omitted otherwise.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Required for `,_jsx(`code`,{children:`review_and_pay`}),` buttons. Unique identifier for the order provided by the business. It is case sensitive and cannot be an empty string and can only contain English letters, numbers, underscores, dashes, or dots, and should not exceed 35 characters.`]}),_jsxs(`p`,{children:[`The `,_jsx(`code`,{children:`reference_id`}),` must be unique for each order_details message for a given business. If there is a need to send multiple order_details messages for the same order, it is recommended to include a sequence number in the reference_id (for example, “BM345A-12”) to ensure reference_id uniqueness.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`review_and_pay`}),` buttons. The type of goods being paid for in this order. Current supported options are `,_jsx(_components.code,{children:`digital-goods`}),` and `,_jsx(_components.code,{children:`physical-goods`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`beneficiaries`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`review_and_pay`}),` buttons. An array of beneficiaries for this order. A beneficiary is an intended recipient for shipping the physical goods in the order. Beneficiary information isn’t shown to users but is needed for legal and compliance reasons.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`currency`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`review_and_pay`}),` buttons. The currency for this order. Currently the only supported value is `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`review_and_pay`}),` buttons. The total amount for this order.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`order`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Required for `,_jsx(`code`,{children:`review_and_pay`}),` or `,_jsx(`code`,{children:`review_order`}),` buttons.`]}),_jsxs(`p`,{children:[`For `,_jsx(`code`,{children:`review_and_pay`}),` buttons, provides order `,_jsx(`code`,{children:`status`}),`, `,_jsx(`code`,{children:`items`}),`, `,_jsx(`code`,{children:`subtotal`}),`, `,_jsx(`code`,{children:`tax`}),`, etc.`]}),_jsxs(`p`,{children:[`For `,_jsx(`code`,{children:`review_order`}),` buttons, provides only order `,_jsx(`code`,{children:`status`}),` and `,_jsx(`code`,{children:`description`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_settings`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required for `,_jsx(_components.code,{children:`review_and_pay`}),` buttons. Payment settings for the order.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`flow_action_payload`,id:`flow-action-payload`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`screen`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The ID of the screen displayed first. It needs to be an `,_jsx(_components.strong,{children:`entry`}),` screen.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Optional input data for the first screen of the Flow. If provided, this must be a non-empty object.`})]})]})]})}),_jsx(Accordion,{title:`beneficiaries[]`,id:`beneficiaries`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Name of the individual or business receiving the physical goods. Cannot exceed 200 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`200`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address_line1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Shipping address (Door/Tower Number, Street Name etc.). Cannot exceed 100 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`100`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address_line2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Shipping address (Landmark, Area, etc.). Cannot exceed 100 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`100`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`city`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Name of the city.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`state`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Name of the state.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Name of the country. Currently the only supported value is `,_jsx(_components.code,{children:`India`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`postal_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`6-digit zipcode of shipping address.`}),_jsxs(`p`,{children:[`Minimum length: `,_jsx(`code`,{children:`6`}),`. Maximum length: `,_jsx(`code`,{children:`6`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`total_amount`,id:`total-amount-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsxs(Accordion,{title:`order`,id:`order-5`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Only supported value in the `,_jsx(`code`,{children:`order_details`}),` message is `,_jsx(`code`,{children:`pending`}),`. In an `,_jsx(`code`,{children:`order_status`}),` message, `,_jsx(`code`,{children:`status`}),` can be: `,_jsx(`code`,{children:`pending`}),`, `,_jsx(`code`,{children:`processing`}),`, `,_jsx(`code`,{children:`partially_shipped`}),`, `,_jsx(`code`,{children:`shipped`}),`, `,_jsx(`code`,{children:`completed`}),`, or `,_jsx(`code`,{children:`canceled`}),`.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Only supported value is `,_jsx(_components.code,{children:`quick_pay`}),`. When this field is passed in we hide the “Review and Pay” button and only show the “Pay Now” button in the order details bubble.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`catalog_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Unique identifier of the Facebook catalog being used by the business. If you do not provide this field, you must provide the following fields inside the items object: `,_jsx(_components.code,{children:`country_of_origin`}),`, `,_jsx(_components.code,{children:`importer_name`}),`, and `,_jsx(_components.code,{children:`importer_address`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`items`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtotal`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`The value `,_jsx(_components.strong,{children:`must be equal`}),` to sum of `,_jsx(_components.code,{children:`order.amount.value`}),` * `,_jsx(_components.code,{children:`order.amount.quantity`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tax`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The tax information for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shipping`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The shipping cost of the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discount amount for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expiration`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Expiration for this order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Optional.`}),` Text for sharing status related information. Could be useful while sending cancellation. Max character limit is 120 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`items[]`,id:`items-4`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retailer_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Content ID for an item in the order from your catalog.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The item’s name to be displayed to the user. Cannot exceed 60 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Custom image for the item to be displayed to the user.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The price per item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sale_amount`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The discounted price per item. This should be less than the original amount. If included, this field is used to calculate the subtotal amount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quantity`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`The number of items in the order.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_of_origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. The country of origin of the product.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Name of the importer company.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`importer_address`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Required if `,_jsx(_components.code,{children:`catalog_id`}),` is not present. Address of importer company.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-8`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`amount`,id:`amount-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`sale_amount`,id:`sale-amount-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})})]})]}),_jsx(Accordion,{title:`subtotal`,id:`subtotal-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`tax`,id:`tax-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`shipping`,id:`shipping-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`discount`,id:`discount-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`offset`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be `,_jsx(_components.code,{children:`100`}),` for `,_jsx(_components.code,{children:`INR`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`integer (int32)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Positive integer representing the amount value multiplied by offset. For example, ₹12.34 has value 1234.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`tax`}),`, `,_jsx(`code`,{children:`shipping`}),`, or `,_jsx(`code`,{children:`discount`}),`. Description of the amount. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`discount_program_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Use only for `,_jsx(`code`,{children:`discount`}),`. Text used for defining incentivised orders. If order is incentivised, the merchant needs to define this information. Max character limit is 60 characters.`]}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})]})]})}),_jsx(Accordion,{title:`expiration`,id:`expiration-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A string of UTC timestamp in seconds of time when order should expire. Minimum threshold is 300 seconds.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Text explanation for expiration.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),`.`]})]})]})]})]})})]})]}),_jsxs(Accordion,{title:`payment_settings[]`,id:`payment-settings-2`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Must be set to `,_jsx(_components.code,{children:`payment_gateway`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payment_gateway`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`An object that describes payment account information.`})]})]})]}),_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`payment_gateway`,id:`payment-gateway-2`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:_jsxs(`p`,{children:[`Payment type. Must set this to `,_jsx(`code`,{children:`billdesk`}),`, `,_jsx(`code`,{children:`razorpay`}),`, `,_jsx(`code`,{children:`payu`}),`, or `,_jsx(`code`,{children:`zaakpay`}),`, if you have linked your BillDesk, Razorpay, PayU, or Zaakpay payment gateway to accept payments.`]})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`configuration_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The name of the pre-configured payment configuration to use for this order and must not exceed 60 characters. This value must match with a payment configuration set up on the WhatsApp Business Manager.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`billdesk`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for BillDesk. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 120.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payu`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for PayU. User-defined fields (udf) are used to store any information corresponding to a particular order. Each UDF field has a maximum character limit of 255.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`razorpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for Razorpay.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zaakpay`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional info for Zaakpay. User-defined fields (extra) are used to store any information corresponding to a particular order. Each extra field has a maximum character limit of 180.`})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`billdesk`,id:`billdesk-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info5`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info6`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`additional_info7`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for BillDesk.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`120`}),` characters.`]})]})]})]})]})}),_jsx(Accordion,{title:`payu`,id:`payu-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf3`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`udf4`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for PayU.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`255`}),` characters.`]})]})]})]})]})}),_jsx(Accordion,{title:`razorpay`,id:`razorpay-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`receipt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Receipt number that corresponds to this order, set for your internal reference. Maximum length of 40 characters supported with minimum length greater than 0 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The object can be key value pairs with maximum 15 keys and each value limits to 256 characters.`})]})]})]})}),_jsx(Accordion,{title:`zaakpay`,id:`zaakpay-2`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra1`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for Zaakpay.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`180`}),` characters.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extra2`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`User-defined information about this order for Zaakpay.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`180`}),` characters.`]})]})]})]})]})})]})]})})]})]})]})]})]}),_jsx(Accordion,{title:`body`,id:`body`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The body content of the message. Emojis and markdown are supported. Maximum length: 1024 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`1024`}),`.`]})]})]})})]})}),_jsxs(Accordion,{title:`header`,id:`header`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[_jsx(`strong`,{children:`Required.`}),` The header type you would like to use.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`text`}),`: Used for List Messages, Reply Buttons, and Multi-Product Messages.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`video`}),`: Used for Reply Buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`image`}),`: Used for Reply Buttons.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`document`}),`: Used for Reply Buttons.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Text for the header. Formatting allows emojis, but not markdown.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`image`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`video`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`document`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Use for `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, `,_jsx(_components.code,{children:`audio`}),`, `,_jsx(_components.code,{children:`document`}),`, or `,_jsx(_components.code,{children:`sticker`}),` messages. See also `,_jsx(_components.a,{href:`https://developers.facebook.com/docs/whatsapp/cloud-api/reference/media#supported-media-types`,children:`Supported Media Types`}),`.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`image`,id:`image-9`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`video`,id:`video-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})}),_jsx(Accordion,{title:`document`,id:`document-4`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when media is uploaded to WhatsApp servers.`})}),_jsxs(`p`,{children:[`Provide the media object ID obtained from WhatsApp media upload API (`,_jsx(`a`,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:_jsx(_components.a,{href:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`,children:`https://docs.ycloud.com/reference/whatsapp_media-upload#/`})}),`).`]}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`link`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Use this when sending media directly from your server.`})}),_jsx(`p`,{children:`The protocol and URL of the media to be sent. Use only with HTTP/HTTPS URLs.`}),_jsx(`p`,{children:`Note: WhatsApp Cloud API caches media resources for 10 minutes. To ensure latest content, add random query strings to the URL.`}),_jsxs(`p`,{children:[`Note: Either `,_jsx(`code`,{children:`id`}),` or `,_jsx(`code`,{children:`link`}),` must be provided. If both are provided, `,_jsx(`code`,{children:`id`}),` takes precedence and `,_jsx(`code`,{children:`link`}),` will be ignored.`]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`caption`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the specified `,_jsx(_components.code,{children:`image`}),`, `,_jsx(_components.code,{children:`gif`}),`, `,_jsx(_components.code,{children:`video`}),`, or `,_jsx(_components.code,{children:`document`}),` media. Not applicable in the `,_jsx(_components.code,{children:`header`}),` of `,_jsx(_components.code,{children:`template`}),` or `,_jsx(_components.code,{children:`interactive`}),` messages.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`filename`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Describes the filename for the specific document. Use only with `,_jsx(_components.code,{children:`document`}),` media.`]})]})]})]})})]})]}),_jsx(Accordion,{title:`footer`,id:`footer`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`The footer content. Emojis and markdown are supported. Links are supported. Maximum length: 60 characters.`}),_jsxs(`p`,{children:[`Maximum length: `,_jsx(`code`,{children:`60`}),`.`]})]})]})})]})})]})]}),_jsxs(Accordion,{title:`contacts[]`,id:`contacts-1`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`addresses`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`birthday`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`YYYY-MM-DD`}),` formatted string.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emails`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Array items are described below.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Full contact name formatted as a name object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`org`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact organization information formatted as an org object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phones`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact phone number(s) formatted as a phone object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`urls`})}),_jsx(_components.td,{children:`object[]`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact URL(s) formatted as a urls object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vcard`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Optional vCard supplied with the shared contact payload.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`origin`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Set to `,_jsx(_components.code,{children:`contact_request`}),` when the user shared the contact in response to a request-contact-info message.`]})]})]})]}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`addresses[]`,id:`addresses-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`street`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Street number and name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`city`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`City name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`state`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`State abbreviation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`zip`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ZIP code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Full country name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`country_code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Two-letter country abbreviation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard values are `,_jsx(_components.code,{children:`HOME`}),` and `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`emails[]`,id:`emails-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Email address.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard values are `,_jsx(_components.code,{children:`HOME`}),` and `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`name`,id:`name-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`formatted_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Full name, as it normally appears.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`first_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`First name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`last_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Last name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`middle_name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Middle name.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`suffix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name suffix.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`prefix`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name prefix.`})]})]})]})}),_jsx(Accordion,{title:`org`,id:`org-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`company`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the contact’s company.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`department`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the contact’s department.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Contact’s business title.`})]})]})]})}),_jsx(Accordion,{title:`phones[]`,id:`phones-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Automatically populated with the `,_jsx(_components.code,{children:`wa_id`}),` value as a formatted phone number.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard Values are `,_jsx(_components.code,{children:`CELL`}),`, `,_jsx(_components.code,{children:`MAIN`}),`, `,_jsx(_components.code,{children:`IPHONE`}),`, `,_jsx(_components.code,{children:`HOME`}),`, and `,_jsx(_components.code,{children:`WORK`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`wa_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`WhatsApp ID.`})]})]})]})}),_jsx(Accordion,{title:`urls[]`,id:`urls-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`URL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Standard values are `,_jsx(_components.code,{children:`HOME`}),` and `,_jsx(_components.code,{children:`WORK`}),`.`]})]})]})]})})]})]}),_jsx(Accordion,{title:`reaction`,id:`reaction-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Specifies the `,_jsx(_components.code,{children:`wamid`}),` of the message received that contained the reaction.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`emoji`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Required`}),` when you send a `,_jsx(_components.code,{children:`reaction`}),` message. Set it to `,_jsx(_components.code,{children:`\"\"`}),` if you want to remove the emoji. `,_jsx(_components.strong,{children:`Optional`}),` when you received a message from a user. This field is included when a user reacts to messages with an emoji. Otherwise, it indicates a user removed the emoji.`]})]})]})]})})]}),_jsx(_components.h5,{children:`Related message details`}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`customerProfile`,id:`customerprofile-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the WhatsApp account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`username`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`WhatsApp username.`})]})]})]})}),_jsx(Accordion,{title:`conversation`,id:`conversation`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Unique ID for the object.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Conversation type. There is a charge when the first business message of this conversation is delivered, initiating the 24-hour conversation session. As such, the conversation type can be `,_jsx(`code`,{children:`null`}),` before the first message is delivered.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`FREE_ENTRY`}),`: Conversations originating from a `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-entry-point-conversations`,children:`free entry point`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`FREE_TIER`}),`: Conversations within the monthly `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-tier-conversations`,children:`free tier`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`REGULAR`}),`: Any conversations that did not originate from a `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-entry-point-conversations`,children:`free entry point`}),` or are above the monthly `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-tier-conversations`,children:`free tier`}),` allotment.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`originType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsxs(`p`,{children:[`Indicates `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#conversation-categories`,children:`conversation category`}),`. This can also be referred to as a conversation entry point.`]}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[_jsx(`code`,{children:`referral_conversion`}),`: Indicates a `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#free-entry-point-conversations`,children:`free entry point conversation`}),`.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`authentication`}),`: Indicates the conversation was opened by a business sending template categorized as `,_jsx(`code`,{children:`AUTHENTICATION`}),` to the customer. This applies any time it has been more than 24 hours since the last customer message.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`marketing`}),`: Indicates the conversation was opened by a business sending template categorized as `,_jsx(`code`,{children:`MARKETING`}),` to the customer. This applies any time it has been more than 24 hours since the last customer message.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`utility`}),`: Indicates the conversation was opened by a business sending template categorized as `,_jsx(`code`,{children:`UTILITY`}),` to the customer. This applies any time it has been more than 24 hours since the last customer message.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`service`}),`: Indicates that the conversation opened by a business replying to a customer within a `,_jsx(`a`,{href:`https://developers.facebook.com/docs/whatsapp/pricing#customer-service-windows`,children:`customer service window`}),`.`]})]})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expireTime`})}),_jsx(_components.td,{children:`string (date-time)`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Date when the conversation expires, formatted in `,_jsx(_components.a,{href:`https://datatracker.ietf.org/doc/html/rfc3339`,children:`RFC 3339`}),`. e.g., `,_jsx(_components.code,{children:`2022-06-01T12:00:00.000Z`}),`.`]})]})]})]})}),_jsx(Accordion,{title:`context`,id:`context-1`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Specifies the `,_jsx(_components.code,{children:`wamid`}),` of the message your are replying to. `,_jsx(_components.code,{children:`wamid`}),` is the original message ID on WhatsApp’s platform.`]})]})})]})}),_jsx(Accordion,{title:`whatsappApiError`,id:`whatsappapierror`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`message`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`A human-readable description of the error.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`An error code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Error type.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_subcode`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Additional code about the error.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_user_msg`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The message to display to the user. The language of the message is based on the locale of the API request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_user_title`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`The title of the dialog, if shown. The language of the message is based on the locale of the API request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fbtrace_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Internal support identifier. When reporting a bug related to a Graph API call, include the fbtrace_id to help us find log data for debugging.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_data`})}),_jsx(_components.td,{children:`string or object`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(`p`,{children:`Additional data about the error. A string or map.`}),_jsxs(`ul`,{children:[_jsx(`li`,{children:`For template APIs, this field is a string describing the reason for the error.`}),_jsxs(`li`,{children:[`For message APIs, this field is a map with property `,_jsx(`code`,{children:`details`}),` describing the reason for the error.`]})]})]})]})]})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(_components.p,{children:`The following JSON is the body delivered to your receiver. IDs, phone numbers, and other account values are illustrative.`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Inbound history message`,id:`inbound-history-message`,children:[_jsx(_components.p,{children:`An inbound history message uses whatsappInboundMessage. phase and progress report synchronization of the history chunk.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_example_smb_history_inbound\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-09T08:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`40`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappInboundMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"INBOUND_MESSAGE_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.INBOUND_EXAMPLE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550124\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550123\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"What time can I collect my order?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"customerProfile\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Example customer\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-08T12:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Outbound history message`,id:`outbound-history-message`,children:[_jsx(_components.p,{children:`An outbound history message uses whatsappMessage. Do not route it as an inbound message.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_example_smb_history_outbound\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-09T08:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`60`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"MESSAGE_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.EXAMPLE\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA_ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550124\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550123\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Your order is ready for pickup.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"sent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-08T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-08T12:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`History synchronization progress`,id:`history-synchronization-progress`,children:[_jsx(_components.p,{children:`A metadata-only history chunk reports phase and progress without either message object. Do not treat this shape as a message-created or message-echoes payload.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_example_smb_history_progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2026-10-09T08:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`73`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})]}),_jsx(Accordion,{title:`Inbound Text message`,id:`inbound-text-message`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_eEkn26qar3nOB8md\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`40`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappInboundMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"63f872f6741c165b4342a751\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.HBgNODi...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA-ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"CUSTOMER-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"fromUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.13491208655302741918\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"fromParentUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.11815799212886844830\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"customerProfile\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Joe\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"username\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"@JoeWick\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"BUSINESS-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"OK\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"context\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"+12025550124\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.HBgNODr...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`Outbound Text message`,id:`outbound-text-message`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_eEVCy8eNqD9EvcFI\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`40`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"whatsappMessage\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"63f5d602367ea403f8175a6c\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wamid\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.BgNODYxN...\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"sent\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"BUSINESS-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"CUSTOMER-PHONE-NUMBER\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"toUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.13491208655302741918\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"toParentUserId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"US.11815799212886844830\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"wabaId\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"WABA-ID\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2022-03-01T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"sendTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2022-03-01T12:00:01.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"bizType\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"Hi there! How can we help?\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"context\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"wamid.BgNODYxN...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`Progress-only history chunk`,id:`progress-only-history-chunk`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"evt_progressOnly73\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"whatsapp.smb.history\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"apiVersion\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"v2\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`\"2023-02-22T12:00:02.000Z\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"phase\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`73`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsxs(_components.p,{children:[`After verifying the signature and durably accepting the event, return a `,_jsx(_components.code,{children:`2xx`}),` response. Process slow work asynchronously.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`/`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`1.1`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` 200`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` OK`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For scenario walkthroughs, see `,_jsx(_components.a,{href:`/en/api-reference/guides/examples/webhook-examples/whatsapp-business-app-history-message-webhook-examples`,children:`annotated examples`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"whatsapp.smb.history","sidebarTitle":"smb.history","description":"Occurs when WhatsApp Business App message history is synchronized.","href":"/en/api-reference/webhook-reference/whatsapp-smb-history"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Triggers","slug":"triggers","depth":2,"children":[]},{"title":"Syntax","slug":"syntax","depth":2,"children":[]},{"title":"Parameters","slug":"parameters","depth":2,"children":[{"title":"Event envelope","slug":"event-envelope","depth":3,"children":[]},{"title":"Event payload","slug":"event-payload","depth":3,"children":[]},{"title":"whatsappInboundMessage","slug":"whatsappinboundmessage","depth":4,"children":[]},{"title":"whatsappMessage","slug":"whatsappmessage","depth":4,"children":[]}]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lchnan","siteName":"YCloud Docs","title":"whatsapp.smb.history - YCloud Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":0},"zh":{"href":"/zh/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1},"es":{"href":"/es/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1},"pt":{"href":"/pt/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1},"ru":{"href":"/ru/api-reference/webhook-reference/whatsapp-smb-history","matchLevel":1}},"searchTabScopes":[{"language":"en","tab":"Documentation"},{"language":"en","tab":"API Reference"},{"language":"en","tab":"Partner Center"},{"language":"zh","tab":"产品文档"},{"language":"zh","tab":"API 参考"},{"language":"zh","tab":"合作伙伴中心"},{"language":"es","tab":"Documentación"},{"language":"es","tab":"Referencia de la API"},{"language":"es","tab":"Centro de socios"},{"language":"pt","tab":"Documentação"},{"language":"pt","tab":"Referência da API"},{"language":"pt","tab":"Central de parceiros"},{"language":"ru","tab":"Документация"},{"language":"ru","tab":"Справочник API"},{"language":"ru","tab":"Партнерский центр"}]},"lastModified":"2026-11-20T02:49:43.102Z","originalFileLocation":"en/api-reference/webhook-reference/whatsapp-smb-history.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Occurs when WhatsApp Business App message history is synchronized.\">\u003cmeta data-mint-head name=\"application-name\" content=\"YCloud Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"whatsapp.smb.history - YCloud Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Occurs when WhatsApp Business App message history is synchronized.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"YCloud Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lchnan.mintlify.site/_mintlify/api/og/v2?division=WhatsApp+Business+App\u0026amp;title=whatsapp.smb.history\u0026amp;description=Occurs+when+WhatsApp+Business+App+message+history+is+synchronized.\u0026amp;theme=73a4e124bf0b360368afc7b1\u0026amp;signature=b2416393dfc067f283e26b51b98da23aedd80aef7dc2ef73bf501cdb6e9e19e3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"whatsapp.smb.history - YCloud Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Occurs when WhatsApp Business App message history is synchronized.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lchnan.mintlify.site/_mintlify/api/og/v2?division=WhatsApp+Business+App\u0026amp;title=whatsapp.smb.history\u0026amp;description=Occurs+when+WhatsApp+Business+App+message+history+is+synchronized.\u0026amp;theme=73a4e124bf0b360368afc7b1\u0026amp;signature=b2416393dfc067f283e26b51b98da23aedd80aef7dc2ef73bf501cdb6e9e19e3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lchnan/g_kuIVCsIE9hrH5P/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"YCloud Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#602DED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/webhook-reference/whatsapp-smb-history.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.ycloud.com/zh/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.ycloud.com/es/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.ycloud.com/pt/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ycloud.com/#organization\",\"name\":\"YCloud Docs\",\"url\":\"https://docs.ycloud.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lchnan/AXn0jsI-c5aPnOMW/logo/light.png?fit=max\u0026auto=format\u0026n=AXn0jsI-c5aPnOMW\u0026q=85\u0026s=0865e4207d765d07a769c29bc819adbe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ycloud.com#website\",\"name\":\"YCloud Docs\",\"url\":\"https://docs.ycloud.com\",\"publisher\":{\"@id\":\"https://docs.ycloud.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history#webpage\",\"url\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\",\"name\":\"whatsapp.smb.history\",\"description\":\"Occurs when WhatsApp Business App message history is synchronized.\",\"dateModified\":\"2026-11-20T02:49:43.102Z\",\"isPartOf\":{\"@id\":\"https://docs.ycloud.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhook reference\",\"item\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-inbound-message-received\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"whatsapp.smb.history\",\"item\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history#article\",\"headline\":\"whatsapp.smb.history\",\"name\":\"whatsapp.smb.history\",\"description\":\"Occurs when WhatsApp Business App message history is synchronized.\",\"url\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ycloud.com/en/api-reference/webhook-reference/whatsapp-smb-history#webpage\"},\"dateModified\":\"2026-11-20T02:49:43.102Z\",\"publisher\":{\"@id\":\"https://docs.ycloud.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ycloud.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"YCloud Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"YCloud Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/webhook-reference/whatsapp-smb-history.md","siteName":"YCloud Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/en/documentation/overview"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Getting Started","pages":[{"title":"YCloud API","href":"/en/api-reference/getting-started/ycloud-api"},{"title":"Quickstart","href":"/en/api-reference/getting-started/quickstart"},{"title":"API changelog","href":"/en/api-reference/getting-started/changelog"},{"title":"YCloud Developer Kit","href":"/en/api-reference/getting-started/ycloud-developer-kit"}]},{"group":"Guides","pages":[{"title":"Guides","href":"/en/api-reference/guides/overview"},{"group":"API fundamentals","pages":[{"title":"Authentication","href":"/en/api-reference/guides/api-fundamentals/authentication"},{"title":"Handle errors","href":"/en/api-reference/guides/api-fundamentals/handle-errors"},{"title":"Rate limits","href":"/en/api-reference/guides/api-fundamentals/rate-limits"},{"title":"Pagination","href":"/en/api-reference/guides/api-fundamentals/pagination"},{"title":"API versioning and compatibility","href":"/en/api-reference/guides/api-fundamentals/versioning"},{"title":"Configure webhooks","href":"/en/api-reference/guides/api-fundamentals/configure-webhooks"},{"title":"Implement a webhook receiver","href":"/en/api-reference/guides/api-fundamentals/implement-a-webhook-receiver"}]},{"group":"WhatsApp platform","pages":[{"group":"Send and receive","pages":[{"title":"Send a WhatsApp message","href":"/en/api-reference/guides/whatsapp-platform/send-whatsapp-message"},{"title":"WhatsApp error code","href":"/en/api-reference/guides/whatsapp-platform/whatsapp-error-code"},{"title":"Handle WhatsApp inbound messages","href":"/en/api-reference/guides/whatsapp-platform/handle-whatsapp-inbound-messages"},{"title":"Upload WhatsApp media","href":"/en/api-reference/guides/whatsapp-platform/upload-whatsapp-media"},{"title":"WhatsApp Message Pricing Integration Guide","href":"/en/api-reference/guides/whatsapp-platform/whatsapp-message-pricing-integration-guide"},{"title":"Max Price integration guide","href":"/en/api-reference/guides/whatsapp-platform/max-price-integration-guide"}]},{"group":"Best practices","pages":[{"title":"WhatsApp Messages API best practices","href":"/en/api-reference/guides/whatsapp-platform/whatsapp-messages-api-best-practices"},{"title":"Direct Send","sidebarTitle":"Direct Send best practices","href":"/en/api-reference/guides/whatsapp-platform/best-practices/direct-send"}]},{"group":"Business accounts","pages":[{"title":"Manage WhatsApp Business Accounts","href":"/en/api-reference/guides/whatsapp-platform/manage-whatsapp-business-accounts"},{"title":"Manage WhatsApp phone numbers","href":"/en/api-reference/guides/whatsapp-platform/manage-whatsapp-phone-numbers"},{"title":"Use business-scoped user IDs","href":"/en/api-reference/guides/whatsapp-platform/use-business-scoped-user-ids"}]},{"group":"Templates and flows","pages":[{"title":"Manage WhatsApp templates","href":"/en/api-reference/guides/whatsapp-platform/manage-whatsapp-templates"},{"title":"Supported WhatsApp template languages","href":"/en/api-reference/guides/whatsapp-platform/supported-whatsapp-template-languages"},{"title":"Manage WhatsApp Flows","href":"/en/api-reference/guides/whatsapp-platform/manage-whatsapp-flows"},{"title":"Implement a WhatsApp Flow endpoint","href":"/en/api-reference/guides/whatsapp-platform/implement-a-whatsapp-flow-endpoint"}]},{"group":"Calling and groups","pages":[{"title":"Manage WhatsApp calls","href":"/en/api-reference/guides/whatsapp-platform/manage-whatsapp-calls"},{"title":"Manage WhatsApp groups","href":"/en/api-reference/guides/whatsapp-platform/manage-whatsapp-groups"}]}]},{"group":"Meta Business Agent","pages":[{"title":"Meta Business Agent overview","href":"/en/documentation/meta-business-agent/overview"},{"title":"Prepare and check eligibility","href":"/en/documentation/meta-business-agent/prepare-and-check-eligibility"},{"title":"Onboard and configure","href":"/en/documentation/meta-business-agent/onboard-and-configure"},{"title":"Test and evaluate","href":"/en/documentation/meta-business-agent/test-and-evaluate"},{"title":"Roll out safely","href":"/en/documentation/meta-business-agent/roll-out-safely"},{"title":"Operate and troubleshoot","href":"/en/documentation/meta-business-agent/operate-and-troubleshoot"}]},{"group":"Customer data and operations","pages":[{"title":"Check account balance","href":"/en/api-reference/guides/customer-data-and-operations/check-account-balance"},{"title":"Manage contacts","href":"/en/api-reference/guides/customer-data-and-operations/manage-contacts"},{"title":"Track custom events","href":"/en/api-reference/guides/customer-data-and-operations/track-custom-events"},{"title":"Manage unsubscribers","href":"/en/api-reference/guides/customer-data-and-operations/manage-unsubscribers"}]},{"group":"Examples","pages":[{"title":"Example overview","href":"/en/api-reference/guides/examples/overview"},{"group":"API examples","pages":[{"title":"WhatsApp Template Creation Examples","href":"/en/api-reference/guides/examples/api-examples/whatsapp-template-creation-examples"},{"title":"WhatsApp Messaging Examples","href":"/en/api-reference/guides/examples/api-examples/whatsapp-messaging-examples"}]},{"title":"Webhook examples","href":"/en/api-reference/webhook-reference/overview"}]}]},{"group":"Endpoints","pages":[{"group":"WhatsApp Business Accounts","pages":[{"title":"List WABAs","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/businessAccounts","href":"/api-reference/whatsapp-business-accounts/list-wabas"},{"title":"Retrieve a WABA","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/businessAccounts/{id}","href":"/api-reference/whatsapp-business-accounts/retrieve-a-waba"},{"title":"Retrieve WABA automatic creative optimizations","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/businessAccounts/{wabaId}/automatic-creative-optimizations","href":"/api-reference/whatsapp-business-accounts/retrieve-waba-automatic-creative-optimizations"},{"title":"Update WABA automatic creative optimizations","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/businessAccounts/{wabaId}/automatic-creative-optimizations","href":"/api-reference/whatsapp-business-accounts/update-waba-automatic-creative-optimizations"}]},{"group":"WhatsApp Inbound Messages","pages":[{"title":"Mark message as read","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/inboundMessages/{id}/markAsRead","href":"/api-reference/whatsapp-inbound-messages/mark-message-as-read"},{"title":"Mark message as read and display a typing indicator with a JSON response","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/inboundMessages/{id}/typing","href":"/api-reference/whatsapp-inbound-messages/mark-message-as-read-and-display-a-typing-indicator-with-a-json-response"}]},{"group":"WhatsApp Media","pages":[{"title":"Upload media","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/media/{phoneNumber}/upload","href":"/api-reference/whatsapp-media/upload-media"}]},{"group":"WhatsApp Messages","pages":[{"title":"Send a message directly","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/messages/sendDirectly","href":"/api-reference/whatsapp-messages/send-a-message-directly"},{"title":"Enqueue a message","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/messages","href":"/api-reference/whatsapp-messages/enqueue-a-message"},{"title":"Retrieve a message","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/messages/{id}","href":"/api-reference/whatsapp-messages/retrieve-a-message"},{"title":"Submit a Direct Send message sample","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/messages/{wabaId}/messageSamples","href":"/api-reference/whatsapp-messages/submit-a-direct-send-message-sample"}]},{"group":"Messenger Messages","pages":[{"title":"Send a Messenger text reply directly","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /messenger/messages/sendDirectly","href":"/api-reference/messenger-messages/send-a-messenger-text-reply-directly"},{"title":"Retrieve an outbound message by its YCloud ID","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /messenger/messages/{id}","href":"/api-reference/messenger-messages/retrieve-an-outbound-message-by-its-ycloud-id"},{"title":"Retrieve an outbound message by its Meta message ID","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /messenger/messages/retrieveByMetaMessageId","href":"/api-reference/messenger-messages/retrieve-an-outbound-message-by-its-meta-message-id"}]},{"group":"WhatsApp Blocked Users","pages":[{"title":"Block users","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/blockUsers","href":"/api-reference/whatsapp-blocked-users/block-users"},{"title":"Unblock users","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/unblockUsers","href":"/api-reference/whatsapp-blocked-users/unblock-users"},{"title":"List blocked users","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/blockedUsers","href":"/api-reference/whatsapp-blocked-users/list-blocked-users"}]},{"group":"WhatsApp Groups","pages":[{"title":"Create a group","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups","href":"/api-reference/whatsapp-groups/create-a-group"},{"title":"List groups","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups","href":"/api-reference/whatsapp-groups/list-groups"},{"title":"Retrieve a group","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups/{groupId}","href":"/api-reference/whatsapp-groups/retrieve-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/{businessPhoneNumber}/groups/{groupId}","href":"/api-reference/whatsapp-groups/delete-a-group"},{"title":"Retrieve a group invite link","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups/{groupId}/inviteLink","href":"/api-reference/whatsapp-groups/retrieve-a-group-invite-link"},{"title":"Reset a group invite link","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/{groupId}/inviteLink/reset","href":"/api-reference/whatsapp-groups/reset-a-group-invite-link"},{"title":"Send a group invite link message","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/inviteLink/messages","href":"/api-reference/whatsapp-groups/send-a-group-invite-link-message"},{"title":"List group join requests","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/{businessPhoneNumber}/groups/{groupId}/joinRequests","href":"/api-reference/whatsapp-groups/list-group-join-requests"},{"title":"Approve group join requests","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/{groupId}/joinRequests/approve","href":"/api-reference/whatsapp-groups/approve-group-join-requests"},{"title":"Reject group join requests","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/{businessPhoneNumber}/groups/{groupId}/joinRequests/reject","href":"/api-reference/whatsapp-groups/reject-group-join-requests"},{"title":"Remove group participants","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/groups/{groupId}/participants/remove","href":"/api-reference/whatsapp-groups/remove-group-participants"},{"title":"Update group settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/{businessPhoneNumber}/groups/{groupId}/settings","href":"/api-reference/whatsapp-groups/update-group-settings"}]},{"group":"WhatsApp Calling","pages":[{"title":"Connect a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/connect","href":"/api-reference/whatsapp-calling/connect-a-call"},{"title":"Pre-accept a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/preAccept","href":"/api-reference/whatsapp-calling/pre-accept-a-call"},{"title":"Accept a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/accept","href":"/api-reference/whatsapp-calling/accept-a-call"},{"title":"Terminate a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/terminate","href":"/api-reference/whatsapp-calling/terminate-a-call"},{"title":"Reject a call","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/calls/reject","href":"/api-reference/whatsapp-calling/reject-a-call"},{"title":"Download call media","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/calls/media/{mediaAssetId}","href":"/api-reference/whatsapp-calling/download-call-media"}]},{"group":"WhatsApp Phone Numbers","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers","href":"/api-reference/whatsapp-phone-numbers/list-phone-numbers"},{"title":"Retrieve a phone number","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}","href":"/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number"},{"title":"Retrieve a phone number profile","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/profile","href":"/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number-profile"},{"title":"Update a phone number profile","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/profile","href":"/api-reference/whatsapp-phone-numbers/update-a-phone-number-profile"},{"title":"Update a phone number display name","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/displayName","href":"/api-reference/whatsapp-phone-numbers/update-a-phone-number-display-name"},{"title":"Retrieve commerce settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/whatsappCommerceSettings","href":"/api-reference/whatsapp-phone-numbers/retrieve-commerce-settings"},{"title":"Update commerce settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/whatsappCommerceSettings","href":"/api-reference/whatsapp-phone-numbers/update-commerce-settings"},{"title":"Register a phone number","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/register","href":"/api-reference/whatsapp-phone-numbers/register-a-phone-number"},{"title":"Retrieve phone number settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/settings","href":"/api-reference/whatsapp-phone-numbers/retrieve-phone-number-settings"},{"title":"Save phone number settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/settings","href":"/api-reference/whatsapp-phone-numbers/save-phone-number-settings"},{"title":"Retrieve a phone number business username","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername","href":"/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number-business-username"},{"title":"Retrieve phone number business username suggestions","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername/suggestions","href":"/api-reference/whatsapp-phone-numbers/retrieve-phone-number-business-username-suggestions"},{"title":"Update a phone number business username","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername","href":"/api-reference/whatsapp-phone-numbers/update-a-phone-number-business-username"},{"title":"Delete a phone number business username","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/businessUsername","href":"/api-reference/whatsapp-phone-numbers/delete-a-phone-number-business-username"},{"title":"Check a Meta contact book entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/contactBook/{bsuid}","href":"/api-reference/whatsapp-phone-numbers/check-a-meta-contact-book-entry"},{"title":"Delete a Meta contact book entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/phoneNumbers/{wabaId}/{phoneNumber}/contactBook/{bsuid}","href":"/api-reference/whatsapp-phone-numbers/delete-a-meta-contact-book-entry"}]},{"group":"WhatsApp Templates","pages":[{"title":"Create a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/templates","href":"/api-reference/whatsapp-templates/create-a-template"},{"title":"List templates","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/templates","href":"/api-reference/whatsapp-templates/list-templates"},{"title":"Retrieve WhatsApp template analytics","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/templates/analytics","href":"/api-reference/whatsapp-templates/retrieve-whatsapp-template-analytics"},{"title":"Delete templates by name","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/templates/{wabaId}/{name}","href":"/api-reference/whatsapp-templates/delete-templates-by-name"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/templates/{wabaId}/{name}/{language}","href":"/api-reference/whatsapp-templates/delete-a-template"},{"title":"Edit a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/templates/{wabaId}/{name}/{language}","href":"/api-reference/whatsapp-templates/edit-a-template"},{"title":"Retrieve a template","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/templates/{wabaId}/{name}/{language}","href":"/api-reference/whatsapp-templates/retrieve-a-template"}]},{"group":"WhatsApp Flows","pages":[{"title":"Create a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/flows","href":"/api-reference/whatsapp-flows/create-a-flow"},{"title":"List flows","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/flows","href":"/api-reference/whatsapp-flows/list-flows"},{"title":"Update flow metadata","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/flows/{flowId}/metadata","href":"/api-reference/whatsapp-flows/update-flow-metadata"},{"title":"Update flow structure","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /whatsapp/flows/{flowId}/assets","href":"/api-reference/whatsapp-flows/update-flow-structure"},{"title":"Delete a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /whatsapp/flows/{flowId}","href":"/api-reference/whatsapp-flows/delete-a-flow"},{"title":"Retrieve a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/flows/{flowId}","href":"/api-reference/whatsapp-flows/retrieve-a-flow"},{"title":"Publish a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/flows/{flowId}/publish","href":"/api-reference/whatsapp-flows/publish-a-flow"},{"title":"Deprecate a flow","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /whatsapp/flows/{flowId}/deprecate","href":"/api-reference/whatsapp-flows/deprecate-a-flow"},{"title":"generate a web preview URL with this flow.","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /whatsapp/flows/{flowId}/preview","href":"/api-reference/whatsapp-flows/generate-a-web-preview-url-with-this-flow"}]},{"group":"CTWA","pages":[{"title":"Submit a conversion event","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /ctwa/conversionEvents","href":"/api-reference/ctwa/submit-a-conversion-event"},{"title":"Submit conversion events","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /ctwa/conversionEvents/batch","href":"/api-reference/ctwa/submit-conversion-events"}]},{"group":"Balance","pages":[{"title":"Retrieve balance","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /balance","href":"/api-reference/balance/retrieve-balance"}]},{"group":"Contacts","pages":[{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /contact/contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Retrieve a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts/{id}","href":"/api-reference/contacts/retrieve-a-contact"},{"title":"List contact notes","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts/{contactIdentifier}/notes","href":"/api-reference/contacts/list-contact-notes"},{"title":"Create a contact note","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /contact/contacts/{contactIdentifier}/notes","href":"/api-reference/contacts/create-a-contact-note"},{"title":"Update a contact note","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /contact/notes/{noteId}","href":"/api-reference/contacts/update-a-contact-note"},{"title":"Delete a contact note","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /contact/notes/{noteId}","href":"/api-reference/contacts/delete-a-contact-note"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /contact/contacts/{id}","href":"/api-reference/contacts/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /contact/contacts/{id}","href":"/api-reference/contacts/delete-a-contact"},{"title":"List contact attributes","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /contact/contacts/attributes","href":"/api-reference/contacts/list-contact-attributes"}]},{"group":"Custom Events","pages":[{"title":"Create an event definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /event/definitions","href":"/api-reference/custom-events/create-an-event-definition"},{"title":"Retrieve an event definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /event/definitions/{name}","href":"/api-reference/custom-events/retrieve-an-event-definition"},{"title":"Update an event definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /event/definitions/{name}","href":"/api-reference/custom-events/update-an-event-definition"},{"title":"Create an event property definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /event/definitions/{name}/properties","href":"/api-reference/custom-events/create-an-event-property-definition"},{"title":"Update an event property definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /event/definitions/{name}/properties/{propertyName}","href":"/api-reference/custom-events/update-an-event-property-definition"},{"title":"Delete an event property definition","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /event/definitions/{name}/properties/{propertyName}","href":"/api-reference/custom-events/delete-an-event-property-definition"},{"title":"Send an event","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /event/events","href":"/api-reference/custom-events/send-an-event"}]},{"group":"Emails","pages":[{"title":"Send an email","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /emails","href":"/api-reference/emails/send-an-email"}]},{"group":"SMS","pages":[{"title":"Send an SMS","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /sms","href":"/api-reference/sms/send-an-sms"},{"title":"List SMS records","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /sms","href":"/api-reference/sms/list-sms-records"}]},{"group":"Unsubscribers","pages":[{"title":"Create an unsubscriber","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /unsubscribers","href":"/api-reference/unsubscribers/create-an-unsubscriber"},{"title":"List unsubscribers","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /unsubscribers","href":"/api-reference/unsubscribers/list-unsubscribers"},{"title":"List all unsubscribers by customer","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /unsubscribers/{customer}","href":"/api-reference/unsubscribers/list-all-unsubscribers-by-customer"},{"title":"Retrieve an unsubscriber","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /unsubscribers/{customer}/{channel}","href":"/api-reference/unsubscribers/retrieve-an-unsubscriber"},{"title":"Delete an unsubscriber","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /unsubscribers/{customer}/{channel}","href":"/api-reference/unsubscribers/delete-an-unsubscriber"}]},{"group":"Verify","pages":[{"title":"Start a verification","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /verify/verifications","href":"/api-reference/verify/start-a-verification"},{"title":"Check a verification","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /verify/verificationChecks","href":"/api-reference/verify/check-a-verification"}]},{"group":"Voices","pages":[{"title":"Send a voice code","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /voices","href":"/api-reference/voices/send-a-voice-code"},{"title":"List voice records","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /voices","href":"/api-reference/voices/list-voice-records"}]},{"group":"Webhook Endpoints","pages":[{"title":"Create a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /webhookEndpoints","href":"/api-reference/webhook-endpoints/create-a-webhook-endpoint"},{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /webhookEndpoints","href":"/api-reference/webhook-endpoints/list-webhook-endpoints"},{"title":"Retrieve a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml get /webhookEndpoints/{id}","href":"/api-reference/webhook-endpoints/retrieve-a-webhook-endpoint"},{"title":"Update a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml patch /webhookEndpoints/{id}","href":"/api-reference/webhook-endpoints/update-a-webhook-endpoint"},{"title":"Delete a webhook endpoint","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml delete /webhookEndpoints/{id}","href":"/api-reference/webhook-endpoints/delete-a-webhook-endpoint"},{"title":"Rotate a webhook endpoint secret","deprecated":null,"version":null,"openapi":"/openapi/endpoints/ycloud-api-v2.yaml post /webhookEndpoints/{id}/rotateSecret","href":"/api-reference/webhook-endpoints/rotate-a-webhook-endpoint-secret"}]},{"group":"Meta Business Agent","pages":[{"title":"Meta Business Agent overview","href":"/en/api-reference/meta-business-agents/overview"},{"group":"Configure","pages":[{"group":"Agent Knowledge - Business Info","pages":[{"title":"Get Business Info","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/businessInfo","href":"/api-reference/meta-business-agents/get-business-info"},{"title":"Replace Business Info","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/businessInfo","href":"/api-reference/meta-business-agents/replace-business-info"},{"title":"Delete Business Info","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/businessInfo","href":"/api-reference/meta-business-agents/delete-business-info"}]},{"group":"Agent Knowledge - FAQs","pages":[{"title":"List Faqs","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/faqs","href":"/api-reference/meta-business-agents/list-faqs"},{"title":"Create Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/faqs","href":"/api-reference/meta-business-agents/create-faq"},{"title":"Get Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/faqs/{faqId}","href":"/api-reference/meta-business-agents/get-faq"},{"title":"Update Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/faqs/{faqId}","href":"/api-reference/meta-business-agents/update-faq"},{"title":"Delete Faq","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/faqs/{faqId}","href":"/api-reference/meta-business-agents/delete-faq"}]},{"group":"Agent Knowledge - Files","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/files","href":"/api-reference/meta-business-agents/list-files"},{"title":"Upload File","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/files","href":"/api-reference/meta-business-agents/upload-file"},{"title":"Get File","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/files/{fileId}","href":"/api-reference/meta-business-agents/get-file"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/files/{fileId}","href":"/api-reference/meta-business-agents/delete-file"}]},{"group":"Agent Knowledge - Websites","pages":[{"title":"List Websites","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/websites","href":"/api-reference/meta-business-agents/list-websites"},{"title":"Create Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/websites","href":"/api-reference/meta-business-agents/create-website"},{"title":"Get Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/websites/{websiteId}","href":"/api-reference/meta-business-agents/get-website"},{"title":"Update Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/websites/{websiteId}","href":"/api-reference/meta-business-agents/update-website"},{"title":"Delete Website","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/websites/{websiteId}","href":"/api-reference/meta-business-agents/delete-website"}]},{"group":"Agent Skills","pages":[{"title":"List Skills","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/skills","href":"/api-reference/meta-business-agents/list-skills"},{"title":"Create Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/skills","href":"/api-reference/meta-business-agents/create-skill"},{"title":"Get Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/skills/{skillId}","href":"/api-reference/meta-business-agents/get-skill"},{"title":"Update Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/skills/{skillId}","href":"/api-reference/meta-business-agents/update-skill"},{"title":"Delete Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/skills/{skillId}","href":"/api-reference/meta-business-agents/delete-skill"}]},{"group":"UI Skills","pages":[{"title":"List UI Skills","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/uiSkills","href":"/api-reference/meta-business-agents/list-ui-skills"},{"title":"Create UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/uiSkills","href":"/api-reference/meta-business-agents/create-ui-skill"},{"title":"Get UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/uiSkills/{skillId}","href":"/api-reference/meta-business-agents/get-ui-skill"},{"title":"Update UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/uiSkills/{skillId}","href":"/api-reference/meta-business-agents/update-ui-skill"},{"title":"Delete UI Skill","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/uiSkills/{skillId}","href":"/api-reference/meta-business-agents/delete-ui-skill"}]},{"group":"Connector Tools","pages":[{"title":"List Connector Tools","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools","href":"/api-reference/meta-business-agents/list-connector-tools"},{"title":"Create Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools","href":"/api-reference/meta-business-agents/create-connector-tool"},{"title":"Get Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}","href":"/api-reference/meta-business-agents/get-connector-tool"},{"title":"Update Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}","href":"/api-reference/meta-business-agents/update-connector-tool"},{"title":"Delete Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}","href":"/api-reference/meta-business-agents/delete-connector-tool"},{"title":"Run Connector Tool","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors/{connectorId}/tools/{toolId}/runs","href":"/api-reference/meta-business-agents/run-connector-tool"}]},{"group":"Connectors","pages":[{"title":"List Connectors","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors","href":"/api-reference/meta-business-agents/list-connectors"},{"title":"Create Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors","href":"/api-reference/meta-business-agents/create-connector"},{"title":"Get Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}","href":"/api-reference/meta-business-agents/get-connector"},{"title":"Update Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json patch /metaBusinessAgents/{entityId}/connectors/{connectorId}","href":"/api-reference/meta-business-agents/update-connector"},{"title":"Refresh MCP Connector Tools","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/connectors/{connectorId}/refreshMCPTools","href":"/api-reference/meta-business-agents/refresh-mcp-connector-tools"},{"title":"Delete Connector","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/connectors/{connectorId}","href":"/api-reference/meta-business-agents/delete-connector"},{"title":"Upsert Connector Certificate","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/connectors/{connectorId}/credentials/certificate","href":"/api-reference/meta-business-agents/upsert-connector-certificate"},{"title":"Upsert Connector Api Key","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/connectors/{connectorId}/credentials/apiKey","href":"/api-reference/meta-business-agents/upsert-connector-api-key"},{"title":"Upsert Connector O Auth","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/connectors/{connectorId}/credentials/oauth","href":"/api-reference/meta-business-agents/upsert-connector-o-auth"},{"title":"List Connector Logs","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/connectors/{connectorId}/logs","href":"/api-reference/meta-business-agents/list-connector-logs"}]}]},{"group":"Delete Agent","pages":[{"title":"Delete Agent","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}","href":"/api-reference/meta-business-agents/delete-agent"}]},{"group":"Onboard","pages":[{"group":"Agent Allowlist","pages":[{"title":"List Allowlist","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/allowListEntries","href":"/api-reference/meta-business-agents/list-allowlist"},{"title":"Create Allowlist Entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/allowListEntries","href":"/api-reference/meta-business-agents/create-allowlist-entry"},{"title":"Delete Allowlist Entry","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json delete /metaBusinessAgents/{entityId}/allowListEntries/{entryId}","href":"/api-reference/meta-business-agents/delete-allowlist-entry"}]},{"group":"Agent Eligibility","pages":[{"title":"Check Eligibility","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/eligibility","href":"/api-reference/meta-business-agents/check-eligibility"}]},{"group":"Agent Onboarding","pages":[{"title":"Onboard Agent","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/onboarding","href":"/api-reference/meta-business-agents/onboard-agent"}]},{"group":"Agent Settings","pages":[{"title":"Get Settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/settings","href":"/api-reference/meta-business-agents/get-settings"},{"title":"Replace Settings","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/settings","href":"/api-reference/meta-business-agents/replace-settings"}]},{"group":"Agent Budgets","pages":[{"title":"Get Budgets","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/budgets","href":"/api-reference/meta-business-agents/get-budgets"},{"title":"Replace Budgets","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json put /metaBusinessAgents/{entityId}/budgets","href":"/api-reference/meta-business-agents/replace-budgets"}]}]},{"group":"Operate","pages":[{"group":"Agent Eval","pages":[{"title":"List Eval Cases","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evalCases","href":"/api-reference/meta-business-agents/list-eval-cases"},{"title":"Get Eval Summary","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evalSummaries","href":"/api-reference/meta-business-agents/get-eval-summary"},{"title":"Get Eval Details","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evals","href":"/api-reference/meta-business-agents/get-eval-details"},{"title":"Get Eval Run Status","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/evalRuns/{jobId}","href":"/api-reference/meta-business-agents/get-eval-run-status"},{"title":"Submit Eval Run","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/evalRuns","href":"/api-reference/meta-business-agents/submit-eval-run"}]},{"group":"Agent Event","pages":[{"title":"Submit Agent Event","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/events","href":"/api-reference/meta-business-agents/submit-agent-event"},{"title":"Get Agent Event Status","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/events/{agentEventId}","href":"/api-reference/meta-business-agents/get-agent-event-status"}]},{"group":"Agent Test","pages":[{"title":"Test Agent","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/tests","href":"/api-reference/meta-business-agents/test-agent"}]},{"group":"Conversation Turns","pages":[{"title":"Get Conversation Turns","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json get /metaBusinessAgents/{entityId}/conversationTurns","href":"/api-reference/meta-business-agents/get-conversation-turns"}]},{"group":"Thread Control (Cloud API)","pages":[{"title":"Control Thread","deprecated":null,"version":null,"openapi":"/openapi/endpoints/meta-business-agent-public.openapi.json post /metaBusinessAgents/{entityId}/threadControl","href":"/api-reference/meta-business-agents/control-thread"}]}]}]}]},{"group":"Webhook reference","pages":[{"group":"WhatsApp messages","pages":[{"title":"whatsapp.inbound_message.received","sidebarTitle":"inbound_message.received","href":"/en/api-reference/webhook-reference/whatsapp-inbound-message-received"},{"title":"whatsapp.message.updated","sidebarTitle":"message.updated","href":"/en/api-reference/webhook-reference/whatsapp-message-updated"},{"title":"whatsapp.user.preferences","sidebarTitle":"user.preferences","href":"/en/api-reference/webhook-reference/whatsapp-user-preferences"}]},{"group":"WhatsApp templates","pages":[{"title":"whatsapp.template.category_updated","sidebarTitle":"category_updated","href":"/en/api-reference/webhook-reference/whatsapp-template-category-updated"},{"title":"whatsapp.template.correct_category_detection","sidebarTitle":"correct_category_detection","href":"/en/api-reference/webhook-reference/whatsapp-template-correct-category-detection"},{"title":"whatsapp.template.quality_updated","sidebarTitle":"quality_updated","href":"/en/api-reference/webhook-reference/whatsapp-template-quality-updated"},{"title":"whatsapp.template.reviewed","sidebarTitle":"reviewed","href":"/en/api-reference/webhook-reference/whatsapp-template-reviewed"}]},{"group":"WhatsApp accounts","pages":[{"title":"whatsapp.business_account.deleted","sidebarTitle":"deleted","href":"/en/api-reference/webhook-reference/whatsapp-business-account-deleted"},{"title":"whatsapp.business_account.reviewed","sidebarTitle":"reviewed","href":"/en/api-reference/webhook-reference/whatsapp-business-account-reviewed"},{"title":"whatsapp.business_account.updated","sidebarTitle":"updated","href":"/en/api-reference/webhook-reference/whatsapp-business-account-updated"}]},{"group":"WhatsApp phone numbers","pages":[{"title":"whatsapp.phone_number.deleted","sidebarTitle":"deleted","href":"/en/api-reference/webhook-reference/whatsapp-phone-number-deleted"},{"title":"whatsapp.phone_number.name_updated","sidebarTitle":"name_updated","href":"/en/api-reference/webhook-reference/whatsapp-phone-number-name-updated"},{"title":"whatsapp.phone_number.quality_updated","sidebarTitle":"quality_updated","href":"/en/api-reference/webhook-reference/whatsapp-phone-number-quality-updated"},{"title":"whatsapp.phone_number.business_username_updated","sidebarTitle":"business_username_updated","description":"Occurs when a WhatsApp business phone number's Business Username is updated.","href":"/en/api-reference/webhook-reference/whatsapp-phone-number-business-username-updated"}]},{"group":"WhatsApp Business App","pages":[{"title":"whatsapp.smb.history","sidebarTitle":"smb.history","href":"/en/api-reference/webhook-reference/whatsapp-smb-history"},{"title":"whatsapp.smb.message.created","sidebarTitle":"smb.message.created","description":"Occurs when a message is sent from the WhatsApp Business App.","href":"/en/api-reference/webhook-reference/whatsapp-smb-message-created"},{"title":"whatsapp.smb.message.echoes","sidebarTitle":"smb.message.echoes","href":"/en/api-reference/webhook-reference/whatsapp-smb-message-echoes"}]},{"group":"WhatsApp Agents","pages":[{"title":"whatsapp.echo_message.created","sidebarTitle":"echo_message.created","href":"/en/api-reference/webhook-reference/whatsapp-echo-message-created"},{"title":"whatsapp.echo_message.updated","sidebarTitle":"echo_message.updated","href":"/en/api-reference/webhook-reference/whatsapp-echo-message-updated"},{"title":"whatsapp.meta_business_agent.handover.updated","sidebarTitle":"meta_business_agent.handover.updated","href":"/en/api-reference/webhook-reference/whatsapp-meta-business-agent-handover-updated"}]},{"group":"WhatsApp calls","pages":[{"title":"whatsapp.call.connect","sidebarTitle":"call.connect","href":"/en/api-reference/webhook-reference/whatsapp-call-connect"},{"title":"whatsapp.call.terminate","sidebarTitle":"call.terminate","href":"/en/api-reference/webhook-reference/whatsapp-call-terminate"},{"title":"whatsapp.call.status.updated","sidebarTitle":"call.status.updated","href":"/en/api-reference/webhook-reference/whatsapp-call-status-updated"},{"title":"whatsapp.call.recording.updated","sidebarTitle":"call.recording.updated","href":"/en/api-reference/webhook-reference/whatsapp-call-recording-updated"},{"title":"whatsapp.call.transcription.updated","sidebarTitle":"call.transcription.updated","href":"/en/api-reference/webhook-reference/whatsapp-call-transcription-updated"}]},{"group":"WhatsApp groups","pages":[{"title":"whatsapp.group.lifecycle_update","sidebarTitle":"lifecycle_update","href":"/en/api-reference/webhook-reference/whatsapp-group-lifecycle-update"},{"title":"whatsapp.group.participants_update","sidebarTitle":"participants_update","href":"/en/api-reference/webhook-reference/whatsapp-group-participants-update"},{"title":"whatsapp.group.settings_update","sidebarTitle":"settings_update","href":"/en/api-reference/webhook-reference/whatsapp-group-settings-update"},{"title":"whatsapp.group.status_update","sidebarTitle":"status_update","href":"/en/api-reference/webhook-reference/whatsapp-group-status-update"}]},{"group":"WhatsApp Flows and payments","pages":[{"title":"whatsapp.flow.status_change","sidebarTitle":"flow.status_change","href":"/en/api-reference/webhook-reference/whatsapp-flow-status-change"},{"title":"whatsapp.payment.updated","sidebarTitle":"payment.updated","href":"/en/api-reference/webhook-reference/whatsapp-payment-updated"}]},{"group":"Messenger","pages":[{"title":"messenger.inbound_message.received","sidebarTitle":"messenger.inbound_message.received","href":"/en/api-reference/webhook-reference/messenger-inbound-message-received"},{"title":"messenger.inbound_message.updated","sidebarTitle":"messenger.inbound_message.updated","href":"/en/api-reference/webhook-reference/messenger-inbound-message-updated"},{"title":"messenger.message.updated","sidebarTitle":"messenger.message.updated","href":"/en/api-reference/webhook-reference/messenger-message-updated"},{"title":"messenger.message_reaction.updated","sidebarTitle":"messenger.message_reaction.updated","href":"/en/api-reference/webhook-reference/messenger-message-reaction-updated"}]},{"group":"Contacts","pages":[{"title":"contact.attributes_changed","sidebarTitle":"attributes_changed","href":"/en/api-reference/webhook-reference/contact-attributes-changed"},{"title":"contact.created","sidebarTitle":"created","href":"/en/api-reference/webhook-reference/contact-created"},{"title":"contact.deleted","sidebarTitle":"deleted","href":"/en/api-reference/webhook-reference/contact-deleted"},{"title":"contact.unsubscribe.created","sidebarTitle":"unsubscribe.created","href":"/en/api-reference/webhook-reference/contact-unsubscribe-created"},{"title":"contact.unsubscribe.deleted","sidebarTitle":"unsubscribe.deleted","href":"/en/api-reference/webhook-reference/contact-unsubscribe-deleted"},{"title":"contact.note.created","sidebarTitle":"note.created","href":"/en/api-reference/webhook-reference/contact-note-created"},{"title":"contact.note.updated","sidebarTitle":"note.updated","href":"/en/api-reference/webhook-reference/contact-note-updated"},{"title":"contact.note.deleted","sidebarTitle":"note.deleted","href":"/en/api-reference/webhook-reference/contact-note-deleted"}]},{"group":"Email, SMS, and Voice","pages":[{"title":"email.delivery.updated","sidebarTitle":"email.delivery.updated","href":"/en/api-reference/webhook-reference/email-delivery-updated"},{"title":"sms.message.updated","sidebarTitle":"sms.message.updated","href":"/en/api-reference/webhook-reference/sms-message-updated"},{"title":"sms.inbound.received","sidebarTitle":"sms.inbound.received","href":"/en/api-reference/webhook-reference/sms-inbound-received"},{"title":"voice.message.updated","sidebarTitle":"voice.message.updated","href":"/en/api-reference/webhook-reference/voice-message-updated"}]}]}]},{"tab":"Partner Center","icon":"handshake","pages":[{"title":"Partner Center","href":"/en/partner-center/overview"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/webhook-reference/whatsapp-smb-history"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/webhook-reference/whatsapp-smb-history"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/api-reference/webhook-reference/whatsapp-smb-history"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/webhook-reference/whatsapp-smb-history"}]}]},"basePath":"","title":"whatsapp.smb.history - YCloud Docs","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":[],"chunks":[]}