JavaScript SDK: swarmhit.accounts.salesNavigator.lists(accountId, params?)
The account's saved Sales Navigator lists — lead lists by default, or account lists with type=ACCOUNT. Needs a Sales Navigator seat on the account — otherwise 422 (409 when the account is not connected or can't be used right now).
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
Query Parameters
Which lists to return (default LEAD).
Value in
- "LEAD"
- "ACCOUNT"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/accounts/string/sales-navigator/lists"{ "data": [ { "id": "string", "name": "string", "type": "LEAD", "totalCount": 0, "description": "string", "shared": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}List a post's comments GET
**JavaScript SDK:** [`swarmhit.accounts.posts.listComments(accountId, params)`](/smart-api/sdk/methods#accounts.posts) The comments on a LinkedIn post, most recent first, as this account sees them, so you can pick one to reply to: pass its `id` as `commentId` to POST /accounts/{id}/post-comments. Replies to a comment are not listed; `replyCount` says how many it has. A silent read: no cap is used and nothing is logged as an action. Paginate by passing the returned `nextCursor` back as `cursor`. Returns 422 with `code: post_not_found` when `postUrl` is not a post's link or this account can't see the post.
Look up a profile GET
**JavaScript SDK:** [`swarmhit.accounts.profiles.get(accountId, identifier)`](/smart-api/sdk/methods#accounts.profiles) Resolve a LinkedIn profile by its public identifier (the username in linkedin.com/in/<identifier>) from this sender account. A silent read — no profile view is registered.