/emailtask/{id}/templates

Create an email task template.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates an email template which will act as a draft for an incoming email task.

curl -i -X PUT \
   -H "Authorization: Basic YOUR-USERNAME-AND-TOKEN-BASE64-ENCODED" \
   -H "Accept:application/json" \
 'https://my.surveypal.com/api/rest/emailtask/:id/templates?localeId=:localeId&recipients=:recipients&author=:author&replyTo=:replyTo&subject=:subject&message=:message&anonymous=:anonymous'
Path Params
int64
required

Email task id

Query Params
string
required

The language identifier. If survey doesn't contain specified language then request will fail. https://developer.surveypal.com/reference/locale-id-parameter

string
Defaults to current
string
Defaults to [email protected]

The email author name and email address.

string
Defaults to [email protected]

The email reply to address.

string
required

The email subject.

string

The email message.

boolean
Defaults to false

Hides email addresses in the results.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain