---
title: "Create Env Switchboard Wait"
method: POST
path: "/v1/envs/{env_id}/switchboard/waits"
---

# Create Env Switchboard Wait

`POST /v1/envs/{env_id}/switchboard/waits`

## Request

- Base URL: `https://api.tabtabtab.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tabtabtab.ai/v1/envs/{env_id}/switchboard/waits`
- Auth: none declared

## Path parameters

- `env_id` string, required

## Request body

- SwitchboardWaitInput: Payload for creating an env-scoped Switchboard wait.
  - `provider` string, required
  - `eventType` string, required
  - `matcher` object
  - `callbackUrl` string, required
  - `wakeTarget` SwitchboardWakeTarget, required: Provider-neutral gv-code wakeup metadata; no callback URL or secrets.
    - `type` string, required
    - `jobId` string, nullable
    - `sessionId` string, nullable
    - `directory` string, nullable
    - `check` string, nullable
    - `metadata` object
  - `notBeforeAt` string, date-time, nullable
  - `timeoutAt` string, date-time, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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