SOCIALACCOUNT: Social account
The SOCIALACCOUNT entity: A social media platform login holding OAuth credentials. One account per platform login per user. Each account can have multiple channels (profiles/pages).
Default definition. This article describes the default
SOCIALACCOUNT definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches SOCIALACCOUNT.Entity properties
| Property | Value |
|---|---|
| Entity code | SOCIALACCOUNT |
| Display name | Social account |
| Plural | Social accounts |
| Level | 200000 |
Use cases
General-purpose social account records. A social media platform login holding OAuth credentials. One account per platform login per user. Each account can have multiple channels (profiles/pages).
Fields
Account
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Account name |
network | enum | Network Valid ids: linkedin (LinkedIn), facebook (Facebook), instagram (Instagram), twitter (Twitter), tiktok (TikTok), youtube (YouTube), pinterest (Pinterest), threads (Threads). | |
socialType | text | Read-only. Type | |
socialId | text | Read-only. Social ID | |
socialKey | text | Read-only. Social key |
Relationships
- Related lists:
SOCIALCHANNEL(formatcomboKey2Prefix).
Creating a Social account via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "SOCIALACCOUNT",
"level": 200000,
"comboKey": "SUB:|ENT:",
"name": "Example name"
}
Listing Social accounts records
GET /v1/entities/SOCIALACCOUNT/SUB