POST
POST /live/sessions/{session_id}/fork — OpenAI API
OpenAI API key (required); https://api.openai.com/v1
OpenAI APIFork session
- Base URL
- https://api.openai.com/v1
- Auth
- Authorization: Bearer <OPENAI_API_KEY>
- Last verified
- 2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 245 tokens · Vary: Accept
→ 245 tokens · Vary: Accept
Critical gotchas
The Responses API is the primary interface for new text and tool workflows; Chat Completions remains a separate compatibility API.
Audio transcription uploads use multipart form data rather than a JSON request body.
cURL
curl -X POST 'https://api.openai.com/v1/live/sessions/session-id/fork' \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "transport": { "type": "webrtc", "sdp": "example-sdp" }}'
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| session_id | path | string | Yes | The ID of the stored Live session to fork. |
| session | body | object | No | Optional overrides for a stored Live session. Omitted settings are inherited. The model, voice, frontend instructions, and prior conversation come from the stored session. WebRTC negotiates its audio format; audio.format is only supported on WebSocket forks. |
| transport | body | object | Yes | WebRTC transport carrying the offer SDP in a creation request or answer SDP in its response. |
Response 200 OK
{
"session": {
"id": "string"
},
"transport": {
"type": "webrtc",
"sdp": "string"
}
} Get a free OpenAI API key → sponsored Affiliate link - we may earn a commission, at no extra cost to you.