Enter the PIN LinkedIn sent
Access: an API key (or an org-wide key naming the workspace) with manage on senders.
Only the email + password login (later) asks for a PIN, so for now every valid body answers 409 no_pin_pending. Later also pin_rejected and pin_expired.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
senderId*string^[0-9a-f]{24}$application/json- body
pin*string^\d{4,8}$Default Response
application/json- response
sender*warnings?array<>photoBackfill?string"started""running""not_imported"curl -X POST 'https://api.tryzen.co/v1/senders/string/pin' \ -H 'Content-Type: application/json' \ -d '{ "pin": "string"}'{ "sender": { "id": "string", "label": "string", "linkedin": { "publicId": "string", "name": "string", "headline": "string", "pictureUrl": "string" }, "license": { "premium": true, "salesNav": true, "recruiter": true }, "status": "not_connected", "statusReason": "string", "inboxMode": "full", "connectedBy": { "name": "string" }, "connectedByViewer": true, "timezone": "string", "workingHours": { "days": [ 1 ], "from": "string", "to": "string" }, "limits": { "connReq": 0, "message": 0, "inmail": 0, "view": 0, "follow": 0, "like": 0, "totalDaily": 0, "weeklyConnReq": 0 }, "hasBrowserHost": true, "hasStoredSession": true, "holdsSeat": true, "proxy": { "id": "string", "kind": "included", "included": true, "protocol": "http", "country": "string", "host": "string", "port": 1, "usernameMasked": "string", "lastCheck": { "ok": true, "ip": "string", "country": "string", "at": "2019-08-24T14:15:22Z", "latencyMs": 0 }, "unreachable": { "since": "2019-08-24T14:15:22Z", "nextCheckAt": "2019-08-24T14:15:22Z" } }, "health": { "lockedUntil": "2019-08-24T14:15:22Z", "cooldownUntil": "2019-08-24T14:15:22Z", "cooldownReason": "string", "lastActionAt": "2019-08-24T14:15:22Z" }, "autoPause": { "reason": "string", "at": "2019-08-24T14:15:22Z", "failed": 0, "total": 1 }, "browserPath": { "unavailableSince": "2019-08-24T14:15:22Z", "code": "string", "retryAt": "2019-08-24T14:15:22Z" }, "connectFrom": { "at": "2019-08-24T14:15:22Z" }, "usage": { "day": "string", "counts": { "connReq": 0, "message": 0, "inmail": 0, "view": 0, "follow": 0, "like": 0 }, "week": "string", "weekCount": 0 }, "warmup": { "mode": "auto", "stage": "quiet", "startedAt": "2019-08-24T14:15:22Z", "writesFrom": "2019-08-24T14:15:22Z", "rampDays": 0, "day": 0, "stageEndsAt": "2019-08-24T14:15:22Z", "todayLimits": { "connReq": 0, "message": 0, "inmail": 0, "view": 0, "follow": 0, "like": 0, "totalDaily": 0, "weeklyConnReq": 0 } }, "capacity": { "connReq": { "limit": 0, "used": 0, "remaining": 0 }, "message": { "limit": 0, "used": 0, "remaining": 0 }, "inmail": { "limit": 0, "used": 0, "remaining": 0 }, "view": { "limit": 0, "used": 0, "remaining": 0 }, "follow": { "limit": 0, "used": 0, "remaining": 0 }, "like": { "limit": 0, "used": 0, "remaining": 0 }, "total": { "limit": 0, "used": 0, "remaining": 0 }, "weeklyInvites": { "limit": 0, "used": 0, "remaining": 0 }, "nextWindowAt": "2019-08-24T14:15:22Z", "noteCredits": { "remaining": 0, "readAt": "2019-08-24T14:15:22Z" } }, "voice": { "id": "string", "name": "string" }, "campaignCount": 0, "removedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }, "warnings": [ { "code": "string", "message": "string" } ], "photoBackfill": "started"}Disconnect a sender and free its seat POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `senders`. A key also needs the `disconnectSenders` permission, which is off unless ticked when the key is made. Status → `not_connected` with reason `disconnected_by_user`; the sender stops all writes, syncs and ambient sessions, and its seat is free until it connects again. Its stored LinkedIn session is deleted (the account isn't signed out on LinkedIn): reconnecting needs fresh cookies, the extension or a login, and `stored_session` answers 409 `session_missing`. 409 `campaigns_active` while any of its campaigns is scheduled, starting or in progress (pause them first; paused campaigns keep it in their list). Idempotent. Audit-logged as `sender.disconnected`, with the API key's id when a key did it. An API key without the `disconnectSenders` permission gets 403 `api_key_not_allowed`, as before.
Verify a proxy through itself POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `senders`. `proxy: null` checks the sender's stored proxy and stores the result on it; a typed proxy is checked before it is saved (nothing is stored). The check runs on a driver worker through the proxy, never from the API. `check.ok: false` is an answer with the reason in `check.message`. The password is write-only: encrypted before it leaves this request, never returned. 409 `proxy_missing` for `proxy: null` without a proxy.