Appearance
Cookie Injection Pipeline
End-to-end workflow for warming browser profiles with pre-made cookies.
Why Cookie Injection?
Fresh browser profiles have no browsing history, cookies, or session data. This makes them appear as brand-new browsers to websites, which can trigger anti-fraud detection. Pre-made cookies give profiles a history of visiting target websites.
Pipeline Flow
Step-by-Step
1. Create the Profile
bash
curl -X POST https://api.multilogin.com/profile/create \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"cookie-profile","browser_type":"mimic","os_type":"windows","folder_id":"FOLDER_UUID"}'2. Apply Cookies
bash
curl -X POST https://cookies.multilogin.com/api/v1/cookies/apply \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"profile_id":"PROFILE_UUID","target_website":"google"}'3. Verify Cookies Applied
bash
curl "https://cookies.multilogin.com/api/v1/cookies?profile_id=PROFILE_UUID" \
-H "Authorization: Bearer $TOKEN"4. Start the Profile
bash
curl "https://launcher.mlx.yt:45001/api/v1/profile/f/FOLDER_ID/p/PROFILE_ID/start" \
-H "Authorization: Bearer $TOKEN"Bulk Cookie Application
python
import requests
def apply_cookies_bulk(token, profile_ids, target="google"):
"""Apply cookies to multiple profiles."""
for pid in profile_ids:
resp = requests.post(
"https://cookies.multilogin.com/api/v1/cookies/apply",
headers={
"Authorization": f"Bearer {token}",
"Content-Type": "application/json"
},
json={
"profile_id": pid,
"target_website": target
}
)
status = "OK" if resp.status_code == 200 else "FAILED"
print(f"{pid}: {status}")Updating Cookie Targets
If you need to change which website's cookies are applied:
bash
curl -X PUT https://cookies.multilogin.com/api/v1/cookies/metadata \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"profile_id":"PROFILE_UUID","target_website":"amazon"}'