List LinkedIn accounts
const url = 'https://digize.com/api/v1/unipile/accounts';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
object
object
Unipile’s id for the account: account_id in integrations.unipile calls.
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.
object
Working days, 0 for Sunday to 6 for Saturday.
Minutes after midnight on the account’s clock.
Minutes after midnight on the account’s clock.
object
Members who may run campaigns from it, by user id.
When the owner accepted that automating LinkedIn breaks its rules and the account can be restricted.
object
object
Whether it’s the caller’s own.
Whether the caller may change or disconnect it.
Example
{ "data": [ { "provider": "LINKEDIN", "plan": "free", "status": "ok", "connectedVia": "hosted" } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}