Alchemer

App · 25 actions

Create and manage Alchemer surveys, questions, share links and email campaigns, record and read responses and statistics, keep contact lists, and follow new and changed surveys and responses.

Actions

ActionWhat it does
Add campaign contactAdd a person to an email campaign, so they get its invitations.
Add contact to listAdd a person to a contact list.
Create campaignCreate a share link or an email campaign for a survey.
Create contact listCreate a contact list, to hold people to invite to surveys.
Create questionAdd a question to a page of a survey, with its answer options for a radio button, checkbox or dropdown question.
Create responseRecord a response to a survey with the answers given, such as one collected elsewhere.
Create surveyCreate an empty survey, form, poll or quiz.
Delete campaignDelete a share link or email campaign from a survey.
Delete contact listDelete a contact list.
Delete responseDelete a response from a survey.
Delete surveyDelete a survey with all its responses, links and reports.
Get accountGet the Alchemer account that's connected: its ID, organization and when it was created.
Get responseGet one response with every answer, its status, and where and when it was taken.
Get surveyGet a survey with its pages, questions and answer options.
Get survey statisticsGet each question's statistics: response counts, and for choice questions how many picked each option.
List campaign contactsList the contacts in an email campaign, with their invite links and whether each has been sent, started or finished the survey.
List campaignsList a survey's share links and email campaigns, with their addresses and status.
List contact listsList the account's contact lists.
List contacts in listList the contacts in a contact list.
List questionsList a survey's questions with their IDs, types, shortnames and answer options.
List responsesList a survey's responses with every answer, optionally only those with a status or submitted or changed in a time range.
List surveysList the account's surveys, forms, polls and quizzes, with their status, response counts and links.
Update campaignRename, close or reopen a share link or email campaign, change its dates, or add a contact list to an email campaign.
Update responseChange answers on a response, or its status.
Update surveyRename a survey, launch or close it, or move it to another team.

Add campaign contact

Add a person to an email campaign, so they get its invitations. Each contact gets their own invite link.

Inputs

Surveysurvey_idtextRequired
The survey.
Email campaigncampaign_idtextRequired
The email campaign.
Email addressemail_addresstextRequired
The contact's email address.
First namefirst_nametext
The contact's first name.
Last namelast_nametext
The contact's last name.
Organizationorganizationtext
The contact's organization.
Departmentdepartmenttext
The contact's department.
Job titletitletext
The contact's job title.
Work phonebusiness_phonetext
The contact's work phone.
Mobile phonemobilephonetext
The contact's mobile phone, for an SMS campaign.
Statusstatustext
Inactive unsubscribes the contact. Leave empty for Active.One of: Active, Inactive (Inactive (unsubscribed)).
Custom fieldscustom_fieldsobject
Values for the account's contact custom fields, by field name, such as {"customerid": "A-100"}.
Allow duplicatesallowdupetrue/false
Add the contact again even if the campaign already has this email address.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "business_phone": "example",
    "date_last_sent": "example",
    "department": "example",
    "email_address": "example",
    "first_name": "example",
    "id": 1,
    "invitelink": "example",
    "last_name": "example",
    "mobilephone": "example",
    "organization": "example",
    "status": "example",
    "subscriber_status": "example",
    "title": "example"
  }
}

Add contact to list

Add a person to a contact list.

Inputs

Contact listlist_idnumberRequired
The contact list.At least 1.
Email addressemail_addresstextRequired
The contact's email address.
First namefirst_nametext
The contact's first name.
Last namelast_nametext
The contact's last name.
Organizationorganizationtext
The contact's organization.
Departmentdepartmenttext
The contact's department.
Job titletitletext
The contact's job title.
Work phonebusiness_phonetext
The contact's work phone.
Citymailing_address_citytext
The contact's city.
Statemailing_address_statetext
The contact's state or region.
Postal codemailing_address_postaltext
The contact's postal or ZIP code.
Countrymailing_address_countrytext
The contact's country code, such as `US`.
Statusstatustext
Inactive unsubscribes the contact. Leave empty for Active.One of: Active, Inactive (Inactive (unsubscribed)).
Custom fieldscustom_fieldsobject
Values for the list's custom fields, by custom field ID, such as {"15": "Gold"}.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "business_phone": "example",
    "department": "example",
    "email_address": "example",
    "first_name": "example",
    "id": 1,
    "last_name": "example",
    "mailing_address_city": "example",
    "mailing_address_country": "example",
    "mailing_address_postal": "example",
    "mailing_address_state": "example",
    "organization": "example",
    "status": "example",
    "title": "example"
  }
}

