All URIs are relative to https://api.bombbomb.com/v2
Method | HTTP request | Description |
---|---|---|
CreatePromptBot | Post /prompts/bots | Create a running Prompt Bot for a list |
CreateVideoEmailPrompt | Post /prompt | Prompts user to send a video |
GetAlternateCampaignContent | Get /campaign/{campaignId}/content/alternate | List alternate campaign content |
GetPendingVideoEmailPrompts | Get /prompt/pending | List pending prompts |
GetPromptBots | Get /prompts/bots | List Prompt Bots |
GetPromptCampaigns | Get /prompts/{userId}/campaigns | List Prompt Campaigns |
GetVideoEmailPrompt | Get /prompt/{id} | Gets a prompt |
GetVideoEmailPrompts | Get /prompt/ | List prompts |
RespondToVideoEmailPrompt | Post /prompt/{id}/response | Respond to a prompt |
SendPromptImmediately | Post /prompt/{id}/sendit | |
SyncPromptSubscriptions | Post /prompts/campaigns/sync | Syncs Campaigns and One to Ones Subscriptions for User |
UpdatePrompt | Put /prompts/{id} | Update Prompt |
UpdatePromptBot | Put /prompts/bots/{id} | Update Prompt Bot |
UpdatePromptCampaign | Put /prompts/campaigns/{clientGroupId} | Update Prompt Campaign |
UpdatePromptTemplate | Put /prompts/{id}/content | Update Prompt Content |
PromptBot CreatePromptBot(ctx, emailId, name, subject, content, contactFieldValueColumn, botTypeId, templateId, optional) Create a running Prompt Bot for a list
Creates a Prompt Bot that sends emails to contacts on a list over the span of time defined.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
emailId | string | The default email to use. | |
name | string | The name of the bot. | |
subject | string | The subject of the default email. | |
content | string | The content used in the email. | |
contactFieldValueColumn | string | The custom field value column with dates for this bot. | |
botTypeId | string | The type of bot to create. | |
templateId | string | The template used to create the email id. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
emailId | string | The default email to use. | |
name | string | The name of the bot. | |
subject | string | The subject of the default email. | |
content | string | The content used in the email. | |
contactFieldValueColumn | string | The custom field value column with dates for this bot. | |
botTypeId | string | The type of bot to create. | |
templateId | string | The template used to create the email id. | |
listId | string | The list id to attach the bot to. | |
videoId | string | The video used in the email. | |
endDate | string | The time frame to complete sending to the list. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VideoEmailPrompt CreateVideoEmailPrompt(ctx, prompt) Prompts user to send a video
Sends the account holder an email prompting them to add a video to a scheduled outgoing message. Recipients, content and timing is all preset for the user.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
prompt | VideoEmailPrompt | The Video Email Prompt to be created |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAlternateCampaignContent(ctx, clientGroupId) List alternate campaign content
Returns a list of alternate campaign content by campaign id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
clientGroupId | string | Id for the campaign |
(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]
[]VideoEmailPrompt GetPendingVideoEmailPrompts(ctx, ) List pending prompts
Returns a list of prompts that have not been sent yet, and can still be customized.
This endpoint does not need any parameter.
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PromptBot GetPromptBots(ctx, ) List Prompt Bots
Returns a list of all Prompt Bots for the user.
This endpoint does not need any parameter.
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetPromptCampaigns(ctx, ) List Prompt Campaigns
Returns a list of all Prompt Campaigns for the 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]
VideoEmailPrompt GetVideoEmailPrompt(ctx, id) Gets a prompt
Gets a prompt
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | string | The Id of the prompt |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]VideoEmailPrompt GetVideoEmailPrompts(ctx, ) List prompts
Returns a list of all prompts.
This endpoint does not need any parameter.
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VideoEmailPrompt RespondToVideoEmailPrompt(ctx, id, choice, optional) Respond to a prompt
Respond to a prompt by either adding a video, sending without a video or cancelling the prompt.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | string | The id of the prompt. | |
choice | string | The users' selection. Can be: WithVideo, WithEmail, Cancel, Restore, Reset, Manual | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
id | string | The id of the prompt. | |
choice | string | The users' selection. Can be: WithVideo, WithEmail, Cancel, Restore, Reset, Manual | |
videoId | string | The id of the video. | |
emailId | string | The id of the email. | |
subject | string | The subject of the email |
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SendPromptImmediately(ctx, id)
Ignore send date and send the prompt now.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | string | The Id of the prompt |
(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]
SyncPromptSubscriptions(ctx, optional) Syncs Campaigns and One to Ones Subscriptions for User
Syncs Campaigns and One to Ones Subscriptions for User based on their profile information. The user must be a Prompt Subscriber.
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 |
---|---|---|---|
migrate | bool | After syncing, migrate away from old campaigns. |
(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]
UpdatePrompt(ctx, id, optional) Update Prompt
Updates a Prompt
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | string | The prompt's id | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
id | string | The prompt's id | |
sendMechanism | string | The mechanism for the prompt to be sent | |
facebookMessage | string | The facebook message assigned to the prompt | |
twitterMessage | string | The twitter message assigned to the prompt | |
videoId | string | The id of the video. | |
emailId | string | The id of the email. | |
subject | string | The subject of the email | |
resetCache | string | The subject of the email | |
resetEmailContent | string | The subject of the email | |
status | string | The status of the prompt |
(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]
PromptBot UpdatePromptBot(ctx, id, emailId, name, subject, content, contactFieldValueColumn, templateId, optional) Update Prompt Bot
Updates a Prompt Bot's settings.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | string | The bot id. | |
emailId | string | The default email to use. | |
name | string | The name of the bot. | |
subject | string | The subject of the default email. | |
content | string | The content used in the default email. | |
contactFieldValueColumn | string | The custom field value column with dates for this bot. | |
templateId | string | The template used to create the email id. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
id | string | The bot id. | |
emailId | string | The default email to use. | |
name | string | The name of the bot. | |
subject | string | The subject of the default email. | |
content | string | The content used in the default email. | |
contactFieldValueColumn | string | The custom field value column with dates for this bot. | |
templateId | string | The template used to create the email id. | |
listId | string | The list id to attach the bot to. | |
videoId | string | The video used in the default email. | |
endDate | string | The time frame to complete sending to the list. | |
status | string | The status of the bot. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdatePromptCampaign(ctx, clientGroupId, optional) Update Prompt Campaign
Updates a Prompt Campaign's Settings
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
clientGroupId | string | The client group of the campaign. | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
clientGroupId | string | The client group of the campaign. | |
brandedTemplateId | string | The template to use for branded feel emails. | |
personalTemplateId | string | The template to use for personal feel emails. | |
enabled | bool | Set whether the user is able to start receiving prompts. | |
sendMechanism | string | The way to send the prompt |
(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]
UpdatePromptTemplate(ctx, id, alternateContentId, newEmailId, ogEmailId, newExampleVideoId) Update Prompt Content
Updates a Prompt Content
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
id | string | The prompt's id | |
alternateContentId | string | The alternate content id | |
newEmailId | string | The prompt's new email id | |
ogEmailId | string | The prompt's original email id | |
newExampleVideoId | string | The prompt's new tutorial video id |
(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]