Skip to content

Autoresponders API Documentation

Automated email sequence endpoints for creating, managing, and configuring autoresponder campaigns that trigger based on subscriber actions.

Create Autoresponder

POST /api.php

API Usage Notes

  • Authentication is done by User API Key
  • Required permissions: AutoResponder.Create
  • Legacy endpoint access via /api.php is also supported

Creates a new autoresponder that sends an email based on subscriber triggers such as subscription, link clicks, campaign opens, conversions, forward-to-friend actions, or specific dates. Supports delayed sending with various time intervals and optional recurring sequences.

Request Body Parameters:

ParameterTypeRequiredDescription
CommandStringYesAPI command: autoresponder.create
SessionIDStringNoSession ID obtained from login
APIKeyStringNoAPI key for authentication
SubscriberListIDIntegerYesSubscriber list ID to attach the autoresponder to
AutoResponderNameStringYesName of the autoresponder
AutoResponderTriggerTypeStringYesTrigger type: OnSubscription, OnSubscriberLinkClick, OnSubscriberCampaignOpen, OnSubscriberCampaignConversion, OnSubscriberForwardToFriend, OnSubscriberDate
AutoResponderTriggerValueStringConditionalTrigger value (required for: OnSubscriberLinkClick, OnSubscriberCampaignOpen, OnSubscriberCampaignConversion, OnSubscriberDate)
AutoResponderTriggerValue2StringNoAdditional trigger value for certain trigger types
EmailIDIntegerYesEmail template ID to send
TriggerTimeTypeStringYesTime delay type: Immediately, Seconds later, Minutes later, Hours later, Days later, Weeks later, Months later
TriggerTimeIntegerConditionalTime delay value (required when TriggerTimeType is not Immediately)
RepeatStringNoRepeat pattern in ISO 8601 duration format: R{count}/P{interval}{unit} (e.g., R5/P2D = repeat 5 times every 2 days, unit: H=hours, D=days)
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.create",
    "SessionID": "your-session-id",
    "SubscriberListID": 123,
    "AutoResponderName": "Welcome Email",
    "AutoResponderTriggerType": "OnSubscription",
    "EmailID": 456,
    "TriggerTimeType": "Immediately"
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.create",
    "SessionID": "your-session-id",
    "SubscriberListID": 123,
    "AutoResponderName": "3-Day Follow-up",
    "AutoResponderTriggerType": "OnSubscription",
    "EmailID": 457,
    "TriggerTimeType": "Days later",
    "TriggerTime": 3
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.create",
    "SessionID": "your-session-id",
    "SubscriberListID": 123,
    "AutoResponderName": "Weekly Newsletter Series",
    "AutoResponderTriggerType": "OnSubscription",
    "EmailID": 458,
    "TriggerTimeType": "Days later",
    "TriggerTime": 7,
    "Repeat": "R4/P7D"
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.create",
    "SessionID": "your-session-id",
    "SubscriberListID": 123,
    "AutoResponderName": "Product Interest Follow-up",
    "AutoResponderTriggerType": "OnSubscriberLinkClick",
    "AutoResponderTriggerValue": "https://example.com/product-page",
    "EmailID": 459,
    "TriggerTimeType": "Hours later",
    "TriggerTime": 2
  }'
json
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorText": "",
  "AutoResponderID": 789
}
json
{
  "Success": false,
  "ErrorCode": [6]
}
json
{
  "Success": false,
  "ErrorCode": [9]
}
txt
0: Success
subscriberlistid: Missing required parameter subscriberlistid
autorespondername: Missing required parameter autorespondername
autorespondertriggertype: Missing required parameter autorespondertriggertype
autorespondertriggervalue: Missing required parameter autorespondertriggervalue (required for certain trigger types)
triggertime: Missing required parameter triggertime (required when TriggerTimeType is not Immediately)
emailid: Missing required parameter emailid
6: Invalid autoresponder trigger type
7: Invalid trigger time type
9: Invalid email ID (email not found or does not belong to user)

Get Autoresponder

POST /api.php

API Usage Notes

  • Authentication is done by User API Key
  • Required permissions: AutoResponder.Get
  • Legacy endpoint access via /api.php is also supported

Retrieves detailed information about a specific autoresponder including configuration, trigger settings, and optionally performance statistics. The autoresponder must be owned by the authenticated user.

Request Body Parameters:

ParameterTypeRequiredDescription
CommandStringYesAPI command: autoresponder.get
SessionIDStringNoSession ID obtained from login
APIKeyStringNoAPI key for authentication
AutoResponderIDIntegerYesAutoresponder ID to retrieve
RetrieveStatisticsBooleanNoInclude performance statistics (default: false)
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.get",
    "SessionID": "your-session-id",
    "AutoResponderID": 789
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.get",
    "SessionID": "your-session-id",
    "AutoResponderID": 789,
    "RetrieveStatistics": true
  }'
