You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**emails** | **[String]** | Emails to add to a list | [optional]
6
+
**emails** | **[String]** | Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
[**createContact**](ContactsApi.md#createContact) | **POST** /contacts | Create a contact
10
+
[**createDoiContact**](ContactsApi.md#createDoiContact) | **POST** /contacts/doubleOptinConfirmation | Create a contact to trigger the DOI workflow from a Landing Page form
10
11
[**createFolder**](ContactsApi.md#createFolder) | **POST** /contacts/folders | Create a folder
11
12
[**createList**](ContactsApi.md#createList) | **POST** /contacts/lists | Create a list
12
-
[**deleteAttribute**](ContactsApi.md#deleteAttribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Deletes an attribute
13
-
[**deleteContact**](ContactsApi.md#deleteContact) | **DELETE** /contacts/{email} | Deletes a contact
13
+
[**deleteAttribute**](ContactsApi.md#deleteAttribute) | **DELETE** /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute
14
+
[**deleteContact**](ContactsApi.md#deleteContact) | **DELETE** /contacts/{email} | Delete a contact
14
15
[**deleteFolder**](ContactsApi.md#deleteFolder) | **DELETE** /contacts/folders/{folderId} | Delete a folder (and all its lists)
15
16
[**deleteList**](ContactsApi.md#deleteList) | **DELETE** /contacts/lists/{listId} | Delete a list
16
-
[**getAttributes**](ContactsApi.md#getAttributes) | **GET** /contacts/attributes | Lists all attributes
[**removeContactFromList**](ContactsApi.md#removeContactFromList) | **POST** /contacts/lists/{listId}/contacts/remove | Remove existing contacts from a list
28
+
[**removeContactFromList**](ContactsApi.md#removeContactFromList) | **POST** /contacts/lists/{listId}/contacts/remove | Delete a contact from a list
'startDate':newDate("2013-10-20"), // Date | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
719
+
'endDate':newDate("2013-10-20") // Date | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate
**email** | **String**| Email address (urlencoded) of the contact |
734
+
**startDate** | **Date**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional]
735
+
**endDate** | **Date**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional]
675
736
676
737
### Return type
677
738
@@ -749,7 +810,7 @@ Name | Type | Description | Notes
749
810
# **getContactsFromList**
750
811
> GetContacts getContactsFromList(listId, opts)
751
812
752
-
Get the contacts in a list
813
+
Get contacts in a list
753
814
754
815
### Example
755
816
```javascript
@@ -811,7 +872,7 @@ Name | Type | Description | Notes
811
872
# **getFolder**
812
873
> GetFolder getFolder(folderId)
813
874
814
-
Returns folder details
875
+
Returns a folder's details
815
876
816
877
### Example
817
878
```javascript
@@ -865,7 +926,7 @@ Name | Type | Description | Notes
865
926
# **getFolderLists**
866
927
> GetFolderLists getFolderLists(folderId, opts)
867
928
868
-
Get the lists in a folder
929
+
Get lists in a folder
869
930
870
931
### Example
871
932
```javascript
@@ -925,7 +986,7 @@ Name | Type | Description | Notes
925
986
# **getFolders**
926
987
> GetFolders getFolders(limit, offset)
927
988
928
-
Get all the folders
989
+
Get all folders
929
990
930
991
### Example
931
992
```javascript
@@ -982,7 +1043,7 @@ Name | Type | Description | Notes
982
1043
# **getList**
983
1044
> GetExtendedList getList(listId)
984
1045
985
-
Get the details of a list
1046
+
Get a list's details
986
1047
987
1048
### Example
988
1049
```javascript
@@ -1149,7 +1210,7 @@ Name | Type | Description | Notes
**value** | **String** | Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' | [optional]
6
+
**value** | **String** | Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' | [optional]
7
7
**enumeration** | [**[CreateAttributeEnumeration]**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{\"value\":1, \"label\":\"male\"}, {\"value\":2, \"label\":\"female\"}] | [optional]
8
-
**type** | **String** | Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' is only available if the category is 'normal' attribute, type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) | [optional]
8
+
**type** | **String** | Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' is only available if the category is 'normal' attribute, type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) | [optional]
9
9
10
10
11
11
<aname="TypeEnum"></a>
@@ -23,3 +23,7 @@ Name | Type | Description | Notes
**email** | **String** | Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in \"SMS\" field should be passed with proper country code. For example {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"} | [optional]
7
-
**attributes** | **Object** | Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"} | [optional]
8
-
**emailBlacklisted** | **Boolean** | Set this field to blacklist the contact for emails (emailBlacklisted = true) | [optional]
9
-
**smsBlacklisted** | **Boolean** | Set this field to blacklist the contact for SMS (smsBlacklisted = true) | [optional]
10
-
**listIds** | **[Number]** | Ids of the lists to add the contact to | [optional]
6
+
**email** | **String** | Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. Mobile Number in \"SMS\" field should be passed with proper country code. For example {\"SMS\":\"+91xxxxxxxxxx\"} or {\"SMS\":\"0091xxxxxxxxxx\"} | [optional]
7
+
**attributes** | **Object** | Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"} | [optional]
8
+
**emailBlacklisted** | **Boolean** | Set this field to blacklist the contact for emails (emailBlacklisted = true) | [optional]
9
+
**smsBlacklisted** | **Boolean** | Set this field to blacklist the contact for SMS (smsBlacklisted = true) | [optional]
10
+
**listIds** | **[Number]** | Ids of the lists to add the contact to | [optional]
11
11
**updateEnabled** | **Boolean** | Facilitate to update the existing contact in the same request (updateEnabled = true) | [optional][default to false]
12
-
**smtpBlacklistSender** | **[String]** | transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true ) | [optional]
12
+
**smtpBlacklistSender** | **[String]** | transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true ) | [optional]
0 commit comments