Skip to content

Inquiry Regarding Sending Notifications email Using only Sunbird Backend #196

Discussion options

You must be logged in to vote

@ManojNathIC If you have to send emails to users, you can send the same using the below API, but before that, you have to do the below configuration setup,
https://lern.sunbird.org/use/developer-guide/user-and-org-service/configuration/email-notification-configuration
curl --location '{{host}}/api/user/v1/notification/email'
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--header 'Authorization: {{kong_api_key}}'
--data-raw '{
"request": {
"mode": "email",
"body": "",
"fromEmail": "",
"emailTemplateType": "",
"subject": "",
"recipientUserIds": [
"2b9651e9-c57b-44d0-8da0-23f03ded296f"
]
}
}'

please try this and let us know if you face any difficulties.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ManojNathIC
Comment options

Answer selected by ManojNathIC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Query
Labels
None yet
2 participants