All URIs are relative to https://api.bombbomb.com/v2
Method | HTTP request | Description |
---|---|---|
AddContactsCSV | Post /contacts/import_csv | Add contacts from a CSV file. |
AddNewContact | Post /contacts/ | Add a contact. |
AddNewCustomField | Post /contacts/custom_fields/ | Add custom fields. |
AddPastedContacts | Post /contacts/paste | Add pasted contacts. |
CSVToObject | Post /csv-to-object | Format CSV. |
DeleteContacts | Put /contacts/delete | Delete Contacts |
GetContactById | Get /contact/{id} | Get Contact Details |
GetCustomFields | Get /contacts/custom_fields/ | Get custom fields. |
AddContactsCSV(ctx, mappingData, listData) Add contacts from a CSV file.
Add multiple contacts through the upload importer from a CSV file.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
mappingData | string | The info sent for the contacts | |
listData | string | The info sent with the import for the list |
(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]
AddNewContact(ctx, contactEmail, optional) Add a contact.
Add a contact to the users list.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
contactEmail | string | Email of the new contact we are adding | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
contactEmail | string | Email of the new contact we are adding | |
contactInfo | string | The info sent for this contact |
(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]
AddNewCustomField(ctx, fieldName, optional) Add custom fields.
Add a new custom field.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
fieldName | string | Custom field name to be added | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
fieldName | string | Custom field name to be added | |
fieldType | string | Custom field type for the field to be 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]
AddPastedContacts(ctx, contactEmails, optional) Add pasted contacts.
Add the pasted contacts to the users list.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
contactEmails | string | Emails array of the new contacts we are adding | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
contactEmails | string | Emails array of the new contacts we are adding | |
listInfo | string | Information about the lists id, recalculations on totals, consent etc |
(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]
CSVToObject(ctx, file) Format CSV.
Format a CSV file to an object.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
file | string | The CSV file being uploaded |
(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]
DeleteContacts(ctx, optional) Delete Contacts
Delete all contacts within a list, or provide a comma separated list of contactIds to delete.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
listId | string | The list of contacts to be deleted. | |
contactIds | string | comma separated list of contact ids to delete |
(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]
GetContactById(ctx, id) Get Contact Details
Get the contact details
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | string | Guid for the contact. |
(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]
GetCustomFields(ctx, ) Get custom fields.
Get the current users custom fields.
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]