---
title: "Set cookies in the browser session."
method: POST
path: "/notte/sessions/{session_id}/cookies"
tags: ["Notte"]
---

# Set cookies in the browser session.

`POST /notte/sessions/{session_id}/cookies`

## Request

- Base URL: `https://api.orthogonal.com/mpp`
- URL: `https://api.orthogonal.com/mpp/notte/sessions/{session_id}/cookies`
- Auth: none declared
- TypeScript: <https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/docs/notte/sessions/:session_id/cookies/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `session_id` string, required

## Query parameters

- `session_id` string, required

## Request body

- object
  - `cookies` object[], required: Array of cookie objects
    - `name` string, required: Cookie name
    - `value` string, required: Cookie value
    - `domain` string, required: Cookie domain
    - `path` string, required: Cookie path
    - `httpOnly` boolean, required: HTTP only flag
    - `secure` boolean: Secure flag
    - `sameSite` string: SameSite: Strict, Lax, None

## Response `200`

Successful response

## Other responses

- `402`: Payment Required (x402 / MPP / np)

## Changes

- **2026-11-08** `857e915717f4`: 3 breaking
  - added the new path request parameter `session_id`
  - added the new required `query` request parameter `session_id`
  - added required request body

[Operation history](https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/changes/notte/sessions/:session_id/cookies/post.md)

---

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