Accounts

List accounts

Get many social accounts in a workspace

Request

  • Method: GET
  • URL: https://app.socialk.it/core/api/<workspaceUuid>/accounts
  • Authorization: Bearer <token>

Response

{
  "data": [
    {
      "id": 6,
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "name": "SocialKit User",
      "username": "userId",
      "image": "https://example.com/avatar/user.jpg",
      "provider": "instagram",
      "data": {},
      "authorized": true,
      "created_at": "2024-03-30 10:00:00"
    },
    {
      "id": 5,
      "uuid": "7eafa7f6-51d7-4597-a775-702a9b8bd884",
      "name": "SocialKit User",
      "username": "userId2",
      "image": "https://example.com/avatar/user.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": "SocialKit User",
      "username": "userId7",
      "image": "https://example.com/avatar/userp.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": "SocialKit User",
      "username": "socialkitUser",
      "image": "https://example.com/avatar/user.jpg",
      "provider": "twitter",
      "data": null,
      "authorized": true,
      "created_at": "2024-03-29 09:55:31"
    },
    {
      "id": 2,
      "uuid": "cfbdc3eb-22cb-4d15-b2a0-63d5fcd5bd92",
      "name": "SocialKit User",
      "username": "socialkitUser2",
      "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": "SocialKit",
      "username": "getsocialkit",
      "image": "https://example.com/avatar/socialkit.jpg",
      "provider": "facebook_page",
      "data": {
        "suffix": {
          "value": "Page",
          "edited": false
        }
      },
      "authorized": true,
      "created_at": "2024-03-27 11:30:45"
    }
  ]
}

On this page