Import content
Imports one or multiple LinkedIn posts
Authorizations
Pass Authorization: Bearer <credential>, where the credential is either:
- an API key (
sk_…), generated by an organization admin in Settings, for scripts and automation; - an access token from
tth auth login(the TalkToHumans CLI), which any member of the workspace can use.
Both resolve to the same organization and user. A login token acts in the user's workspace: one with no workspace yet returns 403 workspace_setup_required, and one in several workspaces returns 403 forbidden (use an API key instead).
Body
LinkedIn account ID returned by GET /v1/accounts.
^[1-9][0-9]*$LinkedIn post URLs, such as linkedin.com/posts/... or linkedin.com/feed/update/urn:li:activity:..., and lnkd.in links to them. Duplicates are imported once.
1 - 10 elementsResponse
One result per unique URL, in request order. Each post costs 1 credit, nothing when the organization imported it within the hour.