Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Activate identity-owned social accounts and publish text posts with the TypeScript SDK.
const workspace = await client.social.activate(identityId) const portal = await client.social.portal(identityId, { redirect_url: "https://app.example.com/social/done", // optional; defaults to the persona's studio screen platforms: ["linkedin", "x"], })
portal.url
const accounts = await client.social.accounts(identityId)
scheduled_at
const post = await client.social.createPost(identityId, { content: "We shipped it.", platforms: ["linkedin", "x"], media_urls: ["https://cdn.example.com/launch.jpg"], // public URLs file_ids: ["fil_262tzfys51n955rn6d1wdchyg7"], // stored files, signed and fetched once }) const current = await client.social.getPost(identityId, post.id)