sendgrid/sendgrid-python

Access the Email Activity API for a specific message using the python library

Skiem opened this issue · 1 comments

Skiem commented

How to access the Email Activity API for a specific message

Hi, a simple question which I couldn't find in the documentation.
How can I access the Email Activity API for a specific message using the python library?
To be precise, I want to make this type of API call: https://sendgrid.api-docs.io/v3.0/email-activity/filter-messages-by-message-id
But with the python library, which python function do I need to use for that?
Thanks in advance :)

Technical details:

  • sendgrid-python version: 6.7.0
  • python version: 3.9.0

Hi @Skiem, you would need to pass in the msg_id as a query parameter something like this. Let us know if that helps.