Logo PopinaPopina API

Post Send Report By Email

This endpoint is used to send a report duplicate by email to all users that can and want to receive the report based on the report Id.

POST/v1/send-report-by-email/
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

reportIdstring
Formatuuid
locale?string
Default"fr"
Value in"fr" | "en"

Response Body

application/json

application/json

curl -X POST "http://localhost:4009/v1/send-report-by-email/" \  -H "Content-Type: application/json" \  -d '{    "reportId": "E75060FC-668D-4B54-AD90-355E3238C7C6",    "locale": "fr"  }'
{
  "message": "Report successfully sent",
  "reportId": "6D280BB4-A0BC-4946-B484-CEDE6FF38630"
}
{
  "message": "Error while sending report"
}