List accounts
Method: GET
URL: https://example.com/<MIXPOST_CORE_PATH>/api/<workspaceUuid>/accounts
Authorization: Bearer <token>
Response:
- 200
- 401
- 403
- 404
{
"data": [
{
"id": 6,
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "Dima Botezatu",
"username": "lao9s",
"image": "https://example.com/avatar/dima.jpg",
"provider": "instagram",
"data": {},
"authorized": true,
"created_at": "2024-03-30 10:00:00"
},
{
"id": 5,
"uuid": "7eafa7f6-51d7-4597-a775-702a9b8bd884",
"name": "Dima Botezatu",
"username": "lao9s",
"image": "https://example.com/avatar/dima.jpg",
"provider": "tiktok",
"data": {
"union_id": "14754564",
"is_private": false,
"duet_disabled": false,
"privacy_levels": [
"PUBLIC_TO_EVERYONE",
"MUTUAL_FOLLOW_FRIENDS",
"SELF_ONLY"
],
"stitch_disabled": false,
"comment_disabled": false,
"max_video_post_duration_sec": 600
},
"authorized": true,
"created_at": "2024-03-29 14:47:32"
},
{
"id": 4,
"uuid": "aa4d3505-05c9-401f-9b8d-9a633b82c768",
"name": "Dima Botezatu",
"username": "lao9s",
"image": "https://example.com/avatar/dimap.jpg",
"provider": "pinterest",
"data": {
"relationships": {
"boards": [
{
"id": "176378040495433160",
"name": "Local"
}
]
}
},
"authorized": true,
"created_at": "2024-03-29 14:42:37"
},
{
"id": 3,
"uuid": "ed1d7f93-ebca-4217-957c-a25fbb2c1075",
"name": "Dima Botezatu",
"username": "BotezatuDima",
"image": "https://example.com/avatar/dima.jpg",
"provider": "twitter",
"data": null,
"authorized": true,
"created_at": "2024-03-29 09:55:31"
},
{
"id": 2,
"uuid": "cfbdc3eb-22cb-4d15-b2a0-63d5fcd5bd92",
"name": "Dima Botezatu",
"username": "dimabotezatu",
"image": null,
"provider": "linkedin",
"data": null,
"authorized": true,
"created_at": "2024-03-29 09:49:22"
},
{
"id": 1,
"uuid": "85347d5e-9724-4cb6-b91c-82d6d6d4e992",
"name": "Mixpost",
"username": "getmixpost",
"image": "https://example.com/avatar/mixpost.jpg",
"provider": "facebook_page",
"data": {
"suffix": {
"value": "Page",
"edited": false
}
},
"authorized": true,
"created_at": "2024-03-27 11:30:45"
}
]
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}
{
"message": "Workspace not found."
}