CSVVersion: v3
Set Accounts
POST/social-media-posting/{locationId}/set-accounts
Set social media accounts for a CSV import to publish posts to
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
socialplanner/ csv. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
locationIdstringrequired
Location ID (also known as Sub-Account ID) for the business location.
Example:
ve9EPM428h8vShlRW1KTBody
accountIdsstring[]required
Account Ids
Example:
["aF3KhyL8JIuBwzK3m7Ly_iVrVJ2uoXNF0wzcBzgl5_12554616564525983496"]filePathstringrequired
File path
Example:
omaDY3RbWtTP511e/social-import/d23d68c2-82c0-1db6e2.csvrowsCountnumberrequired
Entries Count. rowsCount must be between 1 and number of posts in CSV
Example:
1fileNamestringrequired
Name of file
Example:
test.csvapproverstring
Approver User Id
Example:
o6241QsiRwUIJHyjuhosuserIdstringrequired
User ID
Example:
ve9EPM428h8vShlRW1KTcsvFileTypestring
CSV file type - determines the format of the CSV file being imported
Available options
basicadvanceExample:
basicResponse
Successful response
successbooleanrequired
Success or Failure
Example:
truestatusCodenumberrequired
Status Code
Example:
201messagestringrequired
Message
Example:
Accounts Set Successfullyresultsobject
Requested Results