REST APIGET
Explained clearly - Social media user profile API
Retrieve every social media account connected to your AdaptlyPost workspace, with its platform, ID and connection status.
GET
https://post.adaptlypost.com/post/api/v1/social-accountsReturns a list of all social media accounts connected to your workspace. Use the returned connection IDs when creating posts.
API Key (Bearer token)
Usage
Use the id values from this response as connection IDs when creating posts. Each account includes a displayName, username, and avatarUrl. Facebook page accounts also include a pageId (the Facebook Page ID), since pages have no username. For Facebook, pageIds accepts either the account id or the pageId, and post responses always return the Facebook pageId.
List all integrations
curl --request GET \
--url https://post.adaptlypost.com/post/api/v1/social-accounts \
--header 'Authorization: Bearer <api-key>'200
{
"accounts": [
{
"id": "conn_abc123",
"platform": "TWITTER",
"displayName": "Your Handle",
"username": "@yourhandle",
"avatarUrl": "https://pbs.twimg.com/profile_images/..."
},
{
"id": "conn_def456",
"platform": "LINKEDIN",
"displayName": "Your Company",
"username": "",
"avatarUrl": "https://media.licdn.com/..."
},
{
"id": "conn_ghi789",
"platform": "INSTAGRAM",
"displayName": "Your Profile",
"username": "yourprofile",
"avatarUrl": "https://scontent.cdninstagram.com/..."
},
{
"id": "conn_jkl012",
"platform": "FACEBOOK",
"displayName": "Your Page",
"username": "",
"avatarUrl": "",
"pageId": "123456789012345"
}
]
}