json
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorText": "",
  "AutoResponder": {
    "AutoResponderID": 789,
    "AutoResponderName": "Welcome Email",
    "RelListID": 123,
    "RelEmailID": 456,
    "AutoResponderTriggerType": "OnSubscription",
    "AutoResponderTriggerValue": "",
    "AutoResponderTriggerValue2": "",
    "TriggerTimeType": "Immediately",
    "TriggerTime": 0,
    "RepeatSettings": {
      "Status": "Disabled"
    },
    "TotalSent": 1250,
    "TotalOpens": 875,
    "TotalClicks": 320,
    "TotalRevenue": "1250.50",
    "UniqueOpens": 825,
    "UniqueClicks": 295
  }
}
json
{
  "Success": false,
  "ErrorCode": ["autoresponderid"],
  "ErrorText": "Missing auto responder id"
}
txt
0: Success
autoresponderid: Missing required parameter autoresponderid

List Autoresponders

POST /api.php

API Usage Notes

  • Authentication is done by User API Key
  • Required permissions: AutoResponders.Get
  • Legacy endpoint access via /api.php is also supported

Retrieves all autoresponders for a specific subscriber list with optional sorting. Returns autoresponder details including performance metrics and total count.

Request Body Parameters:

ParameterTypeRequiredDescription
CommandStringYesAPI command: autoresponders.get
SessionIDStringNoSession ID obtained from login
APIKeyStringNoAPI key for authentication
SubscriberListIDIntegerYesSubscriber list ID to retrieve autoresponders for
OrderFieldStringNoField to sort by: AutoResponderName, AutoResponderID, TotalSent, TotalOpens, TotalClicks, TotalDelivered, TotalFailed, UniqueOpens, UniqueClicks, TotalConversions, UniqueConversions, TotalForwards, UniqueForwards, TotalViewsOnBrowser, UniqueViewsOnBrowser, TotalUnsubscriptions, TotalHardBounces, TotalSoftBounces, TotalRevenue (default: AutoResponderName)
OrderTypeStringNoSort direction: ASC or DESC (default: ASC)
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponders.get",
    "SessionID": "your-session-id",
    "SubscriberListID": 123
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponders.get",
    "SessionID": "your-session-id",
    "SubscriberListID": 123,
    "OrderField": "TotalSent",
    "OrderType": "DESC"
  }'
json
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorText": "",
  "TotalResponderCount": 5,
  "AutoResponders": [
    {
      "AutoResponderID": 789,
      "AutoResponderName": "Welcome Email",
      "RelListID": 123,
      "RelEmailID": 456,
      "AutoResponderTriggerType": "OnSubscription",
      "TriggerTimeType": "Immediately",
      "TriggerTime": 0,
      "TotalSent": 1250,
      "TotalOpens": 875,
      "TotalClicks": 320,
      "TotalRevenue": "1250.50",
      "UniqueOpens": 825,
      "UniqueClicks": 295
    },
    {
      "AutoResponderID": 790,
      "AutoResponderName": "3-Day Follow-up",
      "RelListID": 123,
      "RelEmailID": 457,
      "AutoResponderTriggerType": "OnSubscription",
      "TriggerTimeType": "Days later",
      "TriggerTime": 3,
      "TotalSent": 980,
      "TotalOpens": 650,
      "TotalClicks": 210,
      "TotalRevenue": "890.25",
      "UniqueOpens": 610,
      "UniqueClicks": 195
    }
  ]
}
json
{
  "Success": false,
  "ErrorCode": ["subscriberlistid"],
  "ErrorText": "Missing subscriber list id"
}
txt
0: Success
subscriberlistid: Missing required parameter subscriberlistid

Update Autoresponder

POST /api.php

API Usage Notes

  • Authentication is done by User API Key
  • Required permissions: AutoResponder.Update
  • Legacy endpoint access via /api.php is also supported

Updates an existing autoresponder. All fields except AutoResponderID are optional, allowing partial updates. The autoresponder must be owned by the authenticated user.

Request Body Parameters:

