Social Accounts
List
Retrieve all social accounts connected to your project.
Endpoint
GET https://api.postpeer.dev/v1/connect/integrationsExample
curl "https://api.postpeer.dev/v1/connect/integrations" \
-H "x-access-key: YOUR_API_KEY"Response
{
"success": true,
"integrations": [
{
"id": "abc123",
"platform": "twitter",
"platformUserId": "123456789",
"displayName": "@yourhandle",
"imageUrl": "https://pbs.twimg.com/profile_images/.../photo.jpg",
"createdAt": "2026-03-28T10:00:00.000Z"
},
{
"id": "def456",
"platform": "youtube",
"platformUserId": "UCxxxxxxxx",
"displayName": "My Channel",
"imageUrl": "https://yt3.ggpht.com/.../photo.jpg",
"createdAt": "2026-03-28T10:05:00.000Z"
}
]
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Integration ID — use this as accountId when creating posts |
platform | string | Platform name |
platformUserId | string | null | The user/account ID on the platform |
displayName | string | null | Display name or handle |
imageUrl | string | null | Profile image URL |
createdAt | string | ISO 8601 connection timestamp |
Status Codes
| Code | Meaning |
|---|---|
200 | Success |