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

API endpoint for data download from dashboard #1199

Closed
jidicula opened this issue Dec 24, 2020 · 3 comments
Closed

API endpoint for data download from dashboard #1199

jidicula opened this issue Dec 24, 2020 · 3 comments
Assignees

Comments

@jidicula
Copy link

Thanks for creating this tool! My team over at Digital HR in DND use this for our apps. We were wondering if it's possible for your team to also create an API endpoint for the report download (see attached). We would like to keep more persistent logs of which emails are being sent when and to who, and setting up a cronjob to query the API every 7 days would be ideal, rather than manually downloading the CSV each time.

Alternatively, do you have a better suggestion using existing functionality that might help us with our logging needs?

image

@AntoineAugusti
Copy link
Contributor

Hello @jidicula!

Notify has a callback/webhook functionality: Notify can send a POST HTTP request to an endpoint you specify with a delivery receipt for each email/text message sent.

The documentation for that is accessible at https://notification.canada.ca/callbacks once you're signed in:
Screen Shot 2020-12-24 at 16 13 39

Do you mind getting in touch with us at https://notification.canada.ca/contact to chat with your team after the holidays?

@jidicula
Copy link
Author

Great, I'll look into this, thanks!

And I'll definitely be in touch in the new year! Have a great holiday!

@AntoineAugusti AntoineAugusti self-assigned this Dec 25, 2020
@jidicula
Copy link
Author

@AntoineAugusti I just sent a message via the form, hope to chat soon!

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

2 participants