ParameterTypeRequiredDescription
CommandStringYesAPI command: autoresponder.update
SessionIDStringNoSession ID obtained from login
APIKeyStringNoAPI key for authentication
AutoResponderIDIntegerYesAutoresponder ID to update
SubscriberListIDIntegerNoUpdated subscriber list ID
AutoResponderNameStringNoUpdated autoresponder name
AutoResponderTriggerTypeStringNoUpdated trigger type: OnSubscription, OnSubscriberLinkClick, OnSubscriberCampaignOpen, OnSubscriberCampaignConversion, OnSubscriberForwardToFriend, OnSubscriberDate
AutoResponderTriggerValueStringConditionalUpdated trigger value (required when updating to certain trigger types)
AutoResponderTriggerValue2StringNoUpdated additional trigger value
EmailIDIntegerNoUpdated email template ID
TriggerTimeTypeStringNoUpdated time delay type: Immediately, Seconds later, Minutes later, Hours later, Days later, Weeks later, Months later
TriggerTimeIntegerConditionalUpdated time delay value (required when TriggerTimeType is not Immediately)
RepeatStringNoUpdated repeat pattern: R{count}/P{interval}{unit} or null to disable repeating
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.update",
    "SessionID": "your-session-id",
    "AutoResponderID": 789,
    "AutoResponderName": "Updated Welcome Email"
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.update",
    "SessionID": "your-session-id",
    "AutoResponderID": 789,
    "TriggerTimeType": "Days later",
    "TriggerTime": 1
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponder.update",
    "SessionID": "your-session-id",
    "AutoResponderID": 789,
    "Repeat": null
  }'
json
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorText": ""
}
json
{
  "Success": false,
  "ErrorCode": [5],
  "ErrorText": ["Invalid auto responder id"]
}
json
{
  "Success": false,
  "ErrorCode": [7],
  "ErrorText": ["Invalid auto responder trigger type"]
}
txt
0: Success
autoresponderid: Missing required parameter autoresponderid
autorespondertriggervalue: Missing auto responder trigger value (required for certain trigger types)
triggertime: Missing auto responder trigger time (required when TriggerTimeType is not Immediately)
5: Invalid auto responder id (not found or access denied)
7: Invalid auto responder trigger type
8: Invalid trigger time type
9: Invalid email ID (email not found or does not belong to user)

Copy Autoresponders

POST /api.php

API Usage Notes

  • Authentication is done by User API Key
  • Required permissions: AutoResponder.Create
  • Legacy endpoint access via /api.php is also supported

Copies all autoresponders (or a specific one) from a source list to a target list. Creates clones of the email templates and autoresponder configurations. Optionally adds a prefix to copied autoresponder names.

Request Body Parameters:

ParameterTypeRequiredDescription
CommandStringYesAPI command: autoresponders.copy
SessionIDStringNoSession ID obtained from login
APIKeyStringNoAPI key for authentication
SourceListIDIntegerYesSource subscriber list ID to copy autoresponders from
TargetListIDIntegerYesTarget subscriber list ID to copy autoresponders to
TargetAutoResponderIDIntegerNoSpecific autoresponder ID to copy (if omitted, copies all autoresponders from source list)
PrefixStringNoPrefix to add to copied autoresponder names (e.g., "Copy - ")
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponders.copy",
    "SessionID": "your-session-id",
    "SourceListID": 123,
    "TargetListID": 456,
    "Prefix": "Copy - "
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponders.copy",
    "SessionID": "your-session-id",
    "SourceListID": 123,
    "TargetListID": 456,
    "TargetAutoResponderID": 789
  }'
json
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorText": ""
}
json
{
  "Success": false,
  "ErrorCode": [4],
  "ErrorText": ["Invalid source subscriber id"]
}
txt
0: Success
sourcelistid: Missing source subscriber list id
targetlistid: Missing target subscriber list id
4: Invalid source or target subscriber list id (not found or access denied)

Delete Autoresponders

POST /api.php

API Usage Notes

  • Authentication is done by User API Key
  • Required permissions: AutoResponders.Delete
  • Legacy endpoint access via /api.php is also supported

Permanently deletes one or more autoresponders. Accepts comma-separated autoresponder IDs. All autoresponders must be owned by the authenticated user.

Request Body Parameters:

ParameterTypeRequiredDescription
CommandStringYesAPI command: autoresponders.delete
SessionIDStringNoSession ID obtained from login
APIKeyStringNoAPI key for authentication
AutoRespondersStringYesComma-separated autoresponder IDs to delete (e.g., "789,790,791")
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponders.delete",
    "SessionID": "your-session-id",
    "AutoResponders": "789"
  }'
bash
curl -X POST https://example.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "Command": "autoresponders.delete",
    "SessionID": "your-session-id",
    "AutoResponders": "789,790,791"
  }'
json
{
  "Success": true,
  "ErrorCode": 0,
  "ErrorText": ""
}
json
{
  "Success": false,
  "ErrorCode": ["autoresponders"],
  "ErrorText": ["Auto responder ids are missing"]
}
txt
0: Success
autoresponders: Auto responder ids are missing

Any questions? Contact us.