Social Accounts
Last updated
Last updated
This API gives you access to adding a social account to your workspace.
Steps of filling credentials
object:
Make an API call to this.
You'll get a list of all authVariables, every object in that array will contain keyname
You'll use the value of name
key, as a key in credentials object, then credentials object will look like this
Steps of filling platform
object:
Use platformId
for the value of id
, use this for getting platformId
userId
will be the unique identifier of the user for that platform
picture
will be the profile picture URL
This API will return all social accounts of a workspace
This API will give you social account details by its ID
This API will be used for updating the credential
or proxy
Use this API to assign a proxy to a social account and get proxyId
from this API.
Always use a proxy with 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.
This API will reset only the factory proxy not the user proxy of a social account.
Use this API to set automation limits for the specific social account
Use this API to reset the limit of automation to default one (delete the limit at the account level)
This endpoint is being used when a social account is used in running workflow, and user wish to force delete it.
/api/v1/public/social-accounts
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}/proxy
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}/proxy
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}/limit
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}/limit
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts
The page No
0
The Page Size
10
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
/api/v1/public/social-accounts/{accountId}/reset-proxy
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
No body
/api/v1/public/social-accounts/{accountId}/force
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’