Here are the methods supported by the API grouped by the primary entity they operate on.
List system methods. Part of XML-RPC introspection.
Returns: | Returns a list of method names. |
---|---|
Return type: | array |
Gets help about a method. Part of XML-RPC introspection.
Parameters: | method (string) – method name |
---|---|
Returns: | Returns a text describing the method. |
Return type: | string |
Raises : | 6002: No such method |
Cancel all subscriptions for a given subscriber.
Parameters: | email_address (string) – The e-mail address of the subscriber. |
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Cancel a subscription for the lists specified.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1002: The user is not subscribed |
Raises : | 2001: Invalid mailing list |
Note
If the user was not subscribed some of the lists, the NotSubscribed fault is raised.
Forces the subscriber to the specified stage on the course of the list.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1002: The user is not subscribed |
Raises : | 2001: Invalid mailing list |
Raises : | 2003: Invalid stage. |
Advances the subscriber to the next stage on the course of the list.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1002: The user is not subscribed |
Raises : | 2001: Invalid mailing list |
Raises : | 2002: The course has already ended (no stage to advance to) |
Create a subscription for the lists specified.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1003: The user is already subscribed |
Raises : | 2001: Invalid mailing list |
Raises : | 2004: Opt-in not configured (on one or more lists). |
Create a subscription for the lists specified with data from the data struct.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1003: The user is already subscribed |
Raises : | 1004: Invalid data field |
Raises : | 2001: Invalid mailing list |
Note
This method is an alias for: ubivox.cancel_all_subscriptions()
Updates the reference field for a given subscription.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1002: The user is not subscribed |
Raises : | 2001: Invalid mailing list |
Updates the subscription with test recipient status.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1002: The user is not subscribed |
Raises : | 2001: Invalid mailing list |
Fetches information about a given subscriber.
Parameters: | subscriber (string) – The e-mail address of a subscriber. |
---|---|
Returns: | A struct of:
|
Return type: | struct |
Raises : | 1001: Invalid e-mail address |
Retrieve all subscribers (up to 10000 only).
Returns: | A list e-mail-adresses. |
---|---|
Return type: | array |
Retrieve all subscribers (up to 10000 only).
Returns: | A list of structs of:
|
---|---|
Return type: | array |
Retrieve the first 50 subscribers from the offset specified.
Parameters: | offset (integer) – (0-indexed) Offset. |
---|---|
Returns: | A list e-mail-adresses. |
Return type: | array |
Raises : | 5003: Invalid offset |
Retrieve the first 50 subscribers from the offset specified.
Parameters: | offset (integer) – (0-indexed) Offset. |
---|---|
Returns: | A list of structs of:
|
Return type: | array |
Raises : | 5003: Invalid offset |
Updates the subscribers data.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1001: Invalid e-mail address |
Raises : | 1004: Invalid data field |
Create a new delivery for the the specified list.
Parameters: |
|
---|---|
Returns: | The new delivery ID on success. |
Rtype integer: | |
Raises : | 2001: Invalid mailing list |
Raises : | 3004: Problem with delivery content |
Deletes a delivery and everything related to it (statistics, ...).
Parameters: | delivery (integer) – ID of the delivery. |
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 3001: Invalid delivery |
Get information about a delivery.
Parameters: | delivery (integer) – ID of the delivery. |
---|---|
Returns: | A struct of:
|
Return type: | struct |
Raises : | 3001: Invalid delivery |
Get the simple statistics of the delivery.
Parameters: | delivery (integer) – ID of the delivery. |
---|---|
Returns: | A struct of:
|
Return type: | struct |
Raises : | 3001: Invalid delivery |
Get list of all deliveries.
Returns: | A list of structs of:
|
---|---|
Return type: | array |
Get list of deliveries (the first 50 after offset).
Parameters: |
|
---|---|
Returns: | A list of structs of:
|
Return type: | array |
Raises : | 5003: Invalid offset |
Queues the delivery for delivery.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 3001: Invalid delivery |
Raises : | 3002: Delivery not in edit state |
Raises : | 5001: Invalid date/time format |
Sets the subset (segmentation) rules for a delivery.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 3001: Invalid delivery |
Raises : | 3002: Delivery not in edit state |
Raises : | 5008: Invalid rule set |
Raises : | 9995: Account type upgrade needed (contact sales) |
Important
If used, it must be called before send_delivery.
Suspends a delivery in the standby state and reverts to the edit state.
Parameters: | delivery (integer) – ID of the delivery. |
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 3001: Invalid delivery |
Raises : | 3003: Delivery not in standby state |
Updates a delivery.
Parameters: |
|
---|---|
Returns: | The new delivery ID on success. |
Return type: | integer |
Raises : | 2001: Invalid mailing list |
Raises : | 3001: Invalid delivery |
Raises : | 3002: Delivery not in edit state |
Raises : | 3004: Problem with delivery content |
Get information about stages on a course for a given mailing list.
Parameters: | maillist (integer) – The ID of the mailing list. |
---|---|
Returns: | An ordered array of structs of:
|
Return type: | array |
Raises : | 2001: Invalid mailing list |
Create a new maillist.
Parameters: |
|
---|---|
Returns: | The new maillist ID on success. |
Return type: | integer |
Raises : | 1004: Invalid data field |
Raises : | 5006: Invalid language |
Deletes a maillist.
Parameters: | maillist (integer) – The ID of the maillist |
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 2001: Invalid mailing list |
Note
This method is an alias for: ubivox.list_maillists()
Get a list of available mailing lists.
Returns: | A list of structs:
|
---|---|
Return type: | array |
Find the most recently archived newsletters for a given list.
Parameters: |
|
---|---|
Returns: | An ordered (by newsletter send time in descending order) array of structs of:
|
Return type: | array |
Raises : | 2001: Invalid mailing list |
Updates an existing maillist.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1004: Invalid data field |
Raises : | 2001: Invalid mailing list |
Raises : | 5006: Invalid language |
Updates the opt-in/opt-out settings of an existing maillist.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 2001: Invalid mailing list |
Create a new e-mail and schedule it for delivery at send_time.
Parameters: |
|
---|---|
Returns: | The reference of the e-mail on success. |
Return type: | string |
Raises : | 1001: Invalid e-mail address |
Raises : | 5001: Invalid date/time format |
Raises : | 5004: Invalid reference (only a-z, A-Z, 0-9, - and _ allowed) |
Raises : | 9995: Account type upgrade needed (contact sales) |
Raises : | 9996: Not approved for this call |
Hint
Leave the reference as the empty string to have Ubivox create one for you.
Create a new e-mail and schedule it for delivery at send_time.
Parameters: |
|
---|---|
Returns: | The reference of the e-mail on success. |
Return type: | string |
Raises : | 1001: Invalid e-mail address |
Raises : | 3001: Invalid delivery |
Raises : | 3004: Problem with delivery content |
Raises : | 3005: Mail merging error |
Raises : | 5001: Invalid date/time format |
Raises : | 5004: Invalid reference (only a-z, A-Z, 0-9, - and _ allowed) |
Raises : | 9995: Account type upgrade needed (contact sales) |
Raises : | 9996: Not approved for this call |
Hint
Leave the reference as the empty string to have Ubivox create one for you.
If the recipient is known to Ubivox, we will use their data as a base and overwrite the final mail merging context with any data you supply in data.
If any of sender_email, sender_name or subject is left blank, we will use the defaults from the list associated with the newsletter.
Create a new e-mail and schedule it for delivery at send_time.
Parameters: |
|
---|---|
Returns: | The reference of the e-mail on success. |
Return type: | string |
Raises : | 1001: Invalid e-mail address |
Raises : | 5001: Invalid date/time format |
Raises : | 5004: Invalid reference (only a-z, A-Z, 0-9, - and _ allowed) |
Raises : | 9995: Account type upgrade needed (contact sales) |
Raises : | 9996: Not approved for this call |
Hint
Leave the reference as the empty string to have Ubivox create one for you.
Create a new e-mail and schedule it for delivery at send_time.
Parameters: |
|
---|---|
Returns: | The reference of the e-mail on success. |
Return type: | string |
Raises : | 1001: Invalid e-mail address |
Raises : | 5001: Invalid date/time format |
Raises : | 5004: Invalid reference (only a-z, A-Z, 0-9, - and _ allowed) |
Raises : | 9995: Account type upgrade needed (contact sales) |
Raises : | 9996: Not approved for this call |
Hint
Leave the reference as the empty string to have Ubivox create one for you.
Deletes a media file on the server.
Parameters: | filename (string) – Relative filename of the media file (including directories). |
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 5007: Invalid filename |
Writes a media file on the server. Will overwrite existing files.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 5007: Invalid filename |
Create a data field.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1005: Invalid data field key |
Raises : | 1006: Invalid data field type |
Raises : | 1007: Invalid data field access |
Note
This method is an alias for: ubivox.list_data_fields()
Hide the data field.
Parameters: | key (string) – The key of the data field |
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1004: Invalid data field |
Retrieve the available data fields for user data.
Returns: | A list of keys. |
---|---|
Return type: | array |
Retrieve the available data fields for user data with data field details.
Returns: | A list of structs of:
|
---|---|
Return type: | struct |
Update a data field.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1004: Invalid data field |
Raises : | 1006: Invalid data field type |
Raises : | 1007: Invalid data field access |
Retrieve a list of past imports. Refer to the web interface for details.
Returns: | A list of structs:
|
---|---|
Return type: | array |
Create new import job and starts the processing immediately.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 1005: Invalid data field key |
Raises : | 2001: Invalid mailing list |
Raises : | 4002: Too many invalid addresses in import file |
Raises : | 4003: Another import already exists with this filename |
Raises : | 4004: Invalid import filename |
Warning
A common pitfall of this method is that the data parameter must be of the base64 XML-RPC data type, and not just a base64 encoded string. Refer to your XML-RPC library documentation for implementation notes.
Retrieve a list of currently processing and queued imports. Refer to the web interface for details.
Returns: | A list of structs:
|
---|---|
Return type: | array |
Create a new target.
Parameters: |
|
---|---|
Returns: | The new target ID on success. |
Return type: | integer |
Get a list of available targets.
Returns: | A list of structs:
|
---|---|
Return type: | array |
Fetches statistics for an existing target.
Parameters: | target (integer) – The ID of the target. |
---|---|
Returns: | A struct of:
|
Return type: | struct |
Raises : | 5010: Invalid target |
Updates an existing target.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | bool |
Raises : | 5010: Invalid target |
Create a new webhook.
Parameters: |
|
---|---|
Returns: | The (integer) ID of the new webhook on success. |
Return type: | int |
Raises : | 5012: Invalid hook |
Delete an existing webhook.
Parameters: | id (integer) – The ID of the webhook. |
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 5011: Invalid webhook |
Retrieve the available, configured webhooks.
Returns: | A list of structs of:
|
---|---|
Return type: | array |
Update an existing webhook.
Parameters: |
|
---|---|
Returns: | True on success. |
Return type: | boolean |
Raises : | 5011: Invalid webhook |
Raises : | 5012: Invalid hook |
Get an account status struct suitable for producing an account dashboard.
Returns: | struct:
|
---|---|
Return type: | struct |
Note
List statistics are cached for up to half an hour.
Note
This method is an alias for: ubivox.server_time()
Returns the current server time.
Returns: | The server time |
---|---|
Return type: | string |
Get information on the supported time zones.
Returns: | An array of supported time zones |
---|---|
Return type: | array |