Send the welcome email after signup
post
https://api.expiryedge.com/v1/sendWelcomeEmailPublic, optional bearer token (Firebase ID token)60/min
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/sendWelcomeEmail' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "sam.lee@northwinddental.com",
"firstName": "Sam",
"lastName": "Lee"
}'Antwort
{
"message": "Welcome email sent successfully."
}With a token the email goes to the token's own address; without one it is only sent
when email belongs to an account created in the last 30 minutes. At most one welcome email per account.
Ineligible or already-welcomed addresses get the same 200 without an email being sent.
emailstringerforderlichformat: emailfirstNamestringFallback only; the saved profile name wins.lastNamestring
200
Accepted (sent, or silently skipped when ineligible).
messagestringerforderlich
400 | The request is missing required fields or contains invalid values. |
401 | Missing, expired or invalid bearer token. |
405 | The endpoint does not accept this HTTP method. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | Unexpected server error. Retry later; quote requestId to support. |
