perform_action sets what the batch does: create, update ordelete.bulk_action_log_uuid. Poll bulk_action_logs?uuid= forcallback_url. Only one batch at a time runs on a WhatsAppAuthorization: ********************{
"whatsapp_number": "{{whatsapp_number}}",
"callback_url": "https://webhook.url",
"perform_action": "create",
"chat_intros": [
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference001",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference002",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference003",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference004",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference005",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference006",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference007",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference008",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference009",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'm interested in\nReference: {{reference_id}}",
"reference_id": "reference010",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'm following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
}
]
}curl --location 'https://api.sudonum.com/v2/whatsapp/chat-intros/bulk_action/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"whatsapp_number": "{{whatsapp_number}}",
"callback_url": "https://webhook.url",
"perform_action": "create",
"chat_intros": [
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference001",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference002",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference003",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference004",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference005",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference006",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference007",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference008",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference009",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
},
{
"payload": {
"expected_message_template": "I'\''m interested in\nReference: {{reference_id}}",
"reference_id": "reference010",
"reply_message_template": "Thank you! We will now contact the {{AgencyName}} on your behalf and they will contact you.",
"intro_message_template": "I'\''m following up about your enquiry regarding the {{PropertyName}}. \n\n{{Link}}\n\nIs this a convenient time to chat?",
"notify_type": "WHATSAPP",
"notify_to_phone_number": "{{destination_number}}",
"notify_whatsapp_template_name": "template_to_agent",
"notify_whatsapp_template_components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "{{AgentName}}"
},
{
"type": "text",
"text": "{{PropertyName}}"
},
{
"type": "text",
"text": "{{Price}}"
},
{
"type": "text",
"text": "{{lead_type}}"
},
{
"type": "text",
"text": "{{EnquiryType}}"
},
{
"type": "text",
"text": "{{Link}}"
}
]
},
{
"type": "button",
"sub_type": "url",
"parameters": [
{
"type": "text",
"text": "{{intro_chat_shortcode}}"
}
]
}
],
"bparty_expiry_link": false,
"extra_variable_data": {
"AgencyName": "AgencyName",
"AgentName": "AgentName",
"PropertyName": "123 fake street",
"Price": "POA",
"PropertyType": "Office",
"Link": "http://www.sudonum.com",
"lead_type": "standard",
"EnquiryType": "For Sale",
"APartyDataContactName": " ",
"APartyDataContactPhonenumber": " "
}
}
}
]
}'bulk_action_logs?uuid= or wait for the callback.{
"bulk_action_log_uuid": "123e4567-e89b-12d3-a456-426614174000",
"perform_action": "create",
"item_count": 10
}