Answer LinkedIn's check
const url = 'https://digize.com/api/v1/unipile/accounts/checkpoint';const options = { method: 'POST', headers: { 'Idempotency-Key': '5f1c2a8e-3b7d-4c55-9a0e-1f2d3c4b5a69', 'x-api-key': '<x-api-key>', 'Content-Type': 'application/json' }, body: '{"intentId":"example","action":"solve","code":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://digize.com/api/v1/unipile/accounts/checkpoint \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: 5f1c2a8e-3b7d-4c55-9a0e-1f2d3c4b5a69' \ --header 'x-api-key: <x-api-key>' \ --data '{ "intentId": "example", "action": "solve", "code": "example" }'Answers the check LinkedIn asked for while a member’s account connects: solve with the code (or a phone number as (+33)0612345678), resend the code, another_way to get it another way, or check whether they approved it in LinkedIn’s app. Only the member who started connecting answers it, within 5 minutes.
Needs the outreach:write permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Makes the request safe to send again: for 24 hours the same key and request answer the first response without repeating the change.
Example
5f1c2a8e-3b7d-4c55-9a0e-1f2d3c4b5a69Request Bodyrequired
Section titled “Request Bodyrequired”object
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
2FA or OTP (a code), IN_APP_VALIDATION (approve in LinkedIn’s app), PHONE_REGISTER (a phone number, as (+33)0612345678), CAPTCHA.
object
Example
{ "status": "connected", "account": { "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" }}A request with the same Idempotency-Key is still running (conflict).
object
object
object
Example
{ "error": { "code": "invalid" }}The Idempotency-Key was used with a different request.
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}