Social Accounts
Add a social account
This API gives you access to adding a social account to your workspace.
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account connected successfully
Unauthorized access
Your plan does not have API access
Requested workspace does not belongs to you
Error in adding social account
Get All social accounts
This API will return all social accounts of a workspace
The platform ID, must be a valid MongoDB ID
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account listed successfully
Unauthorized access
Your plan does not have API access
Requested workspace does not belongs to you
Error in listing social accounts
Get social account by ID
This API will give you social account details by its ID
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account fetched successfully
Unauthorized access
Your plan does not have API access
Account not found
Requested workspace does not belongs to you
Error in fetching social account
Update a social account
This API will be used for updating the credential or proxy
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account updated successfully
Unauthorized access
Your plan does not have API access
Account does not exist
Requested workspace does not belongs to you
Error in updating social account
Assign proxy to a social account
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Proxy assigned successfully
Unauthorized access
Your plan does not have API access
Connected account not found.
Requested workspace does not belongs to you
Error occurred in assigning proxy to connected account.
Remove proxy from a social account
Use this API to remove the proxy from the social account.
Not using a proxy may lead to suspending your social account.
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Proxy removed successfully from this account
Unauthorized access
Your plan does not have API access
Requested workspace does not belongs to you
Error in removing proxy from this account
Reset proxy of a social account.
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Proxy Location Reset Successfully
No content
Unauthorized access
Your plan does not have API access
Account not found
Proxy you are trying to reset is not factory proxy
No content
Set limit
Use this API to set automation limits for the specific social account
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account limit updated successfully
Unauthorized access
Your plan does not have API access
Account does not exist
Requested workspace does not belongs to you
Error in updating social account limit
Reset Limit to default (Delete limit)
Use this API to reset the limit of automation to default one (delete the limit at the account level)
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account limit deleted successfully
Unauthorized access
Your plan does not have API access
Account does not exist
Requested workspace does not belongs to you
Error in deleting social account limit
Delete a social account
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account deleted successfully
Unauthorized access
Your plan does not have API access
Account not found
Account cannot be deleted as it is running in an automation. Please stop and delete automation and retry
Requested workspace does not belongs to you
Error in deleting social account
Force Delete a social account
This endpoint is being used when a social account is used in running workflow, and user wish to force delete it.
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Account deleted successfully
Unauthorized access
Your plan does not have API access
Account not found
Requested workspace does not belongs to you
Error in deleting social account
Last updated