account groups
Create group
Creates a new account group with a name and a list of social account IDs.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
namestring
accountIdsarray<string>
Response Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/account-groups" \ -H "Content-Type: application/json" \ -d '{ "name": "Marketing Accounts", "accountIds": [ "64e1f0a9e2b5af0012ab34cd", "64e1f0a9e2b5af0012ab34ce" ] }'{
"message": "Account group created successfully",
"group": {
"_id": "6507a1b2c3d4e5f6a7b8c9d0",
"name": "Marketing Accounts",
"accountIds": [
"64e1f0a9e2b5af0012ab34cd",
"64e1f0a9e2b5af0012ab34ce"
]
}
}Empty
{
"error": "Unauthorized"
}Empty