Acoustic Campaign

App · 22 actions

Add, update and opt out Acoustic Campaign contacts, manage contact lists, start programs, send autoresponders, read mailing results, and follow new sends, lists and programs.

Actions

ActionWhat it does
Add contactAdd a contact to a database, or update them if they are already in it, with field values and contact lists.
Add contact to contact listAdd a contact already in the list's database to a contact list, by email address.
Add contact to programStart a contact at the beginning of a program.
Add or update relational table rowsAdd rows to a relational table, such as purchases, or update the rows with the same key.
Confirm double opt-inConfirm a contact who signed up to a double opt-in database, with any field values to save.
Create contact listCreate a contact list in a database.
Delete contact listDelete a contact list that no program, form or other asset uses.
Get contactGet a contact's ID, opt-in and opt-out dates, field values and contact lists, by email address.
Get data job statusGet whether a background data job, such as an import or export, is waiting, running, complete or failed.
Get databaseGet a database's size, opt-outs, key fields and every field's name and type.
Get mailing metricsGet a sent mailing's totals: sends, bounces, opens, clicks, opt-outs, conversions and more.
List contact's mailingsList the mailings a contact was sent from a database, with their opens, clicks, bounces and opt-outs.
List contact's programsList the programs a contact is or was in, for one database.
List databasesList the databases, contact lists, queries or relational tables you can see.
List mailing templatesList the saved mailing templates, optionally only those changed in a date range.
List programsList the automated programs, optionally only active or inactive ones, for one database or created in a date range.
List sent mailingsList the mailings your organization sent in a date range, with their report IDs and send counts.
List sent mailings for databaseList the mailings sent to one database in a date range.
Opt out contactOpt a contact out of a database, so they get no more of its mailings.
Remove contactRemove a contact from a database with their data, or only from a contact list.
Send autoresponder to contactSend a custom-event autoresponder to one contact.
Update contactChange a contact's email address or field values, or resubscribe them.

Add contact

Add a contact to a database, or update them if they are already in it, with field values and contact lists.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
EmailemailtextRequired
The contact's email address.
Fieldscolumnsobject
Values for the database's fields, each a field name with its value, such as `First Name`: `Ann`. Get database shows the field names.
Contact listscontact_list_idslist
Contact lists to add the contact to as well.
Update if foundupdate_if_foundtrue/false
Off to leave an existing contact as they are. Leave empty to update them.
Send autorespondersend_autoreplytrue/false
On to send the database's confirmation autoresponder, if it has one.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "ORGANIZATION_ID": "example",
    "RECIPIENTID": "example",
    "SUCCESS": "example"
  }
}

Add contact to contact list

Add a contact already in the list's database to a contact list, by email address.

Inputs

Contact listcontact_list_idnumberRequired
The contact list.At least 1.
EmailemailtextRequired
The contact's email address.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "SUCCESS": "example"
  }
}

Add contact to program

Start a contact at the beginning of a program. Get contact gives the contact's ID.

Inputs

Programprogram_idnumberRequired
The program.At least 1.
Contact IDcontact_idtextRequired
The contact's ID (RecipientId), which Get contact and Add contact return.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "SUCCESS": "example"
  }
}

Add or update relational table rows

Add rows to a relational table, such as purchases, or update the rows with the same key.

Inputs

Relational tabletable_idnumberRequired
The relational table.At least 1.
RowsrowslistRequired
The rows, each a set of column names with their values, such as `Order Id`: `1234`.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "FAILURES": [
      {}
    ],
    "SUCCESS": "example"
  }
}

Confirm double opt-in

Confirm a contact who signed up to a double opt-in database, with any field values to save.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
EmailemailtextRequired
The contact's email address.
Fieldscolumnsobject
Values for the database's fields, each a field name with its value, such as `First Name`: `Ann`. Get database shows the field names.
Send autorespondersend_autoreplytrue/false
On to send the database's confirmation autoresponder, if it has one.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "ORGANIZATION_ID": "example",
    "RECIPIENTID": "example",
    "SUCCESS": "example"
  }
}

Create contact list

Create a contact list in a database.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
NamenametextRequired
The contact list's name.
Visibilityvisibilitytext
Shared with your organization, or private to you. Leave empty for shared.One of: 0 (Private), 1 (Shared).

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "CONTACT_LIST_ID": "example",
    "SUCCESS": "example"
  }
}

Delete contact list

Delete a contact list that no program, form or other asset uses. Its contacts stay in the database.

Inputs

