Free a LinkedIn slug previously connected by another user.
The frontend calls this after receiving a 409 account_owned_by_another_user
from /connect or /connect-cookie. That earlier 409 carries a signed
claim_token AND deletes the requesting user’s freshly minted
Unipile account upstream so no orphan accumulates if the user never
follows through. Presenting the token here:
consumed_claim_tokens;
a replay returns 410 Gone.claim_connected_account which (inside one
transaction) disconnects the previous owner’s row, pauses their
campaigns, and queues a user_alert.The function does NOT INSERT a new row for the requesting user.
Response carries next_action="reconnect"; the frontend redirects
the user back to /connect (or /connect-cookie) to register their own
Unipile session, which now succeeds because the slug is no longer
held by any connected row.
Documentation Index
Fetch the complete documentation index at: https://docs.bavlio.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body for POST /api/v1/connected-accounts/claim.
10 - 4096Successful Response
Response from a successful ownership transfer.
The claim flow only DISCONNECTS the previous owner's row to free
the canonical slug; the requesting user re-runs /connect to
register their own Unipile session, which then succeeds because
the slug is no longer held.
User ID of the previous owner (for client-side audit logging only).
The canonical slug that was freed. The frontend uses this to prompt the user to re-run /connect and complete onboarding.
Always 'reconnect'. The frontend should redirect the user back to the connect flow so they can register their own Unipile session.