---
title: "Forward WebRTC offer"
method: POST
path: "/v2/realtime/webrtc/offer"
tags: ["Realtime Emotion API"]
---

# Forward WebRTC offer

`POST /v2/realtime/webrtc/offer`

## Request

- Base URL: `https://api.imentiv.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.imentiv.ai/v2/realtime/webrtc/offer`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://api.imentiv.ai/oauth/authorize`
    - Token URL: `https://api.imentiv.ai/oauth/token` scopes: `realtime.write`

Forward WebRTC SDP offer to establish media connection.

## Request body

- WebRTCOfferRequest: Request model for forwarding WebRTC SDP offer.
  - `session_id` string, required: Active session identifier
  - `sdp` string, required: SDP offer string
  - `type` string: SDP type (usually 'offer')

## Response `200`

Successful Response

- WebRTCOfferResponse: Response model containing SDP answer.
  - `session_id` string, required: Session identifier
  - `sdp` string, required: SDP answer string
  - `type` string, required: SDP type (usually 'answer')

## Other responses

- `410`: The server holding this session restarted or went away, and the session ended with it. The body carries `{"code": "session_node_gone"}`. Start a new session; retrying this one will not help.
- `422`: Validation Error

## Changes

- **2026-10-31** `bd825cd86e8c`: 1 info
  - added the non-success response with the status `410`
- **2026-10-01** `72330e2229c7`: 3 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was added to the API
  - the endpoint scheme security `OAuth2Delegated` was added to the API
- **2026-08-28** `3c1aeed97c95`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/changes/v2/realtime/webrtc/offer/post.md)

---

[API](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai.md) - [All operations](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/revisions/bc15cec7e794?raw)
