Send email
From ePrize Developers Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
+ | {{Logo}} | ||
<pre>Request representation: | <pre>Request representation: | ||
profile: {profile}, | profile: {profile}, |
Revision as of 17:14, 24 April 2009
Request representation: profile: {profile}, prize: {prize}, friendName: {friend-name} friendEmail: {friend-email} Response: 200 OK Response on invalid or missing fields: 400 Bad Request Response if limit reached or security violation: 403 Forbidden
The prize and friend keys are optional, but if the template requires them, the request may fail.
Email templates must conform to ePrize standards. Client defined templates are not supported. In addition, email delivery limits are enforced by ePrize and are not under client control. This API is a request to deliver an email, not a guaranteed email delivery system.
The valid {template-id}s at launch are: reg, win, and taf.