List groups
GET
/groups
const url = 'https://api.dropslate.top/v1/groups';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.dropslate.top/v1/groups \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”A label over several accounts, for aiming one post at all of them.
Media typeapplication/json
object
groups
Array<object>
object
id
string
name
string
description
string
color
string
accountIds
Array<string>
Examplegenerated
{ "groups": [ { "id": "example", "name": "example", "description": "example", "color": "example", "accountIds": [ "example" ] } ]}