Create campaign

Create a share link or an email campaign for a survey.

Inputs

Surveysurvey_idtextRequired
The survey.
TypetypetextRequired
How the survey is shared.One of: link (Web link), email (Email campaign), html (HTML embed), js (JavaScript embed), blog (Blog embed), iframe (Iframe embed), popup.
NamenametextRequired
The campaign's name.
Languagelanguagetext
The language of the survey people see, such as `English`, or `auto` to use their browser's language. Leave empty for auto.
Secure linksecuretrue/false
Use an https link.
Custom link endingslugtext
A custom ending for the link's address.
Link addresssubtypetext
What kind of address the link has. Leave empty for a standard link.One of: standard (Standard link), private (Private domain), shortlink (Short link), subdomain.
Private domainprivatenametext
Your private domain, such as `surveys.example.com`, when Link address is Private domain.
Subdomainsubdomaintext
Your subdomain, such as `mycompany`, when Link address is Subdomain.
Open datelink_open_datedate and time
When the link starts taking responses.
Close datelink_close_datedate and time
When the link stops taking responses.
URL variablestoken_variablesobject
URL variables added to the link, by name, such as {"source": "newsletter"}.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "SSL": "example",
    "date_created": "example",
    "date_modified": "example",
    "id": "example",
    "invite_id": "example",
    "language": "example",
    "limit_responses": "example",
    "link_close_date": "example",
    "link_open_date": "example",
    "link_type": "example",
    "name": "example",
    "status": "example",
    "subtype": "example",
    "token_variables": "example",
    "type": "example",
    "uri": "example"
  }
}

Create contact list

Create a contact list, to hold people to invite to surveys.

Inputs

List namelist_nametextRequired
The contact list's name.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "date_created": "example",
    "date_modified": "example",
    "id": 1,
    "list_name": "example",
    "user_id_created": 1,
    "user_id_modified": 1
  }
}

Create question

Add a question to a page of a survey, with its answer options for a radio button, checkbox or dropdown question.

Inputs

Surveysurvey_idtextRequired
The survey.
Pagepage_idtextRequired
The page to add the question to.
Question typetypetextRequired
The kind of question.One of: radio (Radio buttons (pick one)), checkbox (Checkboxes (pick any)), menu (Dropdown menu), text (Textbox), essay (Essay (long text)), email (Email campaign), hidden (Hidden value), instructions (Text and instructions).
QuestiontitletextRequired
The question's text.
Answer optionsoptionslist
The answers to choose from, for a radio button, checkbox or dropdown question.
Descriptiondescriptiontext
Help text shown with the question.
Shortnameshortnametext
A short name for the question, which Create response can use in place of its ID.
Requiredrequiredtrue/false
Respondents must answer before going on.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "id": 1,
    "options": [
      {
        "id": "example",
        "title": "example",
        "value": "example"
      }
    ],
    "properties": {},
    "shortname": "example",
    "title": {},
    "type": "example"
  }
}

Create response

Record a response to a survey with the answers given, such as one collected elsewhere.

Inputs

Surveysurvey_idtextRequired
The survey.
AnswersanswersobjectRequired
Answers by question ID or shortname. A text answer is the text; a choice is an object of option IDs and their values, such as {"10001": "Yes"}.
Statusstatustext
The response's status. Leave empty for Complete.One of: Complete, Partial, Disqualified.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "city": "example",
    "contact_id": "example",
    "country": "example",
    "date_started": "example",
    "date_submitted": "example",
    "date_updated": "example",
    "id": "example",
    "ip_address": "example",
    "is_test_data": "example",
    "language": "example",
    "link_id": "example",
    "postal": "example",
    "referer": "example",
    "region": "example",
    "session_id": "example",
    "status": "example",
    "survey_data": {},
    "url_variables": {},
    "user_agent": "example"
  }
}

Create survey

Create an empty survey, form, poll or quiz. Alchemer adds a first page and a thank-you page.

Inputs

