Extract a LinkedIn profile to seed a twin
POST /voice/twins/extract-linkedin
SPENDS CREDITS. Enriches a LinkedIn profile URL into the headline,
current position, employment history and education a twin is seeded
from. Reaches a paid enrichment provider on your behalf, so it is tiered
billable.
Voice binds linkedin_url as a FORM field; the JSON body here is
re-encoded as form data. Voice answers {"success": false, "error": ...}
with a 200 when the profile cannot be extracted - read success.
A two-segment LITERAL under /voice/twins, declared before the
/twins/{agent_id} routes; test_voice_stage2_api.py proves it resolves
and that /twins/<id> still reaches its shipped handler.
Authorizations
Parameters
Header Parameters
Request Body required
POST /api/v1/twins/extract-linkedin binds linkedin_url as a FORM
field; this is the JSON shape the API takes and the router re-encodes.
object
A LinkedIn profile URL, e.g. https://linkedin.com/in/name
Responses
200
Successful Response
object
One voice object - a collection, an agent, a route, a chat.
Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error