Contact listcontact_list_idnumberRequired
The contact list.At least 1.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "jobId": 1
  }
}

Get contact

Get a contact's ID, opt-in and opt-out dates, field values and contact lists, by email address.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
EmailemailtextRequired
The contact's email address.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "COLUMNS": [
      {
        "NAME": "example",
        "VALUE": "example"
      }
    ],
    "CONTACT_LISTS": [
      "example"
    ],
    "CreatedFrom": "example",
    "EMAIL": "example",
    "EmailType": "example",
    "LastModified": "example",
    "OptedIn": "example",
    "OptedOut": "example",
    "RecipientId": "example",
    "SUCCESS": "example"
  }
}

Get data job status

Get whether a background data job, such as an import or export, is waiting, running, complete or failed.

Inputs

Job IDjob_idnumberRequired
The job's ID, which the call that started it returned.At least 1.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "JOB_DESCRIPTION": "example",
    "JOB_ID": "example",
    "JOB_STATUS": "example",
    "PARAMETERS": {},
    "SUCCESS": "example"
  }
}

Get database

Get a database's size, opt-outs, key fields and every field's name and type.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "COLUMNS": [
      {
        "DEFAULT_VALUE": "example",
        "NAME": "example",
        "TYPE": "example"
      }
    ],
    "CREATED": "example",
    "ID": "example",
    "KEY_COLUMNS": [
      "example"
    ],
    "LAST_MODIFIED": "example",
    "NAME": "example",
    "NUM_OPT_OUTS": "example",
    "NUM_UNDELIVERABLE": "example",
    "SIZE": "example",
    "SUCCESS": "example",
    "TYPE": "example",
    "VISIBILITY": "example"
  }
}

Get mailing metrics

Get a sent mailing's totals: sends, bounces, opens, clicks, opt-outs, conversions and more.

Inputs

