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
| Action | What it does |
|---|---|
| Add contact | Add a contact to a database, or update them if they are already in it, with field values and contact lists. |
| Add contact to contact list | Add a contact already in the list's database to a contact list, by email address. |
| Add contact to program | Start a contact at the beginning of a program. |
| Add or update relational table rows | Add rows to a relational table, such as purchases, or update the rows with the same key. |
| Confirm double opt-in | Confirm a contact who signed up to a double opt-in database, with any field values to save. |
| Create contact list | Create a contact list in a database. |
| Delete contact list | Delete a contact list that no program, form or other asset uses. |
| Get contact | Get a contact's ID, opt-in and opt-out dates, field values and contact lists, by email address. |
| Get data job status | Get whether a background data job, such as an import or export, is waiting, running, complete or failed. |
| Get database | Get a database's size, opt-outs, key fields and every field's name and type. |
| Get mailing metrics | Get a sent mailing's totals: sends, bounces, opens, clicks, opt-outs, conversions and more. |
| List contact's mailings | List the mailings a contact was sent from a database, with their opens, clicks, bounces and opt-outs. |
| List contact's programs | List the programs a contact is or was in, for one database. |
| List databases | List the databases, contact lists, queries or relational tables you can see. |
| List mailing templates | List the saved mailing templates, optionally only those changed in a date range. |
| List programs | List the automated programs, optionally only active or inactive ones, for one database or created in a date range. |
| List sent mailings | List the mailings your organization sent in a date range, with their report IDs and send counts. |
| List sent mailings for database | List the mailings sent to one database in a date range. |
| Opt out contact | Opt a contact out of a database, so they get no more of its mailings. |
| Remove contact | Remove a contact from a database with their data, or only from a contact list. |
| Send autoresponder to contact | Send a custom-event autoresponder to one contact. |
| Update contact | Change 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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Email
emailtextRequired - The contact's email address.
- Fields
columnsobject - 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 lists
contact_list_idslist - Contact lists to add the contact to as well.
- Update if found
update_if_foundtrue/false - Off to leave an existing contact as they are. Leave empty to update them.
- Send autoresponder
send_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 list
contact_list_idnumberRequired - The contact list.At least 1.
- Email
emailtextRequired - 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
- Program
program_idnumberRequired - The program.At least 1.
- Contact ID
contact_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 table
table_idnumberRequired - The relational table.At least 1.
- Rows
rowslistRequired - 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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Email
emailtextRequired - The contact's email address.
- Fields
columnsobject - 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 autoresponder
send_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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Name
nametextRequired - The contact list's name.
- Visibility
visibilitytext - 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 list
contact_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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Email
emailtextRequired - 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 ID
job_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
- Database
database_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 ID
mailing_idnumberRequired - The sent mailing's ID (MailingId), which List sent mailings returns.At least 1.
- Report ID
report_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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Contact ID
contact_idtextRequired - The contact's ID (RecipientId), which Get contact returns.
- From
startdate and time - Only mailings sent at or after this time.
- To
enddate 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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Contact ID
contact_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
- Type
list_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). - Visibility
visibilitytext - 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
- Visibility
visibilitytext - Shared templates, or only your private ones. Leave empty for shared.One of:
0(Private),1(Shared). - Changed from
changed_fromdate and time - Only templates changed at or after this time.
- Changed to
changed_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 active
include_activetrue/false - Off to leave out running, scheduled and completed programs.
- Include inactive
include_inactivetrue/false - Off to leave out inactive programs.
- Database
database_idnumber - Only programs that use this database.At least 1.
- Created from
created_fromdate - Only programs created on or after this day.
- Created to
created_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
- From
startdate and timeRequired - The start of the date range.
- To
enddate and timeRequired - The end of the date range.
- Sent only
sent_onlytrue/false - Off to include scheduled and sending mailings too.
- Leave out test mailings
exclude_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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- From
startdate and timeRequired - The start of the date range.
- To
enddate and timeRequired - The end of the date range.
- Sent only
sent_onlytrue/false - Off to include scheduled and sending mailings too.
- Leave out test mailings
exclude_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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Email
emailtextRequired - 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 list
list_idnumberRequired - The database to delete the contact from, or a contact list to take them off.At least 1.
- Email
emailtextRequired - 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 ID
mailing_idnumberRequired - The custom-event autoresponder's mailing ID, shown when you hover over its name in Acoustic.At least 1.
- Email
emailtextRequired - 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
- Database
database_idnumberRequired - The database (the contacts and their fields).At least 1.
- Email
emailtextRequired - The contact's email address.
- New email
new_emailtext - The contact's new email address.
- Fields
columnsobject - Values for the database's fields, each a field name with its value, such as `First Name`: `Ann`. Get database shows the field names.
- Resubscribe
resubscribetrue/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"
}
}