Run an automation flow test
curl --request POST \
--url https://api.bundle.social/api/v1/automations/{id}/test \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"input": {}
}'import requests
url = "https://api.bundle.social/api/v1/automations/{id}/test"
payload = { "input": {} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({input: {}})
};
fetch('https://api.bundle.social/api/v1/automations/{id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bundle.social/api/v1/automations/{id}/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'input' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bundle.social/api/v1/automations/{id}/test"
payload := strings.NewReader("{\n \"input\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bundle.social/api/v1/automations/{id}/test")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"input\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bundle.social/api/v1/automations/{id}/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"teamId": "<string>",
"flowId": "<string>",
"flowVersionId": "<string>",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"status": "QUEUED",
"idempotencyKey": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"triggerId": "<string>",
"conversationId": "<string>",
"conversationMessageId": "<string>",
"fetchedCommentId": "<string>",
"senderExternalId": "<string>",
"currentStepId": "<string>",
"input": {},
"output": {},
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true
},
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"flow": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"status": "DRAFT",
"platformScope": "INSTAGRAM",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"createdByUserId": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"draftVersion": {
"id": "<string>",
"flowId": "<string>",
"version": 123,
"status": "DRAFT",
"definition": {
"trigger": {
"type": "COMMENT_CREATED",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"keywords": [
"<string>"
],
"matchMode": "ANY",
"caseSensitive": false,
"senderExternalIds": [
"<string>"
],
"payloads": [
"<string>"
],
"actionDelaySeconds": 0,
"id": "<string>",
"postId": "<string>"
},
"steps": [
{
"type": "CONDITION",
"conditions": [
{
"field": "TEXT",
"operator": "CONTAINS",
"value": "<string>",
"id": "<string>",
"caseSensitive": false
}
],
"id": "<string>"
}
]
},
"createdAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"publishedByUserId": "<string>"
},
"publishedVersion": {
"id": "<string>",
"flowId": "<string>",
"version": 123,
"status": "DRAFT",
"definition": {
"trigger": {
"type": "COMMENT_CREATED",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"keywords": [
"<string>"
],
"matchMode": "ANY",
"caseSensitive": false,
"senderExternalIds": [
"<string>"
],
"payloads": [
"<string>"
],
"actionDelaySeconds": 0,
"id": "<string>",
"postId": "<string>"
},
"steps": [
{
"type": "CONDITION",
"conditions": [
{
"field": "TEXT",
"operator": "CONTAINS",
"value": "<string>",
"id": "<string>",
"caseSensitive": false
}
],
"id": "<string>"
}
]
},
"createdAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"publishedByUserId": "<string>"
}
},
"flowVersion": {
"id": "<string>",
"flowId": "<string>",
"version": 123,
"status": "DRAFT",
"definition": {
"trigger": {
"type": "COMMENT_CREATED",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"keywords": [
"<string>"
],
"matchMode": "ANY",
"caseSensitive": false,
"senderExternalIds": [
"<string>"
],
"payloads": [
"<string>"
],
"actionDelaySeconds": 0,
"id": "<string>",
"postId": "<string>"
},
"steps": [
{
"type": "CONDITION",
"conditions": [
{
"field": "TEXT",
"operator": "CONTAINS",
"value": "<string>",
"id": "<string>",
"caseSensitive": false
}
],
"id": "<string>"
}
]
},
"createdAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"publishedByUserId": "<string>"
},
"steps": [
{
"id": "<string>",
"executionId": "<string>",
"status": "PENDING",
"attemptCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stepId": "<string>",
"input": {},
"output": {},
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true
},
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
],
"conversation": {
"id": "<string>",
"teamId": "<string>",
"socialAccountId": "<string>",
"platform": "INSTAGRAM",
"externalParticipantId": "<string>",
"status": "OPEN",
"lastActivityAt": "2023-11-07T05:31:56Z",
"unreadCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"externalConversationId": "<string>",
"participantUsername": "<string>",
"participantDisplayName": "<string>",
"participantAvatarUrl": "<string>",
"lastMessageAt": "2023-11-07T05:31:56Z",
"lastMessagePreview": "<string>",
"lastReadAt": "2023-11-07T05:31:56Z",
"platformSeenAt": "2023-11-07T05:31:56Z",
"platformData": {},
"socialAccount": {
"id": "<string>",
"type": "TIKTOK",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"username": "<string>",
"displayName": "<string>",
"bio": "<string>",
"avatarUrl": "<string>",
"externalId": "<string>",
"providerPageId": "<string>",
"userUsername": "<string>",
"userDisplayName": "<string>",
"userEmail": "<string>",
"userId": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"address": "<string>",
"avatarUrl": "<string>",
"webhook": {
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"url": "<string>"
},
"metadata": {
"allowImages": true,
"allowVideos": true,
"allowGalleries": true,
"linkFlairEnabled": true,
"facebookPageId": "<string>"
}
}
],
"mastodonServerId": "<string>",
"instagramConnectionMethod": "FACEBOOK",
"twitterSubType": "none",
"isTiktokBusinessAccount": true,
"disconnectedCheckTryAt": "2023-11-07T05:31:56Z",
"deleteOn": "2023-11-07T05:31:56Z",
"messagingStatus": "DISABLED",
"messagingStatusUpdatedAt": "2023-11-07T05:31:56Z",
"messagingLastError": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
}
},
"conversationMessage": {
"id": "<string>",
"conversationId": "<string>",
"teamId": "<string>",
"socialAccountId": "<string>",
"platform": "INSTAGRAM",
"direction": "INBOUND",
"status": "PENDING",
"source": "PRIVATE_REPLY",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"externalMessageId": "<string>",
"text": "<string>",
"attachments": [],
"sentAt": "2023-11-07T05:31:56Z",
"failedAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"seenAt": "2023-11-07T05:31:56Z",
"replyTo": {
"externalMessageId": "<string>",
"isSelfReply": true,
"messageId": "<string>"
},
"privateReplyContext": {
"fetchedCommentId": "<string>",
"externalCommentId": "<string>",
"text": "<string>",
"authorName": "<string>",
"authorAvatarUrl": "<string>",
"publishedAt": "2023-11-07T05:31:56Z",
"postId": "<string>",
"externalPostId": "<string>",
"postPermalink": "<string>",
"postThumbnailUrl": "<string>"
},
"platformData": {}
},
"fetchedComment": {
"id": "<string>",
"teamId": "<string>",
"socialAccountId": "<string>",
"importId": "<string>",
"platform": "FACEBOOK",
"externalId": "<string>",
"likesCount": 123,
"repliesCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"postId": "<string>",
"importedPostId": "<string>",
"externalParentId": "<string>",
"externalPostId": "<string>",
"authorName": "<string>",
"authorExternalId": "<string>",
"authorProfileUrl": "<string>",
"authorAvatarUrl": "<string>",
"text": "<string>",
"platformData": {},
"publishedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"socialAccount": {
"id": "<string>",
"type": "TIKTOK",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"username": "<string>",
"displayName": "<string>",
"bio": "<string>",
"avatarUrl": "<string>",
"externalId": "<string>",
"providerPageId": "<string>",
"userUsername": "<string>",
"userDisplayName": "<string>",
"userEmail": "<string>",
"userId": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"address": "<string>",
"avatarUrl": "<string>",
"webhook": {
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"url": "<string>"
},
"metadata": {
"allowImages": true,
"allowVideos": true,
"allowGalleries": true,
"linkFlairEnabled": true,
"facebookPageId": "<string>"
}
}
],
"mastodonServerId": "<string>",
"instagramConnectionMethod": "FACEBOOK",
"twitterSubType": "none",
"isTiktokBusinessAccount": true,
"disconnectedCheckTryAt": "2023-11-07T05:31:56Z",
"deleteOn": "2023-11-07T05:31:56Z",
"messagingStatus": "DISABLED",
"messagingStatusUpdatedAt": "2023-11-07T05:31:56Z",
"messagingLastError": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"statusCode": 123,
"issues": [
{
"message": "<string>",
"code": "invalid_type",
"path": [
"<string>"
]
}
]
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}automation
Run an automation flow test
Run a flow once against a sample event and return the resulting execution. Steps that send a message really send it, so a test returns 503 while messaging sending is temporarily disabled.
POST
/
api
/
v1
/
automations
/
{id}
/
test
Run an automation flow test
curl --request POST \
--url https://api.bundle.social/api/v1/automations/{id}/test \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"input": {}
}'import requests
url = "https://api.bundle.social/api/v1/automations/{id}/test"
payload = { "input": {} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({input: {}})
};
fetch('https://api.bundle.social/api/v1/automations/{id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bundle.social/api/v1/automations/{id}/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'input' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bundle.social/api/v1/automations/{id}/test"
payload := strings.NewReader("{\n \"input\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bundle.social/api/v1/automations/{id}/test")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"input\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bundle.social/api/v1/automations/{id}/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"teamId": "<string>",
"flowId": "<string>",
"flowVersionId": "<string>",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"status": "QUEUED",
"idempotencyKey": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"triggerId": "<string>",
"conversationId": "<string>",
"conversationMessageId": "<string>",
"fetchedCommentId": "<string>",
"senderExternalId": "<string>",
"currentStepId": "<string>",
"input": {},
"output": {},
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true
},
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"flow": {
"id": "<string>",
"teamId": "<string>",
"name": "<string>",
"status": "DRAFT",
"platformScope": "INSTAGRAM",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"createdByUserId": "<string>",
"deletedAt": "2023-11-07T05:31:56Z",
"draftVersion": {
"id": "<string>",
"flowId": "<string>",
"version": 123,
"status": "DRAFT",
"definition": {
"trigger": {
"type": "COMMENT_CREATED",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"keywords": [
"<string>"
],
"matchMode": "ANY",
"caseSensitive": false,
"senderExternalIds": [
"<string>"
],
"payloads": [
"<string>"
],
"actionDelaySeconds": 0,
"id": "<string>",
"postId": "<string>"
},
"steps": [
{
"type": "CONDITION",
"conditions": [
{
"field": "TEXT",
"operator": "CONTAINS",
"value": "<string>",
"id": "<string>",
"caseSensitive": false
}
],
"id": "<string>"
}
]
},
"createdAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"publishedByUserId": "<string>"
},
"publishedVersion": {
"id": "<string>",
"flowId": "<string>",
"version": 123,
"status": "DRAFT",
"definition": {
"trigger": {
"type": "COMMENT_CREATED",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"keywords": [
"<string>"
],
"matchMode": "ANY",
"caseSensitive": false,
"senderExternalIds": [
"<string>"
],
"payloads": [
"<string>"
],
"actionDelaySeconds": 0,
"id": "<string>",
"postId": "<string>"
},
"steps": [
{
"type": "CONDITION",
"conditions": [
{
"field": "TEXT",
"operator": "CONTAINS",
"value": "<string>",
"id": "<string>",
"caseSensitive": false
}
],
"id": "<string>"
}
]
},
"createdAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"publishedByUserId": "<string>"
}
},
"flowVersion": {
"id": "<string>",
"flowId": "<string>",
"version": 123,
"status": "DRAFT",
"definition": {
"trigger": {
"type": "COMMENT_CREATED",
"platform": "INSTAGRAM",
"socialAccountId": "<string>",
"keywords": [
"<string>"
],
"matchMode": "ANY",
"caseSensitive": false,
"senderExternalIds": [
"<string>"
],
"payloads": [
"<string>"
],
"actionDelaySeconds": 0,
"id": "<string>",
"postId": "<string>"
},
"steps": [
{
"type": "CONDITION",
"conditions": [
{
"field": "TEXT",
"operator": "CONTAINS",
"value": "<string>",
"id": "<string>",
"caseSensitive": false
}
],
"id": "<string>"
}
]
},
"createdAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"publishedByUserId": "<string>"
},
"steps": [
{
"id": "<string>",
"executionId": "<string>",
"status": "PENDING",
"attemptCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stepId": "<string>",
"input": {},
"output": {},
"error": {
"code": "<string>",
"message": "<string>",
"retryable": true
},
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
],
"conversation": {
"id": "<string>",
"teamId": "<string>",
"socialAccountId": "<string>",
"platform": "INSTAGRAM",
"externalParticipantId": "<string>",
"status": "OPEN",
"lastActivityAt": "2023-11-07T05:31:56Z",
"unreadCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"externalConversationId": "<string>",
"participantUsername": "<string>",
"participantDisplayName": "<string>",
"participantAvatarUrl": "<string>",
"lastMessageAt": "2023-11-07T05:31:56Z",
"lastMessagePreview": "<string>",
"lastReadAt": "2023-11-07T05:31:56Z",
"platformSeenAt": "2023-11-07T05:31:56Z",
"platformData": {},
"socialAccount": {
"id": "<string>",
"type": "TIKTOK",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"username": "<string>",
"displayName": "<string>",
"bio": "<string>",
"avatarUrl": "<string>",
"externalId": "<string>",
"providerPageId": "<string>",
"userUsername": "<string>",
"userDisplayName": "<string>",
"userEmail": "<string>",
"userId": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"address": "<string>",
"avatarUrl": "<string>",
"webhook": {
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"url": "<string>"
},
"metadata": {
"allowImages": true,
"allowVideos": true,
"allowGalleries": true,
"linkFlairEnabled": true,
"facebookPageId": "<string>"
}
}
],
"mastodonServerId": "<string>",
"instagramConnectionMethod": "FACEBOOK",
"twitterSubType": "none",
"isTiktokBusinessAccount": true,
"disconnectedCheckTryAt": "2023-11-07T05:31:56Z",
"deleteOn": "2023-11-07T05:31:56Z",
"messagingStatus": "DISABLED",
"messagingStatusUpdatedAt": "2023-11-07T05:31:56Z",
"messagingLastError": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
}
},
"conversationMessage": {
"id": "<string>",
"conversationId": "<string>",
"teamId": "<string>",
"socialAccountId": "<string>",
"platform": "INSTAGRAM",
"direction": "INBOUND",
"status": "PENDING",
"source": "PRIVATE_REPLY",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"externalMessageId": "<string>",
"text": "<string>",
"attachments": [],
"sentAt": "2023-11-07T05:31:56Z",
"failedAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"seenAt": "2023-11-07T05:31:56Z",
"replyTo": {
"externalMessageId": "<string>",
"isSelfReply": true,
"messageId": "<string>"
},
"privateReplyContext": {
"fetchedCommentId": "<string>",
"externalCommentId": "<string>",
"text": "<string>",
"authorName": "<string>",
"authorAvatarUrl": "<string>",
"publishedAt": "2023-11-07T05:31:56Z",
"postId": "<string>",
"externalPostId": "<string>",
"postPermalink": "<string>",
"postThumbnailUrl": "<string>"
},
"platformData": {}
},
"fetchedComment": {
"id": "<string>",
"teamId": "<string>",
"socialAccountId": "<string>",
"importId": "<string>",
"platform": "FACEBOOK",
"externalId": "<string>",
"likesCount": 123,
"repliesCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organizationId": "<string>",
"postId": "<string>",
"importedPostId": "<string>",
"externalParentId": "<string>",
"externalPostId": "<string>",
"authorName": "<string>",
"authorExternalId": "<string>",
"authorProfileUrl": "<string>",
"authorAvatarUrl": "<string>",
"text": "<string>",
"platformData": {},
"publishedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"socialAccount": {
"id": "<string>",
"type": "TIKTOK",
"teamId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"username": "<string>",
"displayName": "<string>",
"bio": "<string>",
"avatarUrl": "<string>",
"externalId": "<string>",
"providerPageId": "<string>",
"userUsername": "<string>",
"userDisplayName": "<string>",
"userEmail": "<string>",
"userId": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"address": "<string>",
"avatarUrl": "<string>",
"webhook": {
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"url": "<string>"
},
"metadata": {
"allowImages": true,
"allowVideos": true,
"allowGalleries": true,
"linkFlairEnabled": true,
"facebookPageId": "<string>"
}
}
],
"mastodonServerId": "<string>",
"instagramConnectionMethod": "FACEBOOK",
"twitterSubType": "none",
"isTiktokBusinessAccount": true,
"disconnectedCheckTryAt": "2023-11-07T05:31:56Z",
"deleteOn": "2023-11-07T05:31:56Z",
"messagingStatus": "DISABLED",
"messagingStatusUpdatedAt": "2023-11-07T05:31:56Z",
"messagingLastError": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"statusCode": 123,
"issues": [
{
"message": "<string>",
"code": "invalid_type",
"path": [
"<string>"
]
}
]
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}Authorizations
Path Parameters
Body
application/json
Body
Show child attributes
Show child attributes
Response
200
Available options:
INSTAGRAM, FACEBOOK, TIKTOK Available options:
QUEUED, RUNNING, COMPLETED, FAILED, CANCELED, SKIPPED Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?