Mailing IDmailing_idnumberRequired
The sent mailing's ID (MailingId), which List sent mailings returns.At least 1.
Report IDreport_idnumberRequired
The send's report ID (ReportId), which List sent mailings returns.At least 1.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "Mailing": [
      {
        "MailingId": "example",
        "MailingName": "example",
        "NumBounceHard": "example",
        "NumBounceSoft": "example",
        "NumConversions": "example",
        "NumGrossAbuse": "example",
        "NumGrossClick": "example",
        "NumGrossOpen": "example",
        "NumSent": "example",
        "NumUniqueClick": "example",
        "NumUniqueOpen": "example",
        "NumUnsubscribes": "example",
        "ReportId": "example",
        "SentDateTime": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

List contact's mailings

List the mailings a contact was sent from a database, with their opens, clicks, bounces and opt-outs.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
Contact IDcontact_idtextRequired
The contact's ID (RecipientId), which Get contact returns.
Fromstartdate and time
Only mailings sent at or after this time.
Toenddate and time
Only mailings sent before this time.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "Mailing": [
      {
        "MailingId": "example",
        "MailingName": "example",
        "SentDateTime": "example",
        "TotalBounces": "example",
        "TotalClicks": "example",
        "TotalConversions": "example",
        "TotalOpens": "example",
        "TotalOptOuts": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

List contact's programs

List the programs a contact is or was in, for one database.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
Contact IDcontact_idtextRequired
The contact's ID (RecipientId), which Get contact returns.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "PROGRAMS": [
      {
        "CREATED": "example",
        "END_DATE": "example",
        "ID": "example",
        "LAST_MODIFIED": "example",
        "LIST_ID": "example",
        "NAME": "example",
        "NOTES": "example",
        "START_DATE": "example",
        "STATE": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

List databases

List the databases, contact lists, queries or relational tables you can see.

Inputs

Typelist_typetext
What to list. Leave empty for databases.One of: databases, contact_lists (Contact lists), queries, relational_tables (Relational tables), suppression_lists (Suppression lists), all (Databases, contact lists and queries).
Visibilityvisibilitytext
Shared ones, or only your private ones. Leave empty for shared.One of: 0 (Private), 1 (Shared).

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "LIST": [
      {
        "ID": "example",
        "IS_FOLDER": "example",
        "LAST_MODIFIED": "example",
        "NAME": "example",
        "NUM_OPT_OUTS": "example",
        "NUM_UNDELIVERABLE": "example",
        "PARENT_FOLDER_ID": "example",
        "PARENT_NAME": "example",
        "SIZE": "example",
        "TYPE": "example",
        "VISIBILITY": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

List mailing templates

List the saved mailing templates, optionally only those changed in a date range.

Inputs

Visibilityvisibilitytext
Shared templates, or only your private ones. Leave empty for shared.One of: 0 (Private), 1 (Shared).
Changed fromchanged_fromdate and time
Only templates changed at or after this time.
Changed tochanged_todate and time
Only templates changed before this time.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "MAILING_TEMPLATE": [
      {
        "LAST_MODIFIED": "example",
        "MAILING_ID": "example",
        "MAILING_NAME": "example",
        "SUBJECT": "example",
        "USER_ID": "example",
        "VISIBILITY": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

List programs

List the automated programs, optionally only active or inactive ones, for one database or created in a date range.

Inputs

Include activeinclude_activetrue/false
Off to leave out running, scheduled and completed programs.
Include inactiveinclude_inactivetrue/false
Off to leave out inactive programs.
Databasedatabase_idnumber
Only programs that use this database.At least 1.
Created fromcreated_fromdate
Only programs created on or after this day.
Created tocreated_todate
Only programs created on or before this day.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "PROGRAMS": [
      {
        "CREATED": "example",
        "END_DATE": "example",
        "ID": "example",
        "LAST_MODIFIED": "example",
        "LIST_ID": "example",
        "NAME": "example",
        "NOTES": "example",
        "START_DATE": "example",
        "STATE": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

List sent mailings

List the mailings your organization sent in a date range, with their report IDs and send counts.

Inputs

Fromstartdate and timeRequired
The start of the date range.
Toenddate and timeRequired
The end of the date range.
Sent onlysent_onlytrue/false
Off to include scheduled and sending mailings too.
Leave out test mailingsexclude_teststrue/false
Off to include test mailings.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "Mailing": [
      {
        "ListId": "example",
        "ListName": "example",
        "MailingId": "example",
        "MailingName": "example",
        "NumSent": "example",
        "ParentTemplateId": "example",
        "ReportId": "example",
        "ScheduledTS": "example",
        "SentTS": "example",
        "Subject": "example",
        "UserName": "example",
        "Visibility": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

List sent mailings for database

List the mailings sent to one database in a date range. Needs an organization admin's access.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
Fromstartdate and timeRequired
The start of the date range.
Toenddate and timeRequired
The end of the date range.
Sent onlysent_onlytrue/false
Off to include scheduled and sending mailings too.
Leave out test mailingsexclude_teststrue/false
Off to include test mailings.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "Mailing": [
      {
        "ListId": "example",
        "ListName": "example",
        "MailingId": "example",
        "MailingName": "example",
        "NumSent": "example",
        "ParentTemplateId": "example",
        "ReportId": "example",
        "ScheduledTS": "example",
        "SentTS": "example",
        "Subject": "example",
        "UserName": "example",
        "Visibility": "example"
      }
    ],
    "SUCCESS": "example"
  }
}

Opt out contact

Opt a contact out of a database, so they get no more of its mailings.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
EmailemailtextRequired
The contact's email address.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "ORGANIZATION_ID": "example",
    "SUCCESS": "example"
  }
}

Remove contact

Remove a contact from a database with their data, or only from a contact list. Removing from a database can't be undone.

Inputs

Database or contact listlist_idnumberRequired
The database to delete the contact from, or a contact list to take them off.At least 1.
EmailemailtextRequired
The contact's email address.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "ORGANIZATION_ID": "example",
    "SUCCESS": "example"
  }
}

Send autoresponder to contact

Send a custom-event autoresponder to one contact. It sends only autoresponders, never a whole mailing.

Inputs

Autoresponder mailing IDmailing_idnumberRequired
The custom-event autoresponder's mailing ID, shown when you hover over its name in Acoustic.At least 1.
EmailemailtextRequired
The contact's email address.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "ORGANIZATION_ID": "example",
    "SUCCESS": "example"
  }
}

Update contact

Change a contact's email address or field values, or resubscribe them. Fields left empty stay as they are.

Inputs

Databasedatabase_idnumberRequired
The database (the contacts and their fields).At least 1.
EmailemailtextRequired
The contact's email address.
New emailnew_emailtext
The contact's new email address.
Fieldscolumnsobject
Values for the database's fields, each a field name with its value, such as `First Name`: `Ann`. Get database shows the field names.
Resubscriberesubscribetrue/false
On to opt a contact who opted out back in. Only do this with their consent.

Outputs

dataobject
The response from Acoustic Campaign.
Example output
{
  "data": {
    "ORGANIZATION_ID": "example",
    "RECIPIENTID": "example",
    "SUCCESS": "example"
  }
}

On this page