mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-19 05:25:19 +00:00
Commit from m3o/m3o action
This commit is contained in:
11
curl/user/sendVerificationEmail/sendVerificationEmail.sh
Executable file
11
curl/user/sendVerificationEmail/sendVerificationEmail.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
curl "https://api.m3o.com/v1/user/SendVerificationEmail" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer $M3O_API_TOKEN" \
|
||||
-d '{
|
||||
"email": "joe@example.com",
|
||||
"failureRedirectUrl": "https://m3o.com/verification-failed",
|
||||
"fromName": "Awesome Dot Com",
|
||||
"redirectUrl": "https://m3o.com",
|
||||
"subject": "Email verification",
|
||||
"textContent": "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link"
|
||||
}'
|
||||
Reference in New Issue
Block a user