Skip to content

List social accounts

GET
/api/v1/social/accounts
curl --request GET \
--url https://digize.com/api/v1/social/accounts \
--header 'x-api-key: <x-api-key>'

The pages, profiles and boards Social posts to, and each network’s connection: whether this server can connect it, whether it’s connected, and whether the connection allows posting.

Needs the social:read permission.

Done

Media typeapplication/json
object
accounts
required
Array<object>
object
id
required
string
network
required
string
Allowed values: facebook instagram linkedin tiktok pinterest x google_business
externalId
required
string
kind
required
string
Allowed values: page profile board business
name
required
string
handle
required
string | null
avatarUrl
required
string | null
parentId
required
string | null
followers
required
number | null
error
required

Why the last sync or post couldn’t reach it.

string | null
lastSyncedAt
required
Any of:
string format: date-time
addedBy
required
string
addedAt
required
string format: date-time
connections
required
Array<object>
object
network
required
string
Allowed values: facebook instagram linkedin tiktok pinterest x google_business
label
required
string
integration
required
string
ready
required
boolean
connected
required
boolean
allowed
required
boolean
connectUrl
required
string | null
error
required
string | null
sync
required
object
running
required
boolean
startedAt
required
Any of:
string format: date-time
finishedAt
required
Any of:
string format: date-time
error
required
string | null

Example

{
"accounts": [
{
"network": "facebook",
"kind": "page"
}
],
"connections": [
{
"network": "facebook"
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}