All URIs are relative to https://api.bombbomb.com/v2
Method | HTTP request | Description |
---|---|---|
GetFacebookPages | GET /socials/facebook/pages | Gets facebook pages |
GetSocialArticleProperties | GET /socials/properties | Gets the social email properties |
GetSocialAuthorizations | GET /socials/authorizations | Get authorizations for all social integration |
GetSocialProfileProperties | GET /socials/profile | Gets the profile properties |
GetSocialStats | GET /socials/{promptId}/stats | Get social stats for a prompt |
PostSocialContent | POST /socials/content | Creates social content |
RetrySocialSend | POST /socials/send/retry | Sends social content |
SendSocial | POST /socials/send | Sends social content |
UpdateClientGroupSendMechanism | PUT /socials/client/sendMechanism | Gets the auto shares from the client group assoc id |
UpdateClientGroupsSendMechanism | PUT /socials/client/sendMechanisms | Toggles the prompt campaigns in a users account |
UpdateFacebookPages | PUT /socials/facebook/pages | Updates facebook page Ids |
UpdateSocialContent | PUT /socials/content | Updates social content |
void GetFacebookPages ()
Gets facebook pages
Gets facebook pages by client id
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetFacebookPagesExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
try
{
// Gets facebook pages
apiInstance.GetFacebookPages();
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.GetFacebookPages: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
void (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]
void GetSocialArticleProperties (string emailId, string socialContentId)
Gets the social email properties
Gets the social email properties
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetSocialArticlePropertiesExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var emailId = emailId_example; // string | This is the email Id for the email url
var socialContentId = socialContentId_example; // string | This is the social content Id
try
{
// Gets the social email properties
apiInstance.GetSocialArticleProperties(emailId, socialContentId);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.GetSocialArticleProperties: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
emailId | string | This is the email Id for the email url | |
socialContentId | string | This is the social content Id |
void (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]
void GetSocialAuthorizations (string clientGroupId = null)
Get authorizations for all social integration
Get authorizations and autoshares for all social integration and has redirect for user to login
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetSocialAuthorizationsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var clientGroupId = clientGroupId_example; // string | ID of the client group association (optional)
try
{
// Get authorizations for all social integration
apiInstance.GetSocialAuthorizations(clientGroupId);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.GetSocialAuthorizations: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
clientGroupId | string | ID of the client group association | [optional] |
void (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]
void GetSocialProfileProperties (string socialType)
Gets the profile properties
Gets the social profile properties
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetSocialProfilePropertiesExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var socialType = socialType_example; // string | The social type
try
{
// Gets the profile properties
apiInstance.GetSocialProfileProperties(socialType);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.GetSocialProfileProperties: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
socialType | string | The social type |
void (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]
void GetSocialStats (string promptId)
Get social stats for a prompt
Get social stats for a prompt by id
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetSocialStatsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var promptId = promptId_example; // string | ID of the prompt
try
{
// Get social stats for a prompt
apiInstance.GetSocialStats(promptId);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.GetSocialStats: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
promptId | string | ID of the prompt |
void (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]
void PostSocialContent (string emailId)
Creates social content
Creates social content for an email
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class PostSocialContentExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var emailId = emailId_example; // string | The email's id
try
{
// Creates social content
apiInstance.PostSocialContent(emailId);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.PostSocialContent: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
emailId | string | The email's id |
void (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]
void RetrySocialSend (string promptId)
Sends social content
Sends social content that failed for a user via their associated prompt
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class RetrySocialSendExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var promptId = promptId_example; // string | The prompt id
try
{
// Sends social content
apiInstance.RetrySocialSend(promptId);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.RetrySocialSend: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
promptId | string | The prompt id |
void (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]
void SendSocial (string promptId, string socialType)
Sends social content
Sends social content for a user via their associated prompt
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SendSocialExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var promptId = promptId_example; // string | The prompt id
var socialType = socialType_example; // string | The destination for social content
try
{
// Sends social content
apiInstance.SendSocial(promptId, socialType);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.SendSocial: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
promptId | string | The prompt id | |
socialType | string | The destination for social content |
void (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]
void UpdateClientGroupSendMechanism (string sendMechanism, string clientGroupId, string enabled = null)
Gets the auto shares from the client group assoc id
Gets the auto shares from the client group assoc id
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateClientGroupSendMechanismExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var sendMechanism = sendMechanism_example; // string | The send mechanism for the prompt
var clientGroupId = clientGroupId_example; // string | ID of the client group association
var enabled = enabled_example; // string | Is the send mechanism enabled? (optional)
try
{
// Gets the auto shares from the client group assoc id
apiInstance.UpdateClientGroupSendMechanism(sendMechanism, clientGroupId, enabled);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.UpdateClientGroupSendMechanism: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
sendMechanism | string | The send mechanism for the prompt | |
clientGroupId | string | ID of the client group association | |
enabled | string | Is the send mechanism enabled? | [optional] |
void (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]
void UpdateClientGroupsSendMechanism (string sendMechanism, string enabled)
Toggles the prompt campaigns in a users account
Toggles the prompt campaigns in a users account for a social integrations on or off
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateClientGroupsSendMechanismExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var sendMechanism = sendMechanism_example; // string | The send mechanism for the prompt
var enabled = enabled_example; // string | Is the send mechanism enabled?
try
{
// Toggles the prompt campaigns in a users account
apiInstance.UpdateClientGroupsSendMechanism(sendMechanism, enabled);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.UpdateClientGroupsSendMechanism: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
sendMechanism | string | The send mechanism for the prompt | |
enabled | string | Is the send mechanism enabled? |
void (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]
void UpdateFacebookPages (string pageIds)
Updates facebook page Ids
Updates facebook page Ids to be sent to for prompts
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateFacebookPagesExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var pageIds = pageIds_example; // string | Page Ids for the prompt
try
{
// Updates facebook page Ids
apiInstance.UpdateFacebookPages(pageIds);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.UpdateFacebookPages: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
pageIds | string | Page Ids for the prompt |
void (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]
void UpdateSocialContent (string socialId, string title = null, string description = null, string pictureUrl = null, string suggestedMessage = null)
Updates social content
Updates social content for an email
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateSocialContentExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new SocialsApi();
var socialId = socialId_example; // string | The social id
var title = title_example; // string | The title for the article (optional)
var description = description_example; // string | The article description (optional)
var pictureUrl = pictureUrl_example; // string | The article picture url (optional)
var suggestedMessage = suggestedMessage_example; // string | The suggested message to use (optional)
try
{
// Updates social content
apiInstance.UpdateSocialContent(socialId, title, description, pictureUrl, suggestedMessage);
}
catch (Exception e)
{
Debug.Print("Exception when calling SocialsApi.UpdateSocialContent: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
socialId | string | The social id | |
title | string | The title for the article | [optional] |
description | string | The article description | [optional] |
pictureUrl | string | The article picture url | [optional] |
suggestedMessage | string | The suggested message to use | [optional] |
void (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]