Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iglu-central/schemas /com.sendgrid/ does not seem to push through custom_Args #1417

Open
philimmo opened this issue Sep 25, 2024 · 0 comments

Comments

@philimmo
Copy link

philimmo commented Sep 25, 2024

If in the payload sent to the "send" API endpoint I add custom_args, then those custom_args do not seem to land into snowplow when the mail is sent, opened,.... Is there a way to adapt the schema so as to allow for custom_args?
This is an example of using custom_args:
curl -i \ -H "Authorization: Bearer SG.blala" \ -H "Content-Type: application/json" \ -X POST \ -d '{ "personalizations": [ { "to": [ { "email": "[email protected]" } ], "subject": "Hello, World!", "custom_args": { "imscmsgid": "ab", "yetanotherarg":"hélowôrld" } } ], "from": { "email": "[email protected]" }, "content": [ { "type": "text/plain", "value": "Hello, World!" } ] }' \ "https://api.sendgrid.com/v3/mail/send" \ -o response.txt

More details on custom_args can be found in https://www.twilio.com/docs/sendgrid/api-reference/mail-send/mail-send

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant