Skip to content

Accounts a connection reaches

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

The pages, profiles or boards a network’s connection reaches, which can be added to Social, each marked when it’s added already.

Needs the social:read permission.

network
required
string
Allowed values: facebook instagram linkedin tiktok pinterest x google_business

Done

Media typeapplication/json
object
data
required
Array<object>
object
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
added
required
boolean

Example

{
"data": [
{
"network": "facebook",
"kind": "page"
}
]
}

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"
}
}