Postly
  1. Social Accounts
Postly
  • Overview
  • Workspaces
    • Fetch workspaces
      GET
  • Social Accounts
    • Fetch social accounts
      GET
  • Files
    • Upload a file
      POST
    • Fetch files
      GET
    • Delete a file
      DELETE
  • Posts
    • Create a post
      POST
    • Update a post
      PUT
    • Fetch a post
      GET
    • Fetch posts
      GET
    • Delete a post
      DELETE
  1. Social Accounts

Fetch social accounts

GET
{workspaceId}/social-accounts
Fetch social accounts connected to a workspace
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.postly.ai/v2683594f9d6bb51f6b3000000/social-accounts' \
--header 'X-API-KEY;'
Response Response Example
200 - Example 1
{
    "code": "string",
    "message": "string",
    "data": [
        {
            "name": "string",
            "id": "string",
            "identifier": "string",
            "picture": "string"
        }
    ]
}

Request

Authorization
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
Path Params
workspaceId
string 
required
24-character hexadecimal identifier for the workspace
Example:
683594f9d6bb51f6b3000000

Responses

🟢200Success
application/json
Body
code
string 
required
200
message
string 
required
Connected social accounts retrieved successfully
data
array[object (Channel) {4}] 
required
name
string 
required
Name of channel
id
string 
required
Identifier of channel
identifier
string 
required
Unique identifier of channel, e.g facebook
picture
string 
required
Channel photo
🟠400BadRequestResponse
🟠401UnAuthorizedResponse
Modified at 2025-05-30 16:46:05
Previous
Fetch workspaces
Next
Upload a file
Built with