TitletitletextRequired
The survey's title.
TypetypetextRequired
What to create.One of: survey, form, poll, quiz.
Statusstatustext
The survey's status. Leave empty for Alchemer's default.One of: Launched (Launched (open for responses)), Closed.
Teamsurvey_team_idtext
The team that owns the survey. Leave empty for your default team.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "created_on": "example",
    "forward_only": true,
    "id": "example",
    "internal_title": "example",
    "languages": [
      "example"
    ],
    "links": {
      "campaign": "example",
      "default": "example",
      "edit": "example",
      "publish": "example"
    },
    "modified_on": "example",
    "pages": [
      {
        "id": 1,
        "properties": {},
        "questions": [
          {
            "base_type": "example",
            "id": 1,
            "options": [
              {
                "id": 1,
                "properties": {},
                "title": {},
                "value": "example"
              }
            ],
            "properties": {},
            "shortname": "example",
            "title": {},
            "type": "example"
          }
        ],
        "title": {}
      }
    ],
    "statistics": {},
    "status": "example",
    "team": [
      {
        "id": "example",
        "name": "example"
      }
    ],
    "theme": "example",
    "title": "example",
    "type": "example"
  }
}

Delete campaign

Delete a share link or email campaign from a survey. This can't be undone.

Inputs

Surveysurvey_idtextRequired
The survey.
Campaigncampaign_idtextRequired
The share link or email campaign.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "result_ok": true
  }
}

Delete contact list

Delete a contact list. This can't be undone.

Inputs

Contact listlist_idnumberRequired
The contact list.At least 1.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "result_ok": true
  }
}

Delete response

Delete a response from a survey. This can't be undone.

Inputs

Surveysurvey_idtextRequired
The survey.
Response IDresponse_idtextRequired
The response's ID, such as one from List responses or a trigger.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "result_ok": true
  }
}

Delete survey

Delete a survey with all its responses, links and reports. This can't be undone.

Inputs

Surveysurvey_idtextRequired
The survey.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "result_ok": true
  }
}

Get account

Get the Alchemer account that's connected: its ID, organization and when it was created.

Inputs

None.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "contact_phone": "example",
    "date_created": "example",
    "id": 1,
    "login_link": "example",
    "organization": "example",
    "reseller": true
  }
}

Get response

Get one response with every answer, its status, and where and when it was taken.

Inputs

Surveysurvey_idtextRequired
The survey.
Response IDresponse_idtextRequired
The response's ID, such as one from List responses or a trigger.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "city": "example",
    "contact_id": "example",
    "country": "example",
    "date_started": "example",
    "date_submitted": "example",
    "date_updated": "example",
    "id": "example",
    "ip_address": "example",
    "is_test_data": "example",
    "language": "example",
    "link_id": "example",
    "postal": "example",
    "referer": "example",
    "region": "example",
    "session_id": "example",
    "status": "example",
    "survey_data": {},
    "url_variables": {},
    "user_agent": "example"
  }
}

Get survey

Get a survey with its pages, questions and answer options. Question and option IDs here are what Create response takes.

Inputs

Surveysurvey_idtextRequired
The survey.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "created_on": "example",
    "forward_only": true,
    "id": "example",
    "internal_title": "example",
    "languages": [
      "example"
    ],
    "links": {
      "campaign": "example",
      "default": "example",
      "edit": "example",
      "publish": "example"
    },
    "modified_on": "example",
    "pages": [
      {
        "id": 1,
        "properties": {},
        "questions": [
          {
            "base_type": "example",
            "id": 1,
            "options": [
              {
                "id": 1,
                "properties": {},
                "title": {},
                "value": "example"
              }
            ],
            "properties": {},
            "shortname": "example",
            "title": {},
            "type": "example"
          }
        ],
        "title": {}
      }
    ],
    "statistics": {},
    "status": "example",
    "team": [
      {
        "id": "example",
        "name": "example"
      }
    ],
    "theme": "example",
    "title": "example",
    "type": "example"
  }
}

Get survey statistics

Get each question's statistics: response counts, and for choice questions how many picked each option.

Inputs

Surveysurvey_idtextRequired
The survey.
Pagepage_idnumber
Only the questions on this page.At least 1.
Question IDquestion_idnumber
Only this question.At least 1.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "average": "example",
        "breakdown": [
          {
            "count": "example",
            "label": "example",
            "percentage": "example"
          }
        ],
        "id": 1,
        "max": "example",
        "min": "example",
        "stdDev": "example",
        "sum": "example",
        "total responses": "example",
        "type": "example"
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

List campaign contacts

List the contacts in an email campaign, with their invite links and whether each has been sent, started or finished the survey.

Inputs

