APIs Documentation

Version: V1

[Base-URL] (You can locate it under Application SettingsAPIBase URL)


Groups


Get all of the group types

GET
[Base-URL]/group_types

ParametersTypeDescription
api_tokenstring (required)Your API Key

Get all of the groups

GET
[Base-URL]/groups

ParametersTypeDescription
api_tokenstring (required)Your API Key
type_idinteger (optional)Retrieves groups of a specific type if a type_id is provided; otherwise, it fetches all groups. Available type_id values:
starts_frominteger (optional)Specifies the starting point for fetching records. If not provided, records will be retrieved starting from the first.
limitinteger (optional)Fetches the specified number of records if a limit is provided; otherwise, the default is 100 records.

Get a single group detail

GET
[Base-URL]/groups/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Add a group

POST
[Base-URL]/groups/

ParametersTypeDescription
api_tokenstring (required)Your API Key
namestring (required)The group name to be stored as required.
type_idinteger (required)Specifies the module under which the group will be stored.
Available type_id values:
1: Lists
2: Campaigns
3: Delivery Servers
4: Sending Domains
5: Suppressions

Update a group

PATCH
[Base-URL]/groups/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key
namestring (required)The group name to be stored as required.

Delete a group

DELETE
[Base-URL]/groups/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Lists


Get all of the lists

GET
[Base-URL]/lists

ParametersTypeDescription
api_tokenstring (required)Your API Key
group_idinteger (optional)Retrieves lists for a specific group if specified; otherwise, fetches all lists.
starts_frominteger (optional)Specifies the starting point for fetching records. If not provided, records will be retrieved starting from the first.
limitinteger (optional)Fetches the specified number of records if a limit is provided; otherwise, the default is 100 records.

Get a list

GET
[Base-URL]/lists/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Add a list

POST
[Base-URL]/lists

ParametersTypeDescription
api_tokenstring (required)Your API Key
namestring (required)The name of the list to be stored as desired.
group_idinteger (required)Specifies the group under which the list will be stored.
from_subjectstring (required)This can be utilized in the campaign to set the subject line of the email being sent.
from_namestring (required)This can be used in the campaign to identify or reference the source of the contact information.
from_emailstring (required)This can be used in the campaign to specify the sender’s email address for the outgoing emails.
reply_emailstring (required)This can be used in the campaign to specify the email address where replies to the campaign emails should be sent.
descriptionstring (optional)A brief description of the list.
double_optinstring (optional)(Yes / No) If set to “Yes,” a confirmation email will be sent to the contact to verify their subscription.
welcome_emailstring (optional)(Yes / No) If set to “Yes,” a welcome email will be sent to the contact.
notify_emailstring (optional)The admin will receive notifications at this email address regarding contact additions, unsubscribes, and double opt-ins.
custom_field_idsarray (optional)Custom Field IDs that need to be associated with the List.

Update a list

PATCH
[Base-URL]/lists/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key
namestring (optional)The name of the list to be stored as desired.
group_idinteger (optional)Specifies the group under which the list will be stored.
from_subjectstring (optional)This can be utilized in the campaign to set the subject line of the email being sent.
from_namestring (optional)This can be used in the campaign to identify or reference the source of the contact information.
from_emailstring (optional)This can be used in the campaign to specify the sender’s email address for the outgoing emails.
reply_emailstring (optional)This can be used in the campaign to specify the email address where replies to the campaign emails should be sent.
descriptionstring (optional)A brief description of the list.
double_optinstring (optional)(Yes / No) If set to “Yes,” a confirmation email will be sent to the contact to verify their subscription.
welcome_emailstring (optional)(Yes / No) If set to “Yes,” a welcome email will be sent to the contact.
notify_emailstring (optional)The admin will receive notifications at this email address regarding contact additions, unsubscribes, and double opt-ins.
custom_field_idsarray (optional)Custom Field IDs that need to be associated with the List.

Delete a list

DELETE
[Base-URL]/lists/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Custom Fields


Get all of the custom fields

GET
[Base-URL]/custom_fields

