Error
A valid request URL is required to generate request examples{
"success": true,
"data": [
{
"id": "<string>",
"provider": "<string>",
"providerAccountId": "<string>",
"accountName": "<string>",
"accountUsername": "<string>",
"profilePicture": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"success": true,
"code": "<string>",
"message": "<string>"
}Accounts
Get accounts
List every social account connected to your Unsora workspace for scheduling — YouTube, TikTok, Instagram, Facebook, LinkedIn, Bluesky, and more.
GET
/
accounts
Error
A valid request URL is required to generate request examples{
"success": true,
"data": [
{
"id": "<string>",
"provider": "<string>",
"providerAccountId": "<string>",
"accountName": "<string>",
"accountUsername": "<string>",
"profilePicture": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"success": true,
"code": "<string>",
"message": "<string>"
}Returns social accounts connected to the authenticated user. Use each account
Example response:
id when calling Create Post.
Supported platforms: YouTube, TikTok, Instagram, Facebook, LinkedIn,
Bluesky, Threads, Pinterest. Each account’s provider field identifies its
platform — YouTube accounts have provider google.
curl "https://mvp2.tryunsora.com/api/v1/accounts" \
-H "Authorization: Bearer uns_YOUR_API_KEY"
{
"success": true,
"data": [
{
"id": "cm123abc",
"provider": "instagram",
"providerAccountId": "...",
"accountName": "My Page",
"accountUsername": "mypage",
"profilePicture": "https://...",
"expiresAt": "2026-12-01T00:00:00.000Z"
},
{
"id": "cm456def",
"provider": "tiktok",
"providerAccountId": "...",
"accountName": "My TikTok",
"accountUsername": "mytiktok",
"profilePicture": "https://...",
"expiresAt": "2026-12-01T00:00:00.000Z"
}
]
}
provider values include instagram and tiktok.
