ContentStudio
App · 20 actions
Manage social publishing and read workspaces, social accounts, posts, labels and media in ContentStudio.
Actions
| Action | What it does |
|---|---|
| Add post comment | Add post comment. |
| Create a draft post | Save a text post as a draft in your ContentStudio workspace. |
| Create campaign | Create campaign. |
| Create label | Create label. |
| Get post | Get post. |
| Get profile | Get profile. |
| Get workspace limits | Get workspace limits. |
| Get workspace settings | Get workspace settings. |
| List accounts | List accounts. |
| List campaigns | List campaigns. |
| List content categories | List content categories. |
| List labels | List labels. |
| List media | List media. |
| List media folders | List media folders. |
| List post comments | List post comments. |
| List posts | List posts. |
| List team members | List team members. |
| List webhook event types | List webhook event types. |
| List webhooks | List webhooks. |
| List workspaces | List workspaces. |
Add post comment
Add post comment.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Post
post_idtextRequired - Post id.
- Comment
commenttextRequired - Comment.
- Is note
is_notetrue/false - Is note.
- Mentioned users
mentioned_userslist - Mentioned users.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"_id": "example",
"author": {
"_id": "example",
"id": "example",
"name": "example",
"profile_picture": "example"
},
"comment": "example",
"created_at": "example",
"id": "example",
"is_note": true,
"mentioned_users": [
{}
],
"updated_at": "example"
},
"message": "example",
"status": true
}
}Create a draft post
Save a text post as a draft in your ContentStudio workspace.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Accounts
accountslist - Accounts.
- Content category
content_category_idtext - Content category id.
- Hide client
hide_clienttrue/false - Hide client.
- Labels
labelslist - Labels.
- Campaign
campaign_idtext - Campaign id.
- Text
texttextRequired - Text to save in the draft.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"id": "example",
"post_url": "example",
"warning": "example"
},
"message": "example",
"status": true
}
}Create campaign
Create campaign.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Name
nametextRequired - Name.
- Color
colortextRequired - Color.One of:
color_1(Color 1),color_2(Color 2),color_3(Color 3),color_4(Color 4),color_5(Color 5),color_6(Color 6),color_7(Color 7),color_8(Color 8),color_9(Color 9),color_10(Color 10), and 10 more.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"_id": "example",
"color": "example",
"id": "example",
"name": "example"
},
"message": "example",
"status": true
}
}Create label
Create label.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Name
nametextRequired - Name.
- Color
colortextRequired - Color.One of:
color_1(Color 1),color_2(Color 2),color_3(Color 3),color_4(Color 4),color_5(Color 5),color_6(Color 6),color_7(Color 7),color_8(Color 8),color_9(Color 9),color_10(Color 10), and 10 more.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"_id": "example",
"color": "example",
"id": "example",
"name": "example"
},
"message": "example",
"status": true
}
}Get post
Get post.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Post
post_idtextRequired - Post id.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"accounts": [
{}
],
"approval": {
"approve_option": "anyone",
"approvers": [
{}
],
"notes": "example",
"status": "pending_approval"
},
"approval_workflow": {
"current_level": 1,
"levels": [
{}
],
"notes": "example",
"status": "pending",
"submitted_at": "example",
"total_levels": 1,
"workflow_id": "example",
"workflow_name": "example"
},
"campaign": {
"color": "example",
"id": "example",
"name": "example"
},
"common": {
"content": {}
},
"content_category_id": "example",
"created_at": "example",
"created_by": "example",
"external_actions": [
{}
],
"external_comments": [
{}
],
"facebook_options": {
"carousel": {},
"facebook_background_id": "example"
},
"first_comment": {
"accounts": [
"example"
],
"message": "example"
},
"gmb_options": {
"action_type": "example",
"cta_link": "example",
"end_date": "example",
"start_date": "example",
"title": "example",
"topic_type": "example"
},
"hide_client": true,
"id": "example",
"instagram_options": {
"collaborators": [
"example"
]
},
"labels": [
{}
],
"linkedin_options": {
"accounts": [
"example"
],
"is_carousel": true,
"poll": {},
"post_type": "example",
"title": "example"
},
"pinterest_options": {
"link": "example",
"title": "example"
},
"platform_overrides": {
"facebook": {}
},
"post_type": "example",
"post_url": "example",
"post_video_title": "example",
"scheduling": {
"execute_time": "example",
"publish_type": "draft",
"repeat": {}
},
"status": "draft",
"threads_options": {
"has_multi_threads": true,
"multi_threads": [
{}
]
},
"tiktok_options": {
"auto_add_music": true,
"brand_content_toggle": true,
"disable_comment": true,
"disable_duet": true,
"disable_stitch": true,
"is_aigc": true,
"privacy_level": "example"
},
"twitter_options": {
"has_threaded_tweets": true,
"threaded_tweets": [
{}
]
},
"updated_at": "example",
"workspace_id": "example",
"youtube_options": {
"category": "example",
"license": "example",
"made_for_kids": true,
"privacy_status": "example",
"tags": [
"example"
],
"title": "example"
}
},
"message": "example",
"status": true
}
}Get profile
Get profile.
Inputs
None.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"_id": "example",
"authenticated_at": "example",
"created_at": "example",
"date_format": "example",
"email": "example",
"firstname": "example",
"full_name": "example",
"id": "example",
"image": "example",
"lastname": "example",
"phone_no": "example",
"state": "example",
"time_format": "example",
"username": "example"
},
"message": "example",
"status": true
}
}Get workspace limits
Get workspace limits.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"limits": [
{}
],
"plan": {
"billing_cycle": "monthly",
"is_annually": true,
"name": "example",
"slug": "example"
},
"usage_reset": {
"last_reset_at": "example",
"next_reset_at": "example",
"note": "example"
}
},
"message": "example",
"status": true
}
}Get workspace settings
Get workspace settings.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": {
"company_logo": "example",
"company_name": "example",
"first_day": {
"day": "example",
"key": 1
},
"id": "example",
"instagram_posting_method": "api",
"logo": "example",
"name": "example",
"note": "example",
"posting": {
"changed_by": "example",
"paused": true,
"paused_at": "example",
"paused_posts_count": 1,
"resumed_at": "example"
},
"slug": "example",
"timezone": "example"
},
"message": "example",
"status": true
}
}List accounts
List accounts.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Platform
platformtext - Platform.One of:
facebook,twitter,linkedin,pinterest,instagram,gmb,youtube,tiktok,tumblr,threads,bluesky,telegram. - Search
searchtext - Search.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"account_name": "example",
"connected_at": "example",
"expires_at": "example",
"id": "example",
"platform": "facebook",
"profile_picture": "example",
"status": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List campaigns
List campaigns.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
- Search
searchtext - Search.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"color": "example",
"id": "example",
"name": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List content categories
List content categories.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
- Search
searchtext - Search.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"accounts": [
{}
],
"color": "example",
"color_code": "example",
"id": "example",
"name": "example",
"posts_count": 1,
"slots_count": 1,
"state": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List labels
List labels.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
- Search
searchtext - Search.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"color": "example",
"id": "example",
"name": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List media
List media.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
- Type
typetext - Type.One of:
images,videos. - Search
searchtext - Search.
- Sort
sorttext - Sort.One of:
recent,oldest,size,a2z,z2a. - Archived
archivedtrue/false - Archived.
- Folder
folder_idtext - Folder id.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"created_at": "example",
"dimensions": {},
"extension": "example",
"folder_id": "example",
"id": "example",
"is_ai_generated": true,
"is_processing": true,
"mime_type": "example",
"name": "example",
"size": 1,
"type": "image",
"url": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List media folders
List media folders.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"folders": [
{
"created_at": "example",
"folder_name": "example",
"id": "example",
"is_global": true,
"is_root": true,
"root_folder_id": "example",
"updated_at": "example",
"workspace_id": "example"
}
],
"message": "example",
"status": true
}
}List post comments
List post comments.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Post
post_idtextRequired - Post id.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"author": {},
"comment": "example",
"created_at": "example",
"id": "example",
"is_note": true,
"mentioned_users": [
{}
],
"updated_at": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List posts
List posts.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Status
statuslist - Status.One or more of:
draft,scheduled,published,failed,rejected,under_review(Under review),missed_review(Missed review),partially_failed(Partially failed),in_progress(In progress),processing,notification_sent(Notification sent),notification_declined(Notification declined). - Date from
date_fromdate - Date from.
- Date to
date_todate - Date to.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
- Approval assigned to
approval_assigned_tolist - Approval assigned to.
- Approval requested by
approval_requested_bylist - Approval requested by.
- Labels
labelslist - Labels.
- Campaigns
campaignslist - Campaigns.
- Content category
content_categorylist - Content category.
- Created by
created_bylist - Created by.
- Comment status
comment_statustext - Comment status.One of:
resolved,unresolved,all.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"accounts": [
{}
],
"approval": {},
"approval_workflow": {},
"campaign": {},
"common": {},
"content_category_id": "example",
"created_at": "example",
"created_by": "example",
"external_actions": [
{}
],
"external_comments": [
{}
],
"facebook_options": {},
"first_comment": {},
"gmb_options": {},
"hide_client": true,
"id": "example",
"instagram_options": {},
"labels": [
{}
],
"linkedin_options": {},
"pinterest_options": {},
"platform_overrides": {},
"post_type": "example",
"post_url": "example",
"post_video_title": "example",
"scheduling": {},
"status": "draft",
"threads_options": {},
"tiktok_options": {},
"twitter_options": {},
"updated_at": "example",
"workspace_id": "example",
"youtube_options": {}
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List team members
List team members.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Search
searchtext - Search.
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"email": "example",
"id": "example",
"member_id": "example",
"membership": "example",
"name": "example",
"profile_picture": "example",
"role": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}List webhook event types
List webhook event types.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": [
{
"description": "example",
"group": "posts",
"label": "example",
"payload_schema": "WebhookPostEventData",
"value": "example"
}
],
"message": "example",
"status": true
}
}List webhooks
List webhooks.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"data": [
{
"created_at": "example",
"custom_headers": {},
"event_types": [
"example"
],
"has_secret": true,
"id": "example",
"last_delivery_at": "example",
"last_delivery_status": "delivered",
"name": "example",
"status": "enabled",
"updated_at": "example",
"url": "example"
}
],
"limit": 1,
"message": "example",
"status": true,
"used": 1
}
}List workspaces
List workspaces.
Inputs
- Page
pagenumber - Page.At least 1.
- Per page
per_pagenumber - Per page.From 1 to 100.
Outputs
dataobject- The response from ContentStudio.
Example output
{
"data": {
"current_page": 1,
"data": [
{
"_id": "example",
"company_logo": "example",
"company_name": "example",
"created_at": "example",
"id": "example",
"logo": "example",
"name": "example",
"on_hold": true,
"policy": {},
"slug": "example",
"timezone": "example"
}
],
"from": 1,
"last_page": 1,
"message": "example",
"per_page": 1,
"status": true,
"to": 1,
"total": 1
}
}