ParametersTypeDescription
api_tokenstring (required)Your API Key
starts_frominteger (optional)Specifies the starting point for fetching records. If not provided, records will be retrieved starting from the first.
limitinteger (optional)Fetches the specified number of records if a limit is provided; otherwise, the default is 100 records.

Get a custom field

GET
[Base-URL]/custom_fields/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Add a custom field

POST
[Base-URL]/custom_fields

ParametersTypeDescription
api_tokenstring (required)Your API Key
namestring (required)The name of the custom field to be stored as desired.
typestring (required)The custom field will be defined based on its type.
Type can be:
– text
– number
– textarea
– date
– radio
– checkbox
– dropdown
valuesarray (optional)The value array will be used to define the options when the type is radio, checkbox, or dropdown.

Update a custom field

PATCH
[Base-URL]/custom_fields/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key
namestring (optional)The name of the custom field to be stored as desired.
typestring (optional)The custom field will be defined based on its type.
Type can be:
– text
– number
– textarea
– date
– radio
– checkbox
– dropdown
valuesarray (optional)The value array will be used to define the options when the type is radio, checkbox, or dropdown.

Delete a custom field

DELETE
[Base-URL]/custom_fields/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Contacts


Get all of the contacts

GET
[Base-URL]/contacts

ParametersTypeDescription
api_tokenstring (required)Your API Key
starts_frominteger (optional)Specifies the starting point for fetching records. If not provided, records will be retrieved starting from the first.
limitinteger (optional)Fetches the specified number of records if a limit is provided; otherwise, the default is 100 records.

Get a contact

GET
[Base-URL]/contacts/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Add a contact

POST
[Base-URL]/contacts

ParametersTypeDescription
api_tokenstring (required)Your API Key
emailstring (required)Contact email to be stored as required.
list_idinteger (required)Assign the contact to a specific list.
is_activebool (optional)0 or 1, with 1 being the default.
is_confirmedbool (optional)0 or 1, with 0 being the default.
is_verifiedbool (optional)0 or 1, with 0 being the default.
is_unsubscribedbool (optional)0 or 1, with 0 being the default.
custom_fieldsarray (optional)An associative array where the key represents the Custom Field ID, for example:
custom_fields[1] => "Alex"
allow_duplicatebool (optional)If you wish to overwrite the contact, the default value will be 0.

Update a contact

PATCH
[Base-URL]/contacts/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key
emailstring (optional)Valid contact email
list_idinteger (optional)Assign the contact to a specific list.
is_activebool (optional)0 or 1, with 1 being the default.
is_confirmedbool (optional)0 or 1, with 0 being the default.
is_verifiedbool (optional)0 or 1, with 0 being the default.
is_unsubscribedbool (optional)0 or 1, with 0 being the default.
custom_fieldsarray (optional)An associative array where the key represents the Custom Field ID, for example:
custom_fields[1] => "Alex"

Delete a contact

DELETE
[Base-URL]/contacts/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Clients


Get all of the clients

GET
[Base-URL]/clients

ParametersTypeDescription
api_tokenstring (required)Your API Key
starts_frominteger (optional)Specifies the starting point for fetching records. If not provided, records will be retrieved starting from the first.
limitinteger (optional)Fetches the specified number of records if a limit is provided; otherwise, the default is 100 records.

Get a client

GET
[Base-URL]/clients/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Add a client

POST
[Base-URL]/clients

ParametersTypeDescription
api_tokenstring (required)Your API Key
emailstring (required)Valid client email.
role_idinteger (required)Assign the client to a specific role.
package_idinteger (required)Assign the client to a specific package.
passwordstring (optional)password for the client
is_activebool (optional)0 or 1, with 1 being the default.
addressstring (optional)Client address
phonestring (optional)Client phone number

Update a client

PATCH
[Base-URL]/clients/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key
emailstring (optional)Contact email to be stored as required.
role_idinteger (optional)Assign the client to a specific role.
package_idinteger (optional)Assign the client to a specific package.
passwordstring (optional)password for the client
is_activebool (optional)0 or 1, with 1 being the default.
addressstring (optional)Client address
phonestring (optional)Client phone number

Delete a client

DELETE
[Base-URL]/clients/[id]

ParametersTypeDescription
api_tokenstring (required)Your API Key

Scroll to Top