How to pass CRQID in WhatsApp?
CRQID at Root Level
curl --location 'https://control.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/bulk/ \
--header 'Content-Type: application/json' \
--header 'authkey: 27XXXXXXXXXXXXXX' \
--data '{
"integrated_number": "your integrated number",
"content_type": "template",
"CRQID": "Main_Test_Campaign",
"payload": {
"messaging_product": "whatsapp",
"type": "template",
"template": {
"name": "fddsfds",
"language": {
"code": "en",
"policy": "deterministic"
},
"namespace": "338cef55_a0f8_4b2e_97f4_e030XXXX27",
"to_and_components": [
{
"to": ["919XXXXXXXXX"],
"components": {}
},
{
"to": ["918XXXXXXXXX"],
"components": {}
}
]
}
}
}'
CRQID at the Recipient Level
curl --location 'https://control.msg91.com/api/v5/whatsapp/whatsapp-outbound-message/bulk/' \
--header 'Content-Type: application/json' \
--header 'authkey: 27XXXXXXXXXXXXXXX' \
--data '{
"integrated_number": "your integrated number",
"content_type": "template",
"payload": {
"messaging_product": "whatsapp",
"type": "template",
"template": {
"name": "fddsfds",
"language": {
"code": "en",
"policy": "deterministic"
},
"namespace": "338cef55_a0f8_4b2e_97f4_e03XXXX4927",
"to_and_components": [
{
"to": ["919XXXXXXXXX"],
"components": {},
"CRQID": "User_001"
},
{
"to": ["918XXXXXXXXX"],
"components": {},
"CRQID": "User_002"
}
]
}
}
}'