Skip to content

List LinkedIn accounts

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

The LinkedIn accounts members connected through the workspace’s Unipile: each one’s owner, status, plan, working hours and time zone, daily and weekly caps, who else may run campaigns from it, and what it sent today and invitations over the last seven days against those caps.

Needs the outreach:read permission.

Done

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
provider
required
string
Allowed values: LINKEDIN WHATSAPP INSTAGRAM TELEGRAM MESSENGER MAIL
ownerId
required
string
ownerName
required
string
unipileId
required

Unipile’s id for the account: account_id in integrations.unipile calls.

string
name
required
string
publicIdentifier
required
string | null
profileUrl
required
string | null
pictureUrl
required
string | null
plan
required
string
Allowed values: free premium sales_navigator recruiter
status
required

ok sends; credentials needs reconnecting; restricted LinkedIn restricted it; error, stopped Unipile stopped syncing it; deleted it’s gone from Unipile; connecting for a moment.

string
Allowed values: ok connecting credentials error stopped restricted deleted
statusDetail
required
string | null
statusAt
required
string format: date-time
connectedVia
required
string
Allowed values: hosted cookie
timeZone
required
string
hours
required
object
days
required

Working days, 0 for Sunday to 6 for Saturday.

Array<integer>
>= 1 items <= 7 items
start
required

Minutes after midnight on the account’s clock.

integer
<= 1439
end
required

Minutes after midnight on the account’s clock.

integer
>= 1 <= 1440
caps
required
object
invitesPerDay
required
integer
>= -9007199254740991 <= 9007199254740991
invitesPerWeek
required
integer
>= -9007199254740991 <= 9007199254740991
messagesPerDay
required
integer
>= -9007199254740991 <= 9007199254740991
visitsPerDay
required
integer
>= -9007199254740991 <= 9007199254740991
inmailsPerDay
required
integer
>= -9007199254740991 <= 9007199254740991
sharedWith
required

Members who may run campaigns from it, by user id.

Array<string>
acceptedAt
required

When the owner accepted that automating LinkedIn breaks its rules and the account can be restricted.

string format: date-time
acceptedBy
required
string
pausedUntil
required
Any of:
string format: date-time
cookieKept
required
boolean
createdAt
required
string format: date-time
use
required
object
today
required
object
visit
required
integer
>= -9007199254740991 <= 9007199254740991
invite
required
integer
>= -9007199254740991 <= 9007199254740991
withdraw
required
integer
>= -9007199254740991 <= 9007199254740991
message
required
integer
>= -9007199254740991 <= 9007199254740991
inmail
required
integer
>= -9007199254740991 <= 9007199254740991
invitesThisWeek
required
integer
>= -9007199254740991 <= 9007199254740991
queued
required
integer
>= -9007199254740991 <= 9007199254740991
mine
required

Whether it’s the caller’s own.

boolean
canManage
required

Whether the caller may change or disconnect it.

boolean

Example

{
"data": [
{
"provider": "LINKEDIN",
"plan": "free",
"status": "ok",
"connectedVia": "hosted"
}
]
}

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