Surveysurvey_idtextRequired
The survey.
Email campaigncampaign_idtextRequired
The email campaign.
Pagepagenumber
Which page of results to return. Leave empty for the first.At least 1.
Results per pageresults_per_pagenumber
How many results to return on a page, up to 500. Leave empty for 50.From 1 to 500.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "business_phone": "example",
        "date_last_sent": "example",
        "department": "example",
        "email_address": "example",
        "first_name": "example",
        "id": 1,
        "invitelink": "example",
        "last_name": "example",
        "mobilephone": "example",
        "organization": "example",
        "status": "example",
        "subscriber_status": "example",
        "title": "example"
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

List campaigns

List a survey's share links and email campaigns, with their addresses and status.

Inputs

Surveysurvey_idtextRequired
The survey.
Pagepagenumber
Which page of results to return. Leave empty for the first.At least 1.
Results per pageresults_per_pagenumber
How many results to return on a page, up to 500. Leave empty for 50.From 1 to 500.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "SSL": "example",
        "date_created": "example",
        "date_modified": "example",
        "id": "example",
        "invite_id": "example",
        "language": "example",
        "limit_responses": "example",
        "link_close_date": "example",
        "link_open_date": "example",
        "link_type": "example",
        "name": "example",
        "status": "example",
        "subtype": "example",
        "token_variables": "example",
        "type": "example",
        "uri": "example"
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

List contact lists

List the account's contact lists.

Inputs

Pagepagenumber
Which page of results to return. Leave empty for the first.At least 1.
Results per pageresults_per_pagenumber
How many results to return on a page, up to 500. Leave empty for 50.From 1 to 500.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "date_created": "example",
        "date_modified": "example",
        "id": 1,
        "list_name": "example",
        "user_id_created": 1,
        "user_id_modified": 1
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

List contacts in list

List the contacts in a contact list.

Inputs

Contact listlist_idnumberRequired
The contact list.At least 1.
Pagepagenumber
Which page of results to return. Leave empty for the first.At least 1.
Results per pageresults_per_pagenumber
How many results to return on a page, up to 500. Leave empty for 50.From 1 to 500.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "business_phone": "example",
        "department": "example",
        "email_address": "example",
        "first_name": "example",
        "id": 1,
        "last_name": "example",
        "mailing_address_city": "example",
        "mailing_address_country": "example",
        "mailing_address_postal": "example",
        "mailing_address_state": "example",
        "organization": "example",
        "status": "example",
        "title": "example"
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

List questions

List a survey's questions with their IDs, types, shortnames and answer options.

Inputs

Surveysurvey_idtextRequired
The survey.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "base_type": "example",
        "id": 1,
        "options": [
          {
            "id": 1,
            "properties": {},
            "title": {},
            "value": "example"
          }
        ],
        "properties": {},
        "shortname": "example",
        "title": {},
        "type": "example"
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

List responses

List a survey's responses with every answer, optionally only those with a status or submitted or changed in a time range.

Inputs

Surveysurvey_idtextRequired
The survey.
Statusstatustext
Only responses with this status.One of: Complete, Partial, Disqualified.
Submitted sincesubmitted_sincedate and time
Only responses submitted at or after this time.
Submitted beforesubmitted_beforedate and time
Only responses submitted before this time.
Changed sinceupdated_sincedate and time
Only responses changed at or after this time.
Leave out test responsesexclude_test_datatrue/false
Leave out responses marked as test data.
Orderorder_bytext
The order to list them in. Leave empty for oldest submitted first.One of: -date_submitted (Newest submitted first), date_submitted (Oldest submitted first), -date_updated (Most recently changed first), date_updated (Least recently changed first).
Pagepagenumber
Which page of results to return. Leave empty for the first.At least 1.
Results per pageresults_per_pagenumber
How many results to return on a page, up to 500. Leave empty for 50.From 1 to 500.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "city": "example",
        "contact_id": "example",
        "country": "example",
        "date_started": "example",
        "date_submitted": "example",
        "date_updated": "example",
        "id": "example",
        "ip_address": "example",
        "is_test_data": "example",
        "language": "example",
        "link_id": "example",
        "postal": "example",
        "referer": "example",
        "region": "example",
        "session_id": "example",
        "status": "example",
        "survey_data": {},
        "url_variables": {},
        "user_agent": "example"
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

List surveys

List the account's surveys, forms, polls and quizzes, with their status, response counts and links.

Inputs

