---
title: "Load url"
method: POST
path: "/v1/sessions/{sessionId}/windows/{windowId}"
tags: ["windows"]
---

# Load url

`POST /v1/sessions/{sessionId}/windows/{windowId}`

Loads a specified url on a given window

## Path parameters

- `sessionId` string, required
- `windowId` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `url` string, uri, required — Url to navigate to
  - `waitUntil` 'load' | 'domContentLoaded' | 'complete' | 'noWait' — Wait until the specified loading event occurs. Defaults to 'load', which waits until the page dom and it's assets have loaded. 'domContentLoaded' will wait until the dom has loaded, 'complete' will wait until the page and all it's iframes have loaded it's dom and assets. 'noWait' will not wait for any loading event and will return immediately.
  - `waitUntilTimeoutSeconds` integer — Maximum time in seconds to wait for the specified loading event to occur. If the timeout is reached, the operation will still succeed but return a warning indicating the page may still be loading resources.

## Response `200`

OK

- TypeOperationOutcomeResponse
  - `data` TypeOperationOutcome, required
    - `success` boolean, required — Indicates if the operations was successful
  - `errors` TypeIssue[]
    - `code` string — Issue code.
    - `details` object — Any associated details.
    - `message` string, required — Message describing the issue.
    - `reason` string — Underlying reason for the issue.
  - `meta` TypeEnvelopeDefaultMeta, required
    - `requestId` string
  - `warnings` TypeIssue[]
    - `code` string — Issue code.
    - `details` object — Any associated details.
    - `message` string, required — Message describing the issue.
    - `reason` string — Underlying reason for the issue.

---

[API](https://skmtc.net/airtop/apis/airtop-api.md) · [All operations](https://skmtc.net/airtop/apis/airtop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airtop/airtop-api/revisions/4a02eb5d21ca/schema)
