Hey folks 👋 — I’m working on an integration using the /campaigns/trigger/send endpoint and wanted to share something I ran into.
Here’s a sample payload I’m sending:
{
"campaign_id": "d44eaedf-bd07-4a95-881f-3c1662796a96",
"recipients": [
{
"external_user_id": "{{HASHED_EMAIL_ADDRESS}}",
"prioritization": ["unidentified"],
"send_to_existing_only": false,
"attributes": {
"email": "{{EMAIL_ADDRESS}}"
}
}
]
}
And here’s the response I’m getting back:
{
"dispatch_id": "687e7579a602835baed3e4868af9c06e",
"message": "success"
}
Love that it’s working, but…
It would be incredibly helpful if the response also included the Braze User ID (braze_id) that the message was sent to.
In use cases where we’re sending to partially identified users or passing in attributes dynamically, it’d be really valuable to get confirmation of the user object Braze resolved to. This would help with:
- Debugging user identity issues
- Verifying merge behavior when using prioritization
- Logging and downstream analytics
- Ensuring consistency across systems (especially when using Braze as source-of-truth for user resolution)
Could Braze consider optionally including the braze_id in the response when the user resolution is successful?
Curious if anyone else has tackled this — or has a good workaround? Would love to hear your thoughts.
Thanks!
J