Subscription
This section shows the available routes related to subscriptions of AcyMailing users to lists.
Last updated
This section shows the available routes related to subscriptions of AcyMailing users to lists.
Last updated
GET
https://www.example.com/index.php?page=acymailing_front&option=com_acym&ctrl=api&task=getUserSubscriptionById
The subscription status will be returned for subscribed and unsubscribed lists.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://www.example.com/index.php?page=acymailing_front&option=com_acym&ctrl=api&task=getSubscribersFromLists
Returns the subscribers of specific lists
GET
https://www.example.com/index.php?page=acymailing_front&option=com_acym&ctrl=api&task=getUnsubscribedUsersFromLists
Returns the AcyMailing users unsubscribed from specific lists
POST
https://www.example.com/index.php?page=acymailing_front&option=com_acym&ctrl=api&task=subscribeUsers
Subscribe a list of users to one or more lists
POST
https://www.example.com/index.php?page=acymailing_front&option=com_acym&ctrl=api&task=unsubscribeUsers
Unsubscribe a list of users from one or more lists
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
userId*
Int
The ID of the AcyMailing user
Api-Key*
String
The API key of a valid AcyMailing license used in the AcyMailing configuration page, tab "License".
listIds[]*
Array
The IDs of the lists from which the subscribers are pulled. Example:
[
"1",
"28"
]
offset
Int
Defaults to 0. Used for pagination, skips the first X results.
limit
Int
Defaults to 100. Used for pagination, limits the number of results.
Api-Key*
String
The API key of a valid AcyMailing license used in the AcyMailing configuration page, tab "License".
listIds[]*
Array
The IDs of the lists from which the subscribers are pulled. Example:
[
"1",
"28"
]
offset
Int
Defaults to 0. Used for pagination, skips the first X results.
limit
Int
Defaults to 100. Used for pagination, limits the number of results.
Api-Key*
String
The API key of a valid AcyMailing license used in the AcyMailing configuration page, tab "License".
Api-Key*
String
The API key of a valid AcyMailing license used in the AcyMailing configuration page, tab "License".
Content-Type*
String
application/json
emails[]*
Array
The email addresses of users to subscribe to the lists. These must match already existing AcyMailing users. Example:
[
"address@example.com",
"address2@example.com"
]
listIds[]*
Array
The IDs of the lists to which the users should be subscribed. Example:
[
"1",
"28"
]
sendWelcomeEmail
Bool
Defaults to true.
If true, the welcome emails will be sent if the lists have one.
trigger
Bool
Defaults to true. If you want to trigger or not the automation or follow-up when subscribing the user.
Api-Key*
String
The API key of a valid AcyMailing license used in the AcyMailing configuration page, tab "License".
Content-Type*
String
application/json
emails[]*
Array
The email addresses of users to unsubscribe from the lists. These must match already existing AcyMailing users. Example:
[
"address@example.com",
"address2@example.com"
]
listIds[]*
Array
The IDs of the lists from which the users should be unsubscribed. Example:
[
"1",
"28"
]
sendUnsubscribeEmail
Bool
Defaults to true.
If true, the unsubscribe emails will be sent if the lists have one.
trigger
Bool
Defaults to true. If you want to trigger or not the automation or follow-up when subscribing the user.