All URIs are relative to https://api.bombbomb.com/v2
Method | HTTP request | Description |
---|---|---|
AddNewList | Post /lists/ | Add list. |
ClearList | Put /lists/{listId}/clear | Clear Contacts from List |
CopyListContacts | Post /lists/{listId}/copy | Copy All Contacts from a List |
GetAllLists | Get /lists/ | Get all Lists |
SuppressAllInList | Put /lists/{listId}/suppress | Suppress All Contacts from List |
AddNewList(ctx, listName) Add list.
Add a list to the users account.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
listName | string | Name of the new list being added |
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ClearList(ctx, listId) Clear Contacts from List
Clears all contacts from a list.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
listId | string | The list to be cleared. |
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CopyListContacts(ctx, fromListId, listId) Copy All Contacts from a List
Copy all contacts from a list.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
fromListId | string | The list to be cleared. | |
listId | string | The list to be cleared. |
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAllLists(ctx, ) Get all Lists
Get all the lists for a specific user.
This endpoint does not need any parameter.
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SuppressAllInList(ctx, listId) Suppress All Contacts from List
Suppresses all contacts in a list.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
listId | string | The list to be cleared. |
(empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]