From ePrize Developers Wiki
(Difference between revisions)
(New page: TODO: explain mail delivery and the headers we enforce. reveal Exact Target? explain templated send model.) |
|||
(2 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | + | Send a predefined email to a user. | |
+ | |||
+ | These emails must be configured with your [[API Key]]. There are 3 types of emails that can be sent. The values for {template-id} are: | ||
+ | |||
+ | * win | ||
+ | * reg | ||
+ | * taf | ||
+ | |||
+ | 'win' is a win email. This will required a prize parameter in the request. 'taf' is a tell-a-friend email and will require the friend values in the request. 'reg' is a registration thank you email. All email will require the profile parameter to be sent. | ||
+ | |||
+ | <div class="api_table"> | ||
+ | {| | ||
+ | |- | ||
+ | | [[Send email]] | ||
+ | | POST | ||
+ | | /v1/{apikey}/email/{template-id} | ||
+ | |- | ||
+ | |} | ||
+ | </div> |
Current revision
Send a predefined email to a user.
These emails must be configured with your API Key. There are 3 types of emails that can be sent. The values for {template-id} are:
- win
- reg
- taf
'win' is a win email. This will required a prize parameter in the request. 'taf' is a tell-a-friend email and will require the friend values in the request. 'reg' is a registration thank you email. All email will require the profile parameter to be sent.
Send email | POST | /v1/{apikey}/email/{template-id} |