Download OpenAPI specification:Download
The Especial Email API exposes multiple APIs including Authentication, Marketing, Contact, Transactional, Analytic, Content, Account and Partner.
{- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "name": "string",
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "account_owner": {
- "user_id": "string"
}, - "fax": "string",
- "phone": "string",
- "website": "string",
- "logo": "string",
- "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "last_activity_on": 0,
- "created_on": 0,
- "partner": true,
- "overrides": {
- "bypass_recaptcha": true,
- "inject_address": true,
- "inject_unsubscribe_link": true
}
}
}object (address) | |
| name | string (name) |
object (account_owner) | |
| fax | string (fax) |
| phone | string (phone) |
object (domains) Default: {} | |
| website | string <uri> (website) [ 1 .. 2083 ] characters |
{- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "name": "string",
- "account_owner": {
- "user_id": 1
}, - "fax": "string",
- "phone": "string",
- "domains": { },
}{- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "name": "string",
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "account_owner": {
- "user_id": "string"
}, - "fax": "string",
- "phone": "string",
- "website": "string",
- "logo": "string",
- "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "last_activity_on": 0,
- "created_on": 0,
- "partner": true,
- "overrides": {
- "bypass_recaptcha": true,
- "inject_address": true,
- "inject_unsubscribe_link": true
}
}, - "warnings": [ ]
}| workflow_id required | string (workflow_id) |
| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
| account_id | integer (account_id) |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "created_on": 0,
- "updated_on": 0,
- "thumbnail_url": "string"
}
]
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
| name required | string (name) |
| parent_id | string (parent_id) |
| condition required | string (condition) Enum: "opened" "not_opened" "clicked" "not_clicked" "none" An enumeration. |
| delay required | integer (delay) |
| type required | string (type) Value: "email" An enumeration. |
object (ActionEmailSettings) |
{- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "email_settings": {
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "encoding": "utf-8",
- "template": {
- "id": 0
}
}, - "sender": {
- "id": "string"
}
}
}{- "id": "string",
- "object": "action",
- "data": {
- "id": "string",
- "created_on": 0,
- "updated_on": 0,
- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "email_settings": {
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "encoding": "utf-8",
- "template": {
- "id": 0
}
}, - "sender": {
- "id": "string"
}
}, - "thumbnail_url": "string"
}, - "created": true
}| workflow_id required | string (workflow_id) |
| action_id required | string (action_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
{- "data": {
- "id": "string",
- "created_on": 0,
- "updated_on": 0,
- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "email_settings": {
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "encoding": "utf-8",
- "template": {
- "id": 0
}
}, - "sender": {
- "id": "string"
}
}, - "thumbnail_url": "string"
}
}| action_id required | string (action_id) |
| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
{- "id": "string",
- "object": "action",
- "deleted": true,
- "data": {
- "id": "string",
- "created_on": 0,
- "updated_on": 0,
- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "email_settings": {
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "encoding": "utf-8",
- "template": {
- "id": 0
}
}, - "sender": {
- "id": "string"
}
}, - "thumbnail_url": "string"
}
}| action_id required | string (action_id) |
| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
| name | string (name) |
| parent_id | string (parent_id) |
| condition | string (condition) Enum: "opened" "not_opened" "clicked" "not_clicked" "none" An enumeration. |
| delay | integer (delay) |
| type | string (type) Value: "email" An enumeration. |
object (PatchActionEmailSettings) |
{- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "email_settings": {
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "custom",
- "encoding": "utf-8"
}, - "sender": {
- "id": "string"
}
}
}{- "id": "string",
- "object": "action",
- "patched": true,
- "data": {
- "id": "string",
- "created_on": 0,
- "updated_on": 0,
- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "email_settings": {
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "encoding": "utf-8",
- "template": {
- "id": 0
}
}, - "sender": {
- "id": "string"
}
}, - "thumbnail_url": "string"
}
}| workflow_id required | string (workflow_id) |
| action_id required | string (action_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}| workflow_id required | string (workflow_id) |
| action_id required | string (action_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
| email required | string <email> (email) |
| type | string (type) Default: "merged" Enum: "merged" "separated" An enumeration. |
{- "email": "user@example.com",
- "type": "merged"
}{- "id": "string",
- "object": "action",
- "sent": true
}| action_id required | string (action_id) |
| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "status": "string",
- "link_to": "string"
}
]
}| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| account_id | integer (account_id) |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "name": "string",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "type": "standard",
- "created_on": 0,
- "scheduled_for": 0,
- "scheduled_on": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "next_building_step": "string",
- "status": "active",
- "suspended": true,
- "web_email_link": "string",
- "thumbnail_url": "string",
- "updated_on": 0
}
]
}| account_id | integer (account_id) |
| name required | string (name) non-empty |
object (audience) Default: {} | |
object (tracking) Default: {"opens":true,"clicks_html":true,"clicks_text":true} | |
object (sender) | |
| reply_to_email | string <email> (reply_to_email) Specify a different reply-to email address than the sender |
object (content) Default: {"type":"html"} |
{- "name": "string",
- "audience": { },
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "sender": {
- "id": "string",
- "name": "string"
}, - "reply_to_email": "user@example.com",
- "content": {
- "type": "html"
}
}{- "id": 0,
- "object": "campaign",
- "created": true,
- "data": {
- "id": 0,
- "name": "string",
- "audience": {
- "list_id": 0,
- "name": "string",
- "segment_id": 0
}, - "type": "standard",
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true,
- "additional_params": "string"
}, - "created_on": 0,
- "scheduled_for": 0,
- "scheduled_on": 0,
- "delivery_finished_on": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "reply_to_email": "string",
- "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "hash": "string",
- "last_updated_on": 0,
- "encoding": "utf-8",
- "default_unsubscribe_link": true,
- "social_bar": true,
- "footer": "string"
}, - "next_building_step": "string",
- "status": "active",
- "suspended": true,
- "web_email_link": "string",
- "thumbnail_url": "string",
- "updated_on": 0
}
}| campaign_id required | integer (campaign_id) |
| account_id | integer (account_id) |
| revision_id | integer (revision_id) |
{- "data": {
- "id": 0,
- "name": "string",
- "audience": {
- "list_id": 0,
- "name": "string",
- "segment_id": 0
}, - "type": "standard",
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true,
- "additional_params": "string"
}, - "created_on": 0,
- "scheduled_for": 0,
- "scheduled_on": 0,
- "delivery_finished_on": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "reply_to_email": "string",
- "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "hash": "string",
- "last_updated_on": 0,
- "encoding": "utf-8",
- "default_unsubscribe_link": true,
- "social_bar": true,
- "footer": "string"
}, - "next_building_step": "string",
- "status": "active",
- "suspended": true,
- "web_email_link": "string",
- "thumbnail_url": "string",
- "updated_on": 0
}
}| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
| name | string (name) non-empty |
object (audience) Default: {} | |
object (tracking) | |
object (sender) | |
| reply_to_email | string <email> (reply_to_email) Specify a different reply-to email address than the sender |
object (content) Default: {} |
{- "name": "string",
- "audience": { },
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true,
- "additional_params": "string"
}, - "sender": {
- "id": "string",
- "name": "string"
}, - "reply_to_email": "user@example.com",
- "content": { }
}{- "id": 0,
- "object": "campaign",
- "updated": true,
- "data": {
- "id": 0,
- "name": "string",
- "audience": {
- "list_id": 0,
- "name": "string",
- "segment_id": 0
}, - "type": "standard",
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true,
- "additional_params": "string"
}, - "created_on": 0,
- "scheduled_for": 0,
- "scheduled_on": 0,
- "delivery_finished_on": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "reply_to_email": "string",
- "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "hash": "string",
- "last_updated_on": 0,
- "encoding": "utf-8",
- "default_unsubscribe_link": true,
- "social_bar": true,
- "footer": "string"
}, - "next_building_step": "string",
- "status": "active",
- "suspended": true,
- "web_email_link": "string",
- "thumbnail_url": "string",
- "updated_on": 0
}
}| campaign_id required | integer (campaign_id) |
| contact_id | integer (contact_id) >= 1 |
| account_id | integer (account_id) |
{- "data": {
- "html": "string",
- "text": "string"
}
}| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
| email required | string <email> (email) |
| type | string (type) Default: "merged" Enum: "merged" "separated" An enumeration. |
{- "email": "user@example.com",
- "type": "merged"
}{- "email": "user@example.com",
- "type": "merged",
- "object": "test_email",
- "sent": true
}| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
| date | integer (date) [ 1 .. 2147483647 ] A UNIX timestamp in the future |
| html_empty | boolean (html_empty) Default: false Required to be true if the html message is empty |
{- "date": 1,
- "html_empty": false
}{- "id": 0,
- "object": "campaign",
- "scheduled": true
}| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
| date | integer (date) [ 1 .. 2147483647 ] A UNIX timestamp in the future |
| html_empty | boolean (html_empty) Default: false Required to be true if the html message is empty |
{- "date": 1,
- "html_empty": false
}{- "id": 0,
- "object": "campaign",
- "scheduled": true
}You can only delete a campaign when the status is draft. However, if you want to remove a campaign from your list of active campaigns, you can archive it.
| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
{- "id": 0,
- "object": "campaign",
- "archived": true
}| campaign_id required | integer (campaign_id) |
| account_id | integer (account_id) |
| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "date": "string"
}
]
}| campaign_id required | integer (campaign_id) |
| account_id | integer (account_id) |
| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "status": "string",
- "link_to": "string"
}
]
}| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
| sort | string (sort) Default: "id" Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "name": "string",
- "created_on": 0,
- "updated_on": 0,
- "tags": [
- "string"
], - "thumbnail": "string",
- "thumbnail_url": "string"
}
]
}{- "data": {
- "id": 0,
- "name": "string",
- "created_on": 0,
- "updated_on": 0,
- "tags": [
- "string"
], - "content": {
- "type": "html",
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { }
}
}
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| interests required | Array of strings (interests) <= 16 items [ items [ 1 .. 255 ] characters ^[+@\-_#a-zA-Z0-9]+$ ] |
| contact_ids | Array of integers (contact_ids) <= 1024 items >= 1 [ items >= 1 ] |
| query | string (query) |
| fiql | string (fiql) |
| json | object (json) |
{- "interests": [
- "string"
], - "contact_ids": [
- 1
], - "query": "string",
- "fiql": "string",
- "json": { }
}{- "object": "interests",
- "added": true
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| page | integer (page) >= 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| query | string (query) SQL selection query (only use one of query, fiql and json) |
| fiql | string (fiql) FIQL selection expression (only use one of query, fiql and json) |
| json | string <json-string> (json) JSON selection expression (only use one of query, fiql and json) |
| cursor | string (cursor) Cursor pagination |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0,
- "cursor": {
- "previous": "string",
- "next": "string"
}
}, - "data": [
- {
- "id": 0,
- "email": "string",
- "status": "string",
- "subscribed_on": 0,
- "last_bounce_type": "string",
- "bounces_count": 0,
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
], - "tags": [ ],
- "interests": [ ]
}
]
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| send_double_opt_in | string (send_double_opt_in) Default: "false" Enum: "true" "false" "new" "not_active" Default: 'false' Send a double opt-in/confirmation email
|
| resubscribe | boolean (resubscribe) Default: true |
| email required | string <email> (email) |
Array of objects (custom_attributes) |
{- "email": "user@example.com",
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
]
}{- "id": 0,
- "object": "contact",
- "created": true,
- "data": {
- "id": 0,
- "email": "string",
- "status": "string",
- "subscribed_on": 0,
- "last_bounce_type": "string",
- "bounces_count": 0,
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
], - "tags": [ ],
- "interests": [ ]
}
}| segment_id required | integer (segment_id) >= 1 |
| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| page | integer (page) >= 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| query | string (query) SQL selection query (only use one of query, fiql and json) |
| fiql | string (fiql) FIQL selection expression (only use one of query, fiql and json) |
| json | string <json-string> (json) JSON selection expression (only use one of query, fiql and json) |
| cursor | string (cursor) Cursor pagination |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0,
- "cursor": {
- "previous": "string",
- "next": "string"
}
}, - "data": [
- {
- "id": 0,
- "email": "string",
- "status": "string",
- "subscribed_on": 0,
- "last_bounce_type": "string",
- "bounces_count": 0,
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
], - "tags": [ ],
- "interests": [ ]
}
]
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| tags required | Array of strings (tags) [ 1 .. 1024 ] items [ items [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ ] |
| contact_ids | Array of integers (contact_ids) [ 1 .. 1024 ] items >= 1 [ items >= 1 ] |
| query | string (query) non-empty SQL-like expression |
| fiql | string (fiql) |
| json | object (json) |
{- "tags": [
- "string"
], - "contact_ids": [
- 1
], - "query": "string",
- "fiql": "string",
- "json": { }
}{- "tagged": true
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| tags required | Array of strings (tags) [ 1 .. 1024 ] items [ items [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ ] |
| contact_ids | Array of integers (contact_ids) [ 1 .. 1024 ] items >= 1 [ items >= 1 ] |
| query | string (query) non-empty SQL-like expression |
| fiql | string (fiql) |
| json | object (json) |
{- "tags": [
- "string"
], - "contact_ids": [
- 1
], - "query": "string",
- "fiql": "string",
- "json": { }
}{- "untagged": true
}| list_id required | integer (list_id) >= 1 |
| contact_id required | integer (contact_id) >= 1 |
| account_id | integer (account_id) |
{- "data": {
- "id": 0,
- "email": "string",
- "status": "string",
- "subscribed_on": 0,
- "last_bounce_type": "string",
- "bounces_count": 0,
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
], - "tags": [ ],
- "interests": [ ]
}
}| list_id required | integer (list_id) >= 1 |
| contact_id required | integer (contact_id) >= 1 |
| account_id | integer (account_id) |
{- "id": 0,
- "object": "contact",
- "deleted": true
}| list_id required | integer (list_id) >= 1 |
| contact_id required | integer (contact_id) >= 1 |
| account_id | integer (account_id) |
string <email> (email) | |
Array of objects (custom_attributes) | |
| interests | Array of strings (interests) [ items [ 1 .. 255 ] characters ^[+@\-_#a-zA-Z0-9]+$ ] |
| tags | Array of strings (tags) [ items [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ ] |
{- "email": "user@example.com",
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
], - "interests": [
- "string"
], - "tags": [
- "string"
]
}{- "id": 0,
- "object": "contact",
- "updated": true,
- "data": {
- "id": 0,
- "email": "string",
- "status": "string",
- "subscribed_on": 0,
- "last_bounce_type": "string",
- "bounces_count": 0,
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
], - "tags": [ ],
- "interests": [ ]
}
}Synchronize your own list with Especialmail by importing to your active, unsubscribed or delete contacts.
| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| send_double_opt_in | string (send_double_opt_in) Default: "false" Enum: "true" "false" "new" "not_active" Default: 'false' Send a double opt-in/confirmation email
|
| import_to | string (import_to) Enum: "active" "unsubscribed" "deleted" An enumeration. |
required | Array of objects (contacts) non-empty |
{- "import_to": "active",
- "contacts": [
- {
- "email": "user@example.com",
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}{- "import_id": "string",
- "id": [
- 0
], - "object": "contact",
- "imported": true,
- "data": [ ]
}| list_id required | integer (list_id) >= 1 |
| contact_id required | integer (contact_id) >= 1 |
| account_id | integer (account_id) |
{- "object": "contact",
- "subscribed": false,
- "data": {
- "id": 0,
- "email": "string",
- "status": "string",
- "subscribed_on": 0,
- "last_bounce_type": "string",
- "bounces_count": 0,
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
], - "tags": [ ],
- "interests": [ ]
}
}| list_id required | integer (list_id) >= 1 |
| contact_id required | integer (contact_id) >= 1 |
| account_id | integer (account_id) |
| tags required | Array of strings (tags) [ 1 .. 1024 ] items [ items [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ ] |
{- "tags": [
- "string"
]
}{- "tagged": true
}| list_id required | integer (list_id) >= 1 |
| contact_id required | integer (contact_id) >= 1 |
| account_id | integer (account_id) |
| tags required | Array of strings (tags) [ 1 .. 1024 ] items [ items [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ ] |
{- "tags": [
- "string"
]
}{- "untagged": true
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| interests required | Array of strings (interests) <= 16 items [ items [ 1 .. 255 ] characters ^[+@\-_#a-zA-Z0-9]+$ ] |
| contact_ids | Array of integers (contact_ids) <= 1024 items >= 1 [ items >= 1 ] |
| query | string (query) |
| fiql | string (fiql) |
| json | object (json) |
{- "interests": [
- "string"
], - "contact_ids": [
- 1
], - "query": "string",
- "fiql": "string",
- "json": { }
}{- "object": "interests",
- "removed": true
}Show all Contacts Exports.
| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "status": "pending",
- "description": "string",
- "segment_id": 0,
- "filter": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "created_on": 0,
- "expires_on": 0,
- "progress": 0
}
]
}Create a Contacts Export to a CSV file.
| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| description | string (description) |
| query | string (query) |
| fiql | string (fiql) |
| json | string <json-string> (json) |
| segment_id | integer (segment_id) >= 1 |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "id": "string",
- "object": "task",
- "created": true,
- "data": {
- "id": "string",
- "status": "pending",
- "description": "string",
- "segment_id": 0,
- "filter": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "created_on": 0,
- "expires_on": 0,
- "progress": 0
}
}Show a Contacts Export.
| export_id required | string (export_id) |
| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
{- "data": {
- "id": "string",
- "status": "pending",
- "description": "string",
- "segment_id": 0,
- "filter": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "created_on": 0,
- "expires_on": 0,
- "progress": 0
}
}Delete a Contacts Export.
| export_id required | string (export_id) |
| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
{- "id": "string",
- "object": "contactsexport",
- "deleted": true,
- "data": {
- "id": "string",
- "status": "pending",
- "description": "string",
- "segment_id": 0,
- "filter": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "created_on": 0,
- "expires_on": 0,
- "progress": 0
}
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "name": "string",
- "type": "text"
}
]
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| name required | string (name) ^[A-Za-z0-9\-_]+$ name |
| type required | string (type) Enum: "text" "mediumtext" "integer" "timestamp" "datetime" An enumeration. |
{- "name": "string",
- "type": "text"
}{- "name": "string",
- "object": "attribute",
- "created": true,
- "data": {
- "name": "string",
- "type": "text"
}
}| list_id required | integer (list_id) >= 1 |
| name required | string (name) |
| account_id | integer (account_id) |
{- "name": "string",
- "object": "attribute",
- "deleted": true
}| account_id | integer (account_id) |
| selector | string (selector) |
| domain required | string (domain) |
{- "selector": "string",
- "domain": "string"
}{- "object": "dkim",
- "created": true,
- "data": {
- "id": 0,
- "status": "string",
- "selector": "string",
- "domain": "string",
- "public_key": "string"
}
}| id required | integer (id) |
| account_id | integer (account_id) |
{- "object": "dkim",
- "deleted": true,
- "data": {
- "id": 0,
- "status": "string",
- "selector": "string",
- "domain": "string",
- "public_key": "string"
}
}Change the Tracking and Bounce domains.
| account_id | integer (account_id) |
required | object (domains) |
{
}{- "object": "domains",
- "patched": true,
- "data": {
- "auth": "string",
- "bounce": "string",
- "dkim": "string",
- "tracking": "string"
}
}Validate and return the DNS entries for the Tracking and the Bounce domains.
| account_id | integer (account_id) |
{- "data": {
- "bounce": [
- {
- "entry": "string",
- "valid": true
}
], - "tracking": [
- {
- "entry": "string",
- "valid": true
}
]
}
}| account_id | integer (account_id) |
| email required | string <email> (email) |
| group_id | integer (group_id) >= 1 Allows you to group multiple transaction emails together for analytics |
object (tracking) Default: {"opens":true,"clicks_html":true,"clicks_text":true} | |
required | object (sender) |
Array of objects (additional_headers) | |
object (attachment) | |
required | object (content) |
{- "email": "user@example.com",
- "group_id": 1,
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "sender": {
- "id": "string",
- "name": "string"
}, - "additional_headers": [
- {
- "name": "string",
- "value": "string"
}
], - "attachment": {
- "filename": "string",
- "type": "calendar",
- "content": "string"
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "template": {
- "id": 0,
- "custom_attributes": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "encoding": "utf-8"
}
}{- "email": "string",
- "object": "email",
- "sent": true,
- "data": {
- "id": 0
}
}| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) [-|+]?[a-zA-Z_]+ Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "name": "string",
- "status": "active",
- "content": {
- "linked": "string",
- "embedded": "string"
}, - "language": "da",
- "created_on": 0,
- "last_updated_on": 0,
- "url": {
- "linked": "string",
- "embedded": "string"
}, - "thumbnail": "string",
- "thumbnail_url": "string",
- "redirections": {
- "after_opt_in": "string",
- "after_double_opt_in": "string",
- "after_opt_out": "string"
}, - "list_id": 0,
- "double_opt_in": true
}
]
}| account_id | integer (account_id) |
| name required | string (name) non-empty |
| status | string (status) Default: "active" Enum: "active" "deleted" An enumeration. |
required | object (content) |
object (redirections) Default: {} | |
| list_id required | integer (list_id) >= 1 |
| language required | string (language) Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
| double_opt_in | boolean (double_opt_in) Default: true |
{- "name": "string",
- "status": "active",
- "content": {
- "embedded": "string",
- "linked": "string"
}, - "redirections": { },
- "list_id": 1,
- "language": "da",
- "double_opt_in": true
}{- "id": "string",
- "object": "form",
- "created": true,
- "data": {
- "id": "string",
- "name": "string",
- "status": "active",
- "content": {
- "linked": "string",
- "embedded": "string"
}, - "language": "da",
- "created_on": 0,
- "last_updated_on": 0,
- "url": {
- "linked": "string",
- "embedded": "string"
}, - "thumbnail": "string",
- "thumbnail_url": "string",
- "redirections": {
- "after_opt_in": "string",
- "after_double_opt_in": "string",
- "after_opt_out": "string"
}, - "list_id": 0,
- "double_opt_in": true
}
}| form_id required | string (form_id) |
| account_id | integer (account_id) |
{- "data": {
- "id": "string",
- "name": "string",
- "status": "active",
- "content": {
- "linked": "string",
- "embedded": "string"
}, - "language": "da",
- "created_on": 0,
- "last_updated_on": 0,
- "url": {
- "linked": "string",
- "embedded": "string"
}, - "thumbnail": "string",
- "thumbnail_url": "string",
- "redirections": {
- "after_opt_in": "string",
- "after_double_opt_in": "string",
- "after_opt_out": "string"
}, - "list_id": 0,
- "double_opt_in": true
}
}| form_id required | string (form_id) |
| account_id | integer (account_id) |
| name | string (name) non-empty |
| status | string (status) non-empty |
object (content) Default: {} | |
object (redirections) Default: {} | |
| list_id | integer (list_id) >= 1 |
| language | string (language) Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
| double_opt_in | boolean (double_opt_in) |
{- "name": "string",
- "status": "string",
- "content": { },
- "redirections": { },
- "list_id": 1,
- "language": "da",
- "double_opt_in": true
}{- "id": "string",
- "object": "form",
- "updated": true,
- "data": {
- "id": "string",
- "name": "string",
- "status": "active",
- "content": {
- "linked": "string",
- "embedded": "string"
}, - "language": "da",
- "created_on": 0,
- "last_updated_on": 0,
- "url": {
- "linked": "string",
- "embedded": "string"
}, - "thumbnail": "string",
- "thumbnail_url": "string",
- "redirections": {
- "after_opt_in": "string",
- "after_double_opt_in": "string",
- "after_opt_out": "string"
}, - "list_id": 0,
- "double_opt_in": true
}
}| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "name": "string",
- "status": "string",
- "language": "string",
- "created_on": 0,
- "default_sender": {
- "name": "string",
- "email": "string"
}
}
]
}| account_id | integer (account_id) |
| name required | string (name) non-empty List Name |
required | object (default_sender) |
| language | string (language) Default: "en_US" Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
object (redirections) Default: {} | |
object (webhook) Default: {} |
{- "name": "string",
- "default_sender": {
- "id": "string"
}, - "language": "en_US",
- "redirections": { },
- "webhook": { }
}{- "id": 0,
- "created": true,
- "data": {
- "id": 0,
- "name": "string",
- "status": "string",
- "policy_accepted": false,
- "language": "string",
- "created_on": 0,
- "default_sender": {
- "name": "string",
- "email": "string"
}, - "redirections": {
- "after_opt_in": "string",
- "after_double_opt_in": "string",
- "after_opt_out": "string"
}, - "pages": {
- "opt_in": "string",
- "opt_out": "string",
- "subscribe": "string",
- "unsubscribe": "string"
}, - "webhook": {
- "url": "string",
- "actions": [
- "all"
]
}
}
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
{- "data": {
- "id": 0,
- "name": "string",
- "status": "string",
- "policy_accepted": false,
- "language": "string",
- "created_on": 0,
- "default_sender": {
- "name": "string",
- "email": "string"
}, - "redirections": {
- "after_opt_in": "string",
- "after_double_opt_in": "string",
- "after_opt_out": "string"
}, - "pages": {
- "opt_in": "string",
- "opt_out": "string",
- "subscribe": "string",
- "unsubscribe": "string"
}, - "webhook": {
- "url": "string",
- "actions": [
- "all"
]
}
}
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| name | string (name) non-empty |
object (default_sender) | |
| language | string (language) Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
object (redirections) Default: {} | |
object (webhook) Default: {} |
{- "name": "string",
- "default_sender": {
- "id": "string"
}, - "language": "da",
- "redirections": { },
- "webhook": { }
}{- "id": 0,
- "updated": true,
- "data": {
- "id": 0,
- "name": "string",
- "status": "string",
- "policy_accepted": false,
- "language": "string",
- "created_on": 0,
- "default_sender": {
- "name": "string",
- "email": "string"
}, - "redirections": {
- "after_opt_in": "string",
- "after_double_opt_in": "string",
- "after_opt_out": "string"
}, - "pages": {
- "opt_in": "string",
- "opt_out": "string",
- "subscribe": "string",
- "unsubscribe": "string"
}, - "webhook": {
- "url": "string",
- "actions": [
- "all"
]
}
}
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| start_time | integer (start_time) [ 1 .. 2147483647 ] |
| end_time | integer (end_time) [ 1 .. 2147483647 ] |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "contact_id": 0,
- "email": "string",
- "type": "clickthru",
- "timestamp": 0,
- "occurrences": 0,
- "user_agent": {
- "ip": "string",
- "os": {
- "family": "string",
- "version": "string"
}, - "browser": {
- "family": "string",
- "version": "string"
}, - "device": {
- "family": "pc",
- "brand": "string",
- "model": "string"
}, - "is_bot": true,
- "raw": "string"
}, - "campaign_id": 0,
- "clickthru_url": "string",
- "dsn_message": "string",
- "unsub_reason": "string",
- "subscription_type": "resubscribe"
}
]
}| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
| start_time | integer (start_time) [ 1 .. 2147483647 ] |
| end_time | integer (end_time) [ 1 .. 2147483647 ] |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| cursor | string (cursor) |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
| sort | string (sort) [-|+]?.* Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0,
- "cursor": {
- "previous": "string",
- "next": "string"
}
}, - "data": [
- {
- "id": 0,
- "contact_id": 0,
- "email": "string",
- "type": "clickthru",
- "timestamp": 0,
- "occurrences": 0,
- "clickthru_url": "string",
- "user_agent": {
- "ip": "string",
- "os": {
- "family": "string",
- "version": "string"
}, - "browser": {
- "family": "string",
- "version": "string"
}, - "device": {
- "family": "pc",
- "brand": "string",
- "model": "string"
}, - "is_bot": true,
- "raw": "string"
}
}
]
}| log_type required | string (log_type) Enum: "bounce" "clickthru" "sent" "open" "unsubscribe" "resubscribe" An enumeration. |
| account_id | integer (account_id) |
| start_time | integer (start_time) [ 1 .. 2147483647 ] |
| end_time | integer (end_time) [ 1 .. 2147483647 ] |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "sent_id": 0,
- "email_id": 0,
- "group_id": 0,
- "email": "string",
- "type": "clickthru",
- "timestamp": 0,
- "user_agent": {
- "ip": "string",
- "os": {
- "family": "string",
- "version": "string"
}, - "browser": {
- "family": "string",
- "version": "string"
}, - "device": {
- "family": "pc",
- "brand": "string",
- "model": "string"
}, - "is_bot": true,
- "raw": "string"
}, - "clickthru_url": "string",
- "dsn_message": "string",
- "sender_name": "string",
- "sender_email": "string",
- "source_ip": "string",
- "envelope_from": "string",
- "additional_headers": [
- {
- "name": "string",
- "value": "string"
}
]
}
]
}| workflow_id required | string (workflow_id) |
| action_id required | string (action_id) |
| account_id | integer (account_id) |
| start_time | integer (start_time) [ 1 .. 2147483647 ] |
| end_time | integer (end_time) [ 1 .. 2147483647 ] |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
| sort | string (sort) [-|+]?.* Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "contact_id": 0,
- "email": "string",
- "type": "clickthru",
- "timestamp": 0,
- "occurrences": 0,
- "user_agent": {
- "ip": "string",
- "os": {
- "family": "string",
- "version": "string"
}, - "browser": {
- "family": "string",
- "version": "string"
}, - "device": {
- "family": "pc",
- "brand": "string",
- "model": "string"
}, - "is_bot": true,
- "raw": "string"
}
}
]
}Show all campaign log exports
| campaign_id required | integer (campaign_id) |
| account_id | integer (account_id) >= 1 |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "campaign_id": 0,
- "status": "pending",
- "description": "string",
- "requested_by": {
- "id": 0,
- "email": "string"
}, - "created_on": 0,
- "expires_on": 0,
- "progress": 0
}
]
}Export to CSV a campaign log.
| campaign_id required | integer (campaign_id) |
| account_id | integer (account_id) |
| description | string (description) |
{- "id": "string",
- "object": "task",
- "created": true,
- "data": {
- "id": "string",
- "campaign_id": 0,
- "status": "pending",
- "description": "string",
- "requested_by": {
- "id": 0,
- "email": "string"
}, - "created_on": 0,
- "expires_on": 0,
- "progress": 0
}
}Returns the URL to download the exported CSV file.
| campaign_log_export_id required | string (campaign_log_export_id) |
| campaign_id required | integer (campaign_id) |
| account_id | integer (account_id) |
{
}| account_id | integer (account_id) |
| file required | string (file) non-empty Data URI scheme, base64 encoded |
{- "file": "string"
}{- "logo": "string",
- "object": "logo",
- "uploaded": true
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "name": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "campaigns_count": 0,
- "last_used": 0,
- "created_on": 0
}
]
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
| query | string (query) non-empty SQL-like expression (use one of query, fiql and json) |
| fiql | string (fiql) non-empty FIQL expression (use one of query, fiql and json) |
| json | object (json) JSON expression (use one of query, fiql and json) |
| name required | string (name) non-empty |
{- "query": "string",
- "fiql": "string",
- "json": { },
- "name": "string"
}{- "id": 0,
- "object": "segment",
- "created": true,
- "data": {
- "id": 0,
- "name": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "campaigns_count": 0,
- "last_used": 0,
- "created_on": 0
}
}| list_id required | integer (list_id) >= 1 |
| segment_id required | integer (segment_id) >= 1 |
| account_id | integer (account_id) |
{- "data": {
- "id": 0,
- "name": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "campaigns_count": 0,
- "last_used": 0,
- "created_on": 0
}
}| list_id required | integer (list_id) >= 1 |
| segment_id required | integer (segment_id) >= 1 |
| account_id | integer (account_id) |
{- "id": 0,
- "object": "segment",
- "deleted": true
}| list_id required | integer (list_id) >= 1 |
| segment_id required | integer (segment_id) >= 1 |
| account_id | integer (account_id) |
| query | string (query) non-empty SQL-like expression (use one of query, fiql and json) |
| fiql | string (fiql) non-empty FIQL expression (use one of query, fiql and json) |
| json | object (json) JSON expression (use one of query, fiql and json) |
| name | string (name) Segment Name |
{- "query": "string",
- "fiql": "string",
- "json": { },
- "name": "string"
}{- "id": 0,
- "object": "segment",
- "updated": true,
- "data": {
- "id": 0,
- "name": "string",
- "query": "string",
- "fiql": "string",
- "json": { },
- "campaigns_count": 0,
- "last_used": 0,
- "created_on": 0
}
}| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| account_id | integer (account_id) |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "name": "string",
- "email": "string",
- "confirmed": true,
- "confirmed_on": 0,
- "language": "en_US",
- "last_confirmation_sent_on": 0
}
]
}| account_id | integer (account_id) |
| name required | string (name) non-empty |
| email required | string <email> (email) |
| language | string (language) Default: "en_US" Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
{- "name": "string",
- "email": "user@example.com",
- "language": "en_US"
}{- "id": "string",
- "created": true,
- "object": "sender",
- "data": {
- "id": "string",
- "name": "string",
- "email": "string",
- "confirmed": true,
- "confirmed_on": 0,
- "language": "en_US",
- "last_confirmation_sent_on": 0
}
}| sender_id required | string (sender_id) |
| account_id | integer (account_id) |
{- "data": {
- "id": "string",
- "name": "string",
- "email": "string",
- "confirmed": true,
- "confirmed_on": 0,
- "language": "en_US",
- "last_confirmation_sent_on": 0
}
}| sender_id required | string (sender_id) |
| account_id | integer (account_id) |
| name | string (name) |
| language | string (language) Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
{- "name": "string",
- "language": "da"
}{- "id": "string",
- "updated": true,
- "object": "sender",
- "data": {
- "id": "string",
- "name": "string",
- "email": "string",
- "confirmed": true,
- "confirmed_on": 0,
- "language": "en_US",
- "last_confirmation_sent_on": 0
}
}| confirmation_id required | string (confirmation_id) non-empty |
{- "confirmation_id": "string"
}{- "confirmed": true,
- "object": "sender",
- "data": {
- "id": "string",
- "name": "string",
- "email": "string",
- "confirmed": true,
- "confirmed_on": 0,
- "language": "en_US",
- "last_confirmation_sent_on": 0
}
}| list_id required | integer (list_id) |
| account_id | integer (account_id) |
| with_count | boolean (with_count) Default: false |
| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "name": "string",
- "alias": "string",
- "usage": 0
}
]
}| list_id required | integer (list_id) |
| account_id | integer (account_id) |
| name required | string (name) [ 1 .. 255 ] characters ^[+@\-_#a-zA-Z0-9]+$ |
| alias | string (alias) |
{- "name": "string",
- "alias": "string"
}{- "object": "interest",
- "data": {
- "name": "string",
- "alias": "string",
- "usage": 0
}, - "created": true
}| list_id required | integer (list_id) |
| interest_name required | string (interest_name) [ 1 .. 255 ] characters ^[+@\-_#a-zA-Z0-9]+$ |
| account_id | integer (account_id) |
{- "data": {
- "name": "string",
- "alias": "string",
- "usage": 0
}
}| list_id required | integer (list_id) |
| interest_name required | string (interest_name) [ 1 .. 255 ] characters ^[+@\-_#a-zA-Z0-9]+$ |
| account_id | integer (account_id) |
{- "object": "interest",
- "data": {
- "name": "string",
- "alias": "string",
- "usage": 0
}, - "deleted": true
}| list_id required | integer (list_id) |
| interest_name required | string (interest_name) [ 1 .. 255 ] characters ^[+@\-_#a-zA-Z0-9]+$ |
| account_id | integer (account_id) |
| name | string (name) |
| alias | string (alias) |
{- "name": "string",
- "alias": "string"
}{- "object": "interest",
- "data": {
- "name": "string",
- "alias": "string",
- "usage": 0
}, - "patched": true
}Show all asynchronous Task.
| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "status": "pending",
- "created_on": 0,
- "expires_on": 0,
- "progress": 0,
- "requested_by": {
- "email": "user@example.com",
- "id": 0
}, - "type": "contactsexport",
- "description": "string",
- "payload": { }
}
]
}Show an asynchronous Task.
| task_id required | string (task_id) |
| account_id | integer (account_id) |
{- "data": {
- "id": "string",
- "status": "pending",
- "created_on": 0,
- "expires_on": 0,
- "progress": 0,
- "requested_by": {
- "email": "user@example.com",
- "id": 0
}, - "type": "contactsexport",
- "description": "string",
- "payload": { }
}
}Delete an asynchronous Task.
| task_id required | string (task_id) |
| account_id | integer (account_id) |
{- "data": {
- "id": "string",
- "status": "pending",
- "created_on": 0,
- "expires_on": 0,
- "progress": 0,
- "requested_by": {
- "email": "user@example.com",
- "id": 0
}, - "type": "contactsexport",
- "description": "string",
- "payload": { }
}
}| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| account_id | integer (account_id) |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
| sort | string (sort) Default: "id" Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "name": "string",
- "created_on": 0,
- "updated_on": 0,
- "tags": [
- "string"
], - "thumbnail": "string",
- "thumbnail_url": "string"
}
]
}| account_id | integer (account_id) |
| name required | string (name) non-empty |
required | object (content) |
| tags | Array of strings (tags) |
{- "name": "string",
- "content": {
- "type": "html",
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { }
}, - "tags": [
- "string"
]
}{- "id": 0,
- "object": "template",
- "created": true
}| template_id required | integer (template_id) |
| account_id | integer (account_id) |
{- "data": {
- "id": 0,
- "name": "string",
- "created_on": 0,
- "updated_on": 0,
- "tags": [
- "string"
], - "content": {
- "type": "html",
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { }
}
}
}| template_id required | integer (template_id) |
| account_id | integer (account_id) |
| name | string (name) non-empty |
object (content) | |
| tags | Array of strings (tags) |
{- "name": "string",
- "content": {
- "type": "html",
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { }
}, - "tags": [
- "string"
]
}{- "id": 0,
- "object": "template",
- "updated": true,
- "data": {
- "id": 0,
- "name": "string",
- "created_on": 0,
- "updated_on": 0,
- "tags": [
- "string"
], - "content": {
- "type": "html",
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { }
}
}
}| list_id required | integer (list_id) >= 1 |
| account_id | integer (account_id) |
{- "data": {
- "active_contacts": 0,
- "pending_contacts": 0,
- "invalid_contacts": 0,
- "unsubscribed_contacts": 0,
- "flagged_contacts": 0,
- "deleted_contacts": 0,
- "sent_emails": 0,
- "open_rate": 0,
- "bounce_rate": 0,
- "click_rate": 0,
- "clickthru_rate": 0,
- "unsubscribe_rate": 0,
- "spam_rate": 0
}
}| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
{- "data": {
- "active_emails": 0,
- "bounces": 0,
- "bounce_rate": 0,
- "bounces_address_changed": 0,
- "bounces_challenge_response": 0,
- "bounces_dns_failure": 0,
- "bounces_full_mailbox": 0,
- "bounces_hard": 0,
- "bounces_mail_blocked": 0,
- "bounces_soft": 0,
- "bounces_transient": 0,
- "clicks": 0,
- "click_rate": 0,
- "clickthru_rate": 0,
- "forwards": 0,
- "implied_opens": 0,
- "opens": 0,
- "open_rate": 0,
- "spams": 0,
- "unique_clicks": 0,
- "unique_opens": 0,
- "unopens": 0,
- "unopen_rate": 0,
- "unsubscribes": 0,
- "unsubscribe_rate": 0,
- "spam_rate": 0,
- "sent_emails": 0,
- "sent_rate": 0
}
}| campaign_id required | integer (campaign_id) >= 1 |
| account_id | integer (account_id) |
| start_time | integer (start_time) |
| end_time | integer (end_time) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": 0,
- "link": "string",
- "unique": 0,
- "total": 0,
- "unique_rate": 0,
- "total_rate": 0
}
]
}| start_time required | integer (start_time) [ 1 .. 2147483647 ] |
| end_time required | integer (end_time) [ 1 .. 2147483647 ] |
| account_id | integer (account_id) |
{- "data": [
- {
- "date": 0,
- "sent_emails": 0,
- "open_rate": 0,
- "bounce_rate": 0,
- "click_rate": 0,
- "spam_rate": 0
}
]
}| start_time | integer (start_time) [ 1 .. 2147483647 ] |
| end_time | integer (end_time) [ 1 .. 2147483647 ] |
{- "data": {
- "active_contacts": 0,
- "sent_emails": 0,
- "sent_campaign_emails": 0,
- "sent_action_emails": 0,
- "sent_email_emails": 0,
- "open_rate": 0,
- "bounce_rate": 0,
- "click_rate": 0,
- "spam_rate": 0,
- "unsubscribe_rate": 0,
- "emails_usage": 0,
- "contacts_usage": 0,
- "bounces_hard": 0,
- "bounce_hard_rate": 0,
- "spams": 0,
- "current_lists": 0
}
}| account_id required | integer (account_id) >= 1 |
| start_time | integer (start_time) [ 1 .. 2147483647 ] |
| end_time | integer (end_time) [ 1 .. 2147483647 ] |
{- "data": {
- "active_contacts": 0,
- "sent_emails": 0,
- "sent_campaign_emails": 0,
- "sent_action_emails": 0,
- "sent_email_emails": 0,
- "open_rate": 0,
- "bounce_rate": 0,
- "click_rate": 0,
- "spam_rate": 0,
- "unsubscribe_rate": 0,
- "emails_usage": 0,
- "contacts_usage": 0,
- "bounces_hard": 0,
- "bounce_hard_rate": 0,
- "spams": 0,
- "current_lists": 0
}
}| workflow_id required | string (workflow_id) |
| action_id required | string (action_id) |
| account_id | integer (account_id) |
{- "data": {
- "bounces": 0,
- "bounces_address_changed": 0,
- "bounces_challenge_response": 0,
- "bounces_dns_failure": 0,
- "bounces_full_mailbox": 0,
- "bounces_hard": 0,
- "bounces_mail_blocked": 0,
- "bounces_soft": 0,
- "bounces_transient": 0,
- "unique_clicks": 0,
- "forwards": 0,
- "implied_opens": 0,
- "unique_opens": 0,
- "unopens": 0,
- "clicks": 0,
- "opens": 0,
- "spams": 0,
- "spam_rate": 0,
- "unsubscribes": 0,
- "sent_emails": 0
}
}| account_id | integer (account_id) |
| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "email": "string",
- "source": "string"
}
]
}| account_id | integer (account_id) |
| email required | string (email) non-empty Full email, a local part wildcard or a domain wildcard. Examples: @hotmail.com, john@, john@hotmail.com |
{- "email": "string"
}{- "email": "string",
- "created": true
}| email required | string (email) (^\*@[^@*]+\.[^@*]+$|^[^@*]+@\*$|^[^@*]+@[^@*... Full email, a local part wildcard or a domain wildcard. Examples: @domain.com, john@, john@domain.com |
| account_id | integer (account_id) |
{- "email": "string",
- "deleted": true
}| version | string (version) Default: "v1" |
| grant_type | string (grant_type) Default: "refresh_token" Value: "refresh_token" An enumeration. |
| refresh_token required | string (refresh_token) |
{- "access_token": "string",
- "token_type": "string",
- "expires_in": 0,
- "refresh_token": "string"
}| version | string (version) Default: "v1" |
| grant_type | string (grant_type) Default: "password" Value: "password" An enumeration. |
| username required | string <email> (username) |
| password | string (password) |
| account_id | integer (account_id) |
| scopes | string (scopes) Default: "user" |
| expiration_seconds | integer (expiration_seconds) >= 600 |
{- "access_token": "string",
- "token_type": "string",
- "expires_in": 0,
- "refresh_token": "string"
}{- "data": {
- "id": "string",
- "email": "string",
- "status": "string",
- "created_on": 0,
- "last_activity_on": 0,
- "expires_on": 0,
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "language": "da",
- "timezone": "string",
- "office_phone": "string",
- "mobile_phone": "string"
}
}Sends an email containing a reset password token.
| account_id | integer (account_id) |
| language | string (language) Default: "en_US" Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
| email required | string <email> (email) |
{- "email": "user@example.com"
}{- "email": "string",
- "object": "user",
- "reset_link_sent": true
}Sends an email containing a reset password token.
| user_id required | integer (user_id) |
| account_id | integer (account_id) |
| invalidate_current_password | boolean (invalidate_current_password) Default: false |
{- "invalidate_current_password": false
}{- "email": "string",
- "object": "user",
- "reset_link_sent": true
}Change a user password if the reset password token is valid for that user.
| token required | string (token) |
| password required | string (password) |
{- "token": "string",
- "password": "string"
}{- "object": "user",
- "password_reset": true
}| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "email": "string",
- "status": "string",
- "first_name": "string",
- "last_name": "string",
- "last_activity_on": 0,
- "created_on": 0,
- "expires_on": 0
}
]
}| account_id | integer (account_id) |
| skip_verification | boolean (skip_verification) Default: false |
| first_name required | string (first_name) |
| last_name required | string (last_name) |
| title | string (title) |
| office_phone | string (office_phone) |
| mobile_phone | string (mobile_phone) [0-9]+ |
| language | string (language) Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
| timezone | string (timezone) Based on tz database |
| password | string (password) New password (admin only) |
| email required | string <email> (email) |
{- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "office_phone": "string",
- "mobile_phone": "string",
- "language": "da",
- "timezone": "string",
- "password": "string",
- "email": "user@example.com"
}{- "id": "string",
- "object": "user",
- "created": true,
- "data": {
- "id": "string",
- "email": "string",
- "status": "string",
- "created_on": 0,
- "last_activity_on": 0,
- "expires_on": 0,
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "language": "da",
- "timezone": "string",
- "office_phone": "string",
- "mobile_phone": "string"
}
}| user_id required | string (user_id) [ 1 .. 20 ] characters ^[a-zA-Z0-9]+$ |
| account_id | integer (account_id) |
{- "data": {
- "id": "string",
- "email": "string",
- "status": "string",
- "created_on": 0,
- "last_activity_on": 0,
- "expires_on": 0,
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "language": "da",
- "timezone": "string",
- "office_phone": "string",
- "mobile_phone": "string"
}
}| user_id required | string (user_id) [ 1 .. 20 ] characters ^[a-zA-Z0-9]+$ |
| account_id | integer (account_id) |
| first_name | string (first_name) |
| last_name | string (last_name) |
| title | string (title) |
| office_phone | string (office_phone) |
| mobile_phone | string (mobile_phone) [0-9]+ |
| language | string (language) Enum: "da" "da_DK" "de" "de_DE" "el" "el_GR" "en" "en_US" "en_GB" "en_UK" "es" "es_US" "es_ES" "et" "et_EE" "fi" "fi_FI" "fr" "fr_CA" "fr_FR" "he" "he_IL" "id" "id_ID" "it" "it_IT" "ja" "ja_JP" "nl" "nl_NL" "no" "no_NO" "pt" "pt_BR" "ro" "ro_RO" "ru" "ru_RU" "sv" "sv_SE" "th" "th_TH" "tr" "tr_TR" "vi" "vi_VN" "zh" "zh_CN" "aa" "ab" "ae" "af" "ak" "am" "an" "ar" "av" "ay" "az" "ba" "be" "bg" "bh" "bi" "bm" "bn" "bo" "br" "bs" "ca" "ce" "ch" "co" "cr" "cs" "cu" "cv" "cy" "dv" "dz" "ee" "eo" "eu" "fa" "ff" "fj" "fo" "fy" "ga" "gd" "gl" "gn" "gu" "gv" "ha" "hi" "ho" "hr" "ht" "hu" "hy" "hz" "ia" "ie" "ig" "ii" "ik" "io" "is_IS" "iu" "jv" "ka" "kg" "ki" "kj" "kk" "kl" "km" "kn" "ko" "kr" "ks" "ku" "kv" "kw" "ky" "la" "lb" "lg" "li" "ln" "lo" "lt" "lu" "lv" "mg" "mh" "mi" "mk" "ml" "mn" "mr" "ms" "mt" "my" "na" "nb" "nd" "ne" "ng" "nn" "nr" "nv" "ny" "oc" "oj" "om" "os" "pa" "pi" "pl" "ps" "qu" "rm" "rn" "rw" "sa" "sc" "sd" "se" "sg" "si" "sk" "sl" "sm" "sn" "so" "sq" "sr" "ss" "st" "su" "sw" "ta" "te" "tg" "ti" "tk" "tl" "tn" "to" "ts" "tt" "tw" "ty" "ug" "uk" "ur" "uz" "ve" "vo" "wa" "wo" "xh" "yi" "yo" "za" "zu" Supported Locales |
| timezone | string (timezone) Based on tz database |
object (ChangePassword) |
{- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "office_phone": "string",
- "mobile_phone": "string",
- "language": "da",
- "timezone": "string",
- "password": {
- "current": "string",
- "new": "stringst"
}
}{- "id": "string",
- "object": "user",
- "patched": true,
- "data": {
- "id": "string",
- "email": "string",
- "status": "string",
- "created_on": 0,
- "last_activity_on": 0,
- "expires_on": 0,
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "language": "da",
- "timezone": "string",
- "office_phone": "string",
- "mobile_phone": "string"
}
}| user_id required | integer (user_id) |
| account_id | integer (account_id) |
{- "id": "string",
- "object": "user",
- "suspended": true,
- "data": {
- "id": "string",
- "email": "string",
- "status": "string",
- "created_on": 0,
- "last_activity_on": 0,
- "expires_on": 0,
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "language": "da",
- "timezone": "string",
- "office_phone": "string",
- "mobile_phone": "string"
}
}| user_id required | integer (user_id) |
| account_id | integer (account_id) |
{- "id": "string",
- "object": "user",
- "suspended": true,
- "data": {
- "id": "string",
- "email": "string",
- "status": "string",
- "created_on": 0,
- "last_activity_on": 0,
- "expires_on": 0,
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "language": "da",
- "timezone": "string",
- "office_phone": "string",
- "mobile_phone": "string"
}
}| user_id required | string (user_id) [ 1 .. 20 ] characters ^[a-zA-Z0-9]+$ |
| confirmation required | string (confirmation) |
| password required | string (password) >= 8 characters |
{- "confirmation": "string",
- "password": "stringst"
}{- "id": "string",
- "object": "user",
- "confirmed": true,
- "data": {
- "id": "string",
- "email": "string",
- "status": "string",
- "created_on": 0,
- "last_activity_on": 0,
- "expires_on": 0,
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "language": "da",
- "timezone": "string",
- "office_phone": "string",
- "mobile_phone": "string"
}
}| user_id required | string (user_id) [ 1 .. 20 ] characters ^[a-zA-Z0-9]+$ |
| account_id | integer (account_id) |
{- "object": "user",
- "confirmation_resent": true
}| partner_account_id | integer (partner_account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
| recursive | boolean (recursive) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
| filter | string (filter) Valid Terms:
Valid Operators:
Query separator:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "partner": true,
- "name": "string",
- "account_owner": {
- "user_id": "string"
}, - "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "created_on": 0,
- "expires_on": 0
}
]
}| partner_account_id | integer (partner_account_id) |
| skip_verification | boolean (skip_verification) Default: false |
| name required | string (name) non-empty |
object (address) | |
required | object (account_owner) |
| fax | string (fax) non-empty |
| phone | string (phone) non-empty |
| website | string <uri> (website) [ 1 .. 2083 ] characters |
object (usage_limits) Default: {} | |
object (domains) Default: {} | |
| trial | boolean (trial) Default: false |
| partner | boolean (partner) Default: false |
{- "name": "string",
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "account_owner": {
- "first_name": "string",
- "last_name": "string",
- "title": "string",
- "office_phone": "string",
- "mobile_phone": "string",
- "language": "da",
- "timezone": "string",
- "password": "stringst",
- "email": "user@example.com"
}, - "fax": "string",
- "phone": "string",
- "usage_limits": { },
- "domains": { },
- "trial": false,
- "partner": false
}{- "id": "string",
- "object": "account",
- "email": "user@example.com",
- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "name": "string",
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "account_owner": {
- "user_id": "string"
}, - "fax": "string",
- "phone": "string",
- "website": "string",
- "logo": "string",
- "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "last_activity_on": 0,
- "created_on": 0,
- "partner": true,
- "overrides": {
- "bypass_recaptcha": true,
- "inject_address": true,
- "inject_unsubscribe_link": true
}
}, - "metadata": "string",
- "created": true,
- "warnings": [ ]
}| account_id required | string (account_id) [ 1 .. 20 ] characters ^[a-zA-Z0-9]+$ |
{- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "name": "string",
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "account_owner": {
- "user_id": "string"
}, - "fax": "string",
- "phone": "string",
- "website": "string",
- "logo": "string",
- "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "last_activity_on": 0,
- "created_on": 0,
- "partner": true,
- "overrides": {
- "bypass_recaptcha": true,
- "inject_address": true,
- "inject_unsubscribe_link": true
}
}
}| account_id required | integer (account_id) |
object (address) | |
| name | string (name) |
object (account_owner) | |
| fax | string (fax) |
| phone | string (phone) |
object (domains) Default: {} | |
| website | string <uri> (website) [ 1 .. 2083 ] characters |
object (usage_limits) Default: {} | |
| trial | boolean (trial) |
| partner | boolean (partner) |
{- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "name": "string",
- "account_owner": {
- "user_id": 1
}, - "fax": "string",
- "phone": "string",
- "domains": { },
- "usage_limits": { },
- "trial": true,
- "partner": true
}{- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "name": "string",
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "account_owner": {
- "user_id": "string"
}, - "fax": "string",
- "phone": "string",
- "website": "string",
- "logo": "string",
- "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "last_activity_on": 0,
- "created_on": 0,
- "partner": true,
- "overrides": {
- "bypass_recaptcha": true,
- "inject_address": true,
- "inject_unsubscribe_link": true
}
}, - "warnings": [ ]
}| account_id required | integer (account_id) |
{- "id": "string",
- "object": "account",
- "suspended": true,
- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "partner": true,
- "name": "string",
- "account_owner": {
- "user_id": "string"
}, - "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "created_on": 0,
- "expires_on": 0
}
}| account_id required | integer (account_id) |
{- "id": "string",
- "object": "account",
- "unsuspended": true,
- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "partner": true,
- "name": "string",
- "account_owner": {
- "user_id": "string"
}, - "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "created_on": 0,
- "expires_on": 0
}
}| account_id required | string (account_id) [ 1 .. 20 ] characters ^[a-zA-Z0-9]+$ |
| confirmation required | string (confirmation) |
{- "confirmation": "string"
}{- "id": "string",
- "object": "account",
- "email": "user@example.com",
- "data": {
- "id": "string",
- "lineage": "string",
- "status": "trial",
- "name": "string",
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "province": "string",
- "postal_code": "string"
}, - "account_owner": {
- "user_id": "string"
}, - "fax": "string",
- "phone": "string",
- "website": "string",
- "logo": "string",
- "usage_limits": {
- "starts_on": 0,
- "per_campaign": 0,
- "per_month": 0,
- "maximum_contacts": 0,
- "lists": 0,
- "users": 0,
- "campaign_blueprints": 0,
- "automation_conditions": 0,
- "use_campaign_blueprints": true,
- "use_ab_split": true,
- "use_automation_conditions": true,
- "use_automation_customwebhooks": true,
- "use_html_editor": true,
- "use_contact_export": true,
- "use_custom_merge_tags": true,
- "use_list_redirection": true,
- "use_behavioral_segmentation": true,
- "use_smart_email_resource": true,
- "use_smart_blueprint": true,
- "use_brand": true,
- "use_tags_in_automation": true,
- "use_tags": true,
- "insert_reseller_logo": true
}, - "last_activity_on": 0,
- "created_on": 0,
- "partner": true,
- "overrides": {
- "bypass_recaptcha": true,
- "inject_address": true,
- "inject_unsubscribe_link": true
}
}, - "metadata": "string",
- "confirmed": true
}| email required | string <email> (email) |
{- "email": "user@example.com"
}{- "object": "account",
- "verification_resent": true
}| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| account_id | integer (account_id) |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "goal": "string",
- "status": "active",
- "trigger": "subscribed",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "created_on": 0,
- "updated_on": 0,
- "activated_on": 0
}
]
}| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
| name | string (name) |
| goal | string (goal) |
| description | string (description) |
| trigger | string (trigger) Default: "subscribed" Enum: "subscribed" "unsubscribed" "manual" An enumeration. |
required | object (WorkflowAudience) |
object (WorkflowFromBlueprint) |
{- "name": "string",
- "goal": "string",
- "description": "string",
- "trigger": "subscribed",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "blueprint": {
- "id": "string",
- "email_settings": {
- "sender": {
- "id": "string"
}
}
}
}{- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "goal": "string",
- "status": "active",
- "trigger": "subscribed",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "created_on": 0,
- "updated_on": 0,
- "activated_on": 0
}, - "id": "string",
- "object": "workflow",
- "created": true
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
{- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "goal": "string",
- "status": "active",
- "trigger": "subscribed",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "created_on": 0,
- "updated_on": 0,
- "activated_on": 0
}
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
{- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "goal": "string",
- "status": "active",
- "trigger": "subscribed",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "created_on": 0,
- "updated_on": 0,
- "activated_on": 0
}, - "id": "string",
- "object": "workflow",
- "deleted": true
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
| name | string (name) |
| goal | string (goal) |
| description | string (description) |
| trigger | string (trigger) Enum: "subscribed" "unsubscribed" "manual" An enumeration. |
object (WorkflowAudience) | |
object (WorkflowFromBlueprint) |
{- "name": "string",
- "goal": "string",
- "description": "string",
- "trigger": "subscribed",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "blueprint": {
- "id": "string",
- "email_settings": {
- "sender": {
- "id": "string"
}
}
}
}{- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "goal": "string",
- "status": "active",
- "trigger": "subscribed",
- "audience": {
- "list_id": 0,
- "segment_id": 0
}, - "created_on": 0,
- "updated_on": 0,
- "activated_on": 0
}, - "id": "string",
- "object": "workflow",
- "patched": true
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
| sender_email | string (sender_email) |
{- "id": "string",
- "object": "workflow",
- "activated": true
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| lock_key | string (lock_key) ^[a-zA-Z0-9-_]{8,}$ Locking key, preventing other users from modifying this workflow for a short period. |
{- "id": "string",
- "object": "workflow",
- "deactivated": true
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| key required | string (key) ^[a-zA-Z0-9-_]{8,}$ |
{- "key": "string"
}{- "object": "workflow",
- "locked": true,
- "expires_in": 0
}| workflow_id required | string (workflow_id) |
| account_id | integer (account_id) |
| key required | string (key) ^[a-zA-Z0-9-_]{8,}$ |
{- "key": "string"
}{- "object": "workflow",
- "locked": true,
- "expires_in": 0
}| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "goal": "string",
- "trigger": "subscribed",
- "created_on": 0,
- "updated_on": 0
}
]
}| blueprint_id required | string (blueprint_id) |
| page | integer (page) Default: 1 |
| per_page | integer (per_page) Default: 50 |
| with_count | boolean (with_count) Default: false |
| sort | string (sort) Sort term and direction, using syntax Valid terms:
|
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "created_on": 0,
- "updated_on": 0,
- "thumbnail_url": "string"
}
]
}| blueprint_id required | string (blueprint_id) |
| action_id required | string (action_id) |
{- "data": {
- "id": "string",
- "created_on": 0,
- "updated_on": 0,
- "name": "string",
- "parent_id": "string",
- "condition": "opened",
- "delay": 0,
- "type": "email",
- "email_settings": {
- "tracking": {
- "opens": true,
- "clicks_html": true,
- "clicks_text": true
}, - "content": {
- "subject": "string",
- "html": "string",
- "text": "string",
- "json": { },
- "type": "html",
- "encoding": "utf-8",
- "template": {
- "id": 0
}
}
}
}
}Show system emails configuration
| account_id | integer (account_id) |
{- "data": {
- "account_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "user_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "sender_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "password_reset": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
]
}
}Set system emails configuration
| account_id | integer (account_id) |
Array of objects (account_confirm) | |
Array of objects (user_confirm) | |
Array of objects (sender_confirm) | |
Array of objects (password_reset) |
{- "account_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "user_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "sender_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "password_reset": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
]
}{- "object": "systememails",
- "updated": true,
- "data": {
- "account_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "user_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "sender_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "password_reset": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
]
}
}Partially update system emails configuration
| account_id | integer (account_id) |
Array of objects (account_confirm) | |
Array of objects (user_confirm) | |
Array of objects (sender_confirm) | |
Array of objects (password_reset) |
{- "account_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "user_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "sender_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "password_reset": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
]
}{- "object": "systememails",
- "updated": true,
- "data": {
- "account_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "user_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "sender_confirm": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
], - "password_reset": [
- {
- "language": "da",
- "template": {
- "id": 0
}, - "sender": {
- "id": "string"
}
}
]
}
}| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_archived | boolean (with_archived) Default: false |
| account_id | integer (account_id) |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "id": "string",
- "status": "active",
- "event": "Account.Created",
- "archived_at": 0,
- "rate_limit": 0,
- "rate_limit_period": "second"
}
]
}| account_id | integer (account_id) |
| event required | string (EventType) Enum: "Account.Created" "Account.Updated" "Account.Confirmed" "Account.Deleted" "Contact.Added" "Contact.Updated" "Contact.Removed" "Contact.Tagged" "Contact.Untagged" "ContactsExport.Created" "ContactsExport.Deleted" "Campaign.Canceled" "Campaign.Created" "Campaign.Unscheduled" "Campaign.Updated" "Campaign.Resumed" "Campaign.Scheduled" "Campaign.Suspended" "CampaignLogExport.Created" "Email.Sent" "Email.Opened" "Email.Clicked" "Email.Bounced" "Email.ReportedAsSpam" "User.Created" "User.Deleted" "User.LoggedIn" "User.Updated" "List.Created" "List.Updated" "List.Deleted" "Segment.Created" "Segment.Updated" "Segment.Deleted" "Sender.Created" "Sender.Updated" "Sender.Deleted" "Sender.Confirmed" "Sender.ConfirmationEmailSent" "SuppressedEmail.Added" "SuppressedEmail.Removed" An enumeration. |
| url required | string <uri> (url) [ 1 .. 2083 ] characters |
| rate_limit | integer (rate_limit) Default: 80 |
| rate_limit_period | string (rate_limit_period) Default: "second" Enum: "second" "minute" An enumeration. |
{- "event": "Account.Created",
- "rate_limit": 80,
- "rate_limit_period": "second"
}{- "id": "string",
- "data": {
- "id": "string",
- "status": "active",
- "event": "Account.Created",
- "archived_at": 0,
- "rate_limit": 0,
- "rate_limit_period": "second"
}
}| webhook_id required | string (webhook_id) |
| account_id | integer (account_id) |
{- "id": "string",
- "data": {
- "id": "string",
- "status": "active",
- "event": "Account.Created",
- "archived_at": 0,
- "rate_limit": 0,
- "rate_limit_period": "second"
}, - "object": "Webhook",
- "archived": true
}| webhook_id required | string (webhook_id) |
| account_id | integer (account_id) |
{- "id": "string",
- "data": {
- "id": "string",
- "status": "active",
- "event": "Account.Created",
- "archived_at": 0,
- "rate_limit": 0,
- "rate_limit_period": "second"
}, - "object": "Webhook",
- "archived": false
}| webhook_id required | string (webhook_id) |
| account_id | integer (account_id) |
{- "id": "string",
- "signature": {
- "key": "string",
- "hash_function": "sha256"
}, - "data": {
- "id": "string",
- "status": "active",
- "event": "Account.Created",
- "archived_at": 0,
- "rate_limit": 0,
- "rate_limit_period": "second"
}
}| webhook_id required | string (webhook_id) |
| account_id | integer (account_id) |
| url | string <uri> (url) [ 1 .. 2083 ] characters |
| rate_limit | integer (rate_limit) |
| rate_limit_period | string (RateLimitPeriod) Enum: "second" "minute" An enumeration. |
{- "rate_limit": 0,
- "rate_limit_period": "second"
}{- "id": "string",
- "data": {
- "id": "string",
- "status": "active",
- "event": "Account.Created",
- "archived_at": 0,
- "rate_limit": 0,
- "rate_limit_period": "second"
}, - "object": "Webhook",
- "patched": true
}| tag required | string (tag) [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ |
| account_id | integer (account_id) |
| tag required | string (tag) [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ |
{- "tag": "string"
}{- "tag": "string",
- "object": "tag",
- "updated": true,
- "data": {
- "tag": "string"
}
}| account_id | integer (account_id) |
| page | integer (page) >= 1 Default: 1 |
| per_page | integer (per_page) >= 1 Default: 50 |
| with_count | boolean (with_count) Default: false |
{- "pagination": {
- "count": 0,
- "page": 1,
- "per_page": 0
}, - "data": [
- {
- "tag": "string"
}
]
}| account_id | integer (account_id) |
| tag required | string (tag) [ 1 .. 64 ] characters ^[A-Za-z0-9.\-+_]+$ |
{- "tag": "string"
}{- "tag": "string",
- "object": "tag",
- "created": true,
- "data": {
- "tag": "string"
}
}