Mailgun events api not returning results for recipient -



Mailgun events api not returning results for recipient -

i'm trying retrieve "store" events particular user. if supply "recipient" parameter (or "to" parameter) empty results. if don't supply parameters store events, not ones i'm interested in. sample code (csharp using restsharp):

restclient client = new restclient("https://api.mailgun.net/v2"); client.authenticator = new httpbasicauthenticator("api", "my-key"); restrequest req = new restrequest(); req.addparameter("domain", "mydomain.com", parametertype.urlsegment); req.resource = "{domain}/events"; req.addparameter("event", "stored"); // neither of next work // req.addparameter("recipient", "email@mydomain.com"); req.addparameter("to", "email@mydomain.com"); irestresponse response = client.execute(req);

additional info: if don't supply "event" parameter , supply "recipient" parameter "accept" event, not "stored" event.

how list of "stored" events particular user?

you should open ticket https://mailgun.com/cp/support , study behaviour, don't think intended.

mailgun

Comments

Popular posts from this blog

php - How to pass multiple values from url -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -