---
title: "Save LinkedIn session cookies"
method: POST
path: "/v1/account/linkedin-session/"
tags: ["Account"]
---

# Save LinkedIn session cookies

`POST /v1/account/linkedin-session/`

## Request

- Base URL: `https://api.evaboot.com`
- URL: `https://api.evaboot.com/v1/account/linkedin-session/`
- Auth: HTTP bearer

Store a LinkedIn session for the Evaboot account this API key belongs to, without the Chrome extension.

Send the `li_a` and `li_at` cookies copied from the signed-in browser: on a LinkedIn page, right-click, choose Inspect, open Application, then Cookies for https://www.linkedin.com.

LinkedIn must accept the pair. A rejection leaves the stored session unchanged. The response does not echo the cookies.

## Request body

- LinkedInSessionIn
  - `li_a` string, required: The `li_a` cookie from the signed-in LinkedIn browser. Copy it from Chrome DevTools, Application, Cookies, https://www.linkedin.com.
  - `li_at` string, required: The `li_at` cookie from the same browser, copied the same way.

## Response `200`

OK

- LinkedInSessionOut
  - `success` boolean: `true` when the cookies were stored.
  - `linkedin_id` string, required: Sales Navigator member id the cookies belong to.

## Other responses

- `401`: The API key is missing, malformed or unknown.
- `409`: No usable Sales Navigator seat (never connected, or expired).
- `422`: The request body or a supplied URL failed validation.
- `503`: A dependency was unavailable. The request can be retried.

---

[API](https://skmtc.dev/evaboot/apis/evaboot-public-api.md) · [All operations](https://skmtc.dev/evaboot/apis/evaboot-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/evaboot/apis/evaboot-public-api/revisions/d770494f2718?raw)
