GET
/v1/platformsConnected Platforms
Lists all social platforms connected to the workspace, including connection status, last sync time, and audience size per platform.
Bearer token required. Minimum plan: Pro.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspace_id | string | Optional | Workspace ID. Defaults to primary workspace. |
Request
curl -X GET "https://api.onprism.io/v1/platforms" \
-H "Authorization: Bearer YOUR_API_KEY"Response (200 OK)
{
"platforms": [
{ "name": "instagram", "status": "connected", "last_sync": "2026-02-24T11:00:00Z", "followers": 45200, "handle": "@yourbrand" },
{ "name": "tiktok", "status": "connected", "last_sync": "2026-02-24T11:00:00Z", "followers": 12800, "handle": "@yourbrand" },
{ "name": "youtube", "status": "connected", "last_sync": "2026-02-24T10:30:00Z", "subscribers": 8400, "handle": "YourBrand" }
],
"total_connected": 3,
"available": ["twitter", "linkedin", "pinterest"]
}Error Codes
401
Unauthorized
Missing or invalid API key.