Statusstatustext
Only surveys with this status.One of: Launched (Launched (open for responses)), Closed.
Teamsurvey_team_idtext
Only surveys this team owns.
Created sincecreated_sincedate and time
Only surveys created at or after this time.
Changed sincemodified_sincedate and time
Only surveys changed at or after this time.
Pagepagenumber
Which page of results to return. Leave empty for the first.At least 1.
Results per pageresults_per_pagenumber
How many results to return on a page, up to 500. Leave empty for 50.From 1 to 500.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "page": 1,
    "results": [
      {
        "created_on": "example",
        "id": "example",
        "links": {
          "campaign": "example",
          "default": "example",
          "edit": "example",
          "publish": "example"
        },
        "modified_on": "example",
        "statistics": {},
        "status": "example",
        "team": "example",
        "title": "example",
        "type": "example"
      }
    ],
    "results_per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}

Update campaign

Rename, close or reopen a share link or email campaign, change its dates, or add a contact list to an email campaign.

Inputs

Surveysurvey_idtextRequired
The survey.
Campaigncampaign_idtextRequired
The share link or email campaign.
Namenametext
The campaign's new name.
Statusstatustext
Closed stops it taking responses.One of: active, closed.
Languagelanguagetext
The language of the survey people see, such as `English`, or `auto` to use their browser's language. Leave empty for auto.
Secure linksecuretrue/false
Use an https link.
Custom link endingslugtext
A custom ending for the link's address.
Link addresssubtypetext
What kind of address the link has. Leave empty for a standard link.One of: standard (Standard link), private (Private domain), shortlink (Short link), subdomain.
Private domainprivatenametext
Your private domain, such as `surveys.example.com`, when Link address is Private domain.
Subdomainsubdomaintext
Your subdomain, such as `mycompany`, when Link address is Subdomain.
Open datelink_open_datedate and time
When the link starts taking responses.
Close datelink_close_datedate and time
When the link stops taking responses.
URL variablestoken_variablesobject
URL variables added to the link, by name, such as {"source": "newsletter"}.
Add contact listcontact_listnumber
For an email campaign: a contact list whose contacts to add to it.At least 1.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "SSL": "example",
    "date_created": "example",
    "date_modified": "example",
    "id": "example",
    "invite_id": "example",
    "language": "example",
    "limit_responses": "example",
    "link_close_date": "example",
    "link_open_date": "example",
    "link_type": "example",
    "name": "example",
    "status": "example",
    "subtype": "example",
    "token_variables": "example",
    "type": "example",
    "uri": "example"
  }
}

Update response

Change answers on a response, or its status. Answers left out stay as they are.

Inputs

Surveysurvey_idtextRequired
The survey.
Response IDresponse_idtextRequired
The response's ID, such as one from List responses or a trigger.
AnswersanswersobjectRequired
Answers by question ID or shortname. A text answer is the text; a choice is an object of option IDs and their values, such as {"10001": "Yes"}.
Statusstatustext
The response's new status.One of: Complete, Partial, Disqualified.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "city": "example",
    "contact_id": "example",
    "country": "example",
    "date_started": "example",
    "date_submitted": "example",
    "date_updated": "example",
    "id": "example",
    "ip_address": "example",
    "is_test_data": "example",
    "language": "example",
    "link_id": "example",
    "postal": "example",
    "referer": "example",
    "region": "example",
    "session_id": "example",
    "status": "example",
    "survey_data": {},
    "url_variables": {},
    "user_agent": "example"
  }
}

Update survey

Rename a survey, launch or close it, or move it to another team. Only the fields filled in change.

Inputs

Surveysurvey_idtextRequired
The survey.
Titletitletext
The survey's new title.
Statusstatustext
Launched takes responses; Closed stops them.One of: Launched (Launched (open for responses)), Closed.
Teamsurvey_team_idtext
Move the survey to this team.

Outputs

dataobject
The response from Alchemer.
Example output
{
  "data": {
    "created_on": "example",
    "forward_only": true,
    "id": "example",
    "internal_title": "example",
    "languages": [
      "example"
    ],
    "links": {
      "campaign": "example",
      "default": "example",
      "edit": "example",
      "publish": "example"
    },
    "modified_on": "example",
    "pages": [
      {
        "id": 1,
        "properties": {},
        "questions": [
          {
            "base_type": "example",
            "id": 1,
            "options": [
              {
                "id": 1,
                "properties": {},
                "title": {},
                "value": "example"
              }
            ],
            "properties": {},
            "shortname": "example",
            "title": {},
            "type": "example"
          }
        ],
        "title": {}
      }
    ],
    "statistics": {},
    "status": "example",
    "team": [
      {
        "id": "example",
        "name": "example"
      }
    ],
    "theme": "example",
    "title": "example",
    "type": "example"
  }
}

On this page