POST/api/v1/personas/{persona_id}/link-linkedin
Link LinkedIn profile to persona
Link a LinkedIn profile to a persona by creating a knowledgebase with a<br/>LinkedIn watcher source. If the persona already has a LinkedIn KB, the<br/>existing one is returned instead of creating a duplicate.
PARAMETERS
- persona_idpath · stringREQUIRED
- Persona id, as returned by GET /api/v1/personas.e.g. string
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/personas/string/link-linkedin" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/personas/string/link-linkedin", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/personas/string/link-linkedin", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
