---
title: "Take a LinkedIn session from the shared pool"
method: POST
path: "/api/contacts/linkedin/scraping/cookie"
tags: ["Contact"]
---

# Take a LinkedIn session from the shared pool

`POST /api/contacts/linkedin/scraping/cookie`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/contacts/linkedin/scraping/cookie`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/contacts/linkedin/scraping/cookie/post.ts> (a function with typed inputs; its response is checked against the schema)

Marks the least-used available session as used, counts the given profiles against its daily quota and returns it encrypted. Requires the edit-contacts permission, like the scrape endpoint.

## Query parameters

- `profilesToScrapeCount` integer

## Response `200`

Success

## Other responses

- `403`: The user lacks the edit-contacts permission
- `404`: No session is available

---

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