account groups
List groups
Returns all account groups for the authenticated user, including group names and associated account IDs.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/account-groups"{
"groups": [
{
"_id": "6507a1b2c3d4e5f6a7b8c9d0",
"name": "Marketing Accounts",
"accountIds": [
"64e1f0a9e2b5af0012ab34cd",
"64e1f0a9e2b5af0012ab34ce"
]
},
{
"_id": "6507a1b2c3d4e5f6a7b8c9d1",
"name": "Personal Brand",
"accountIds": [
"64e1f0a9e2b5af0012ab34cf"
]
}
]
}{
"error": "Unauthorized"
}