---
title: "Start a browser call with an AI agent"
method: POST
path: "/v1/agents/{id}/web-call"
tags: ["Agents"]
---

# Start a browser call with an AI agent

`POST /v1/agents/{id}/web-call`

## Request

- Base URL: `https://api.revdesk.com`
- URL: `https://api.revdesk.com/v1/agents/{id}/web-call`
- Auth: HTTP bearer

Dispatches the agent into a room and returns a browser join token. Hand the token and room_url to @revdesk/webrtc (RevDeskRoom) and talk to the agent in the browser — no phone number needed.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string
- `X-Revdesk-Caller-IP` string

## Response `201`

Success

- object
  - `data` object, required
    - `token` string, required
    - `room_url` string, required
    - `room_name` string, required
    - `expires_in` number, required
    - `agent_id` string, uuid, required
    - `ice_servers` unknown[], required
      - unknown

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict (incl. idempotency conflicts)
- `429`: Rate limited

---

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