post
https://platform.perso.ai/api/v1/session//exchange/
Exchange WebRTC Session Description Protocol (SDP) to establish a peer connection.
How It Works
- Client generates an SDP offer using WebRTC APIs
- Send the offer to this endpoint
- Receive the server's SDP answer
- Use the answer to complete the WebRTC connection
Request Format
The client_sdp object must contain:
type: Must be"offer"sdp: The SDP string from your WebRTC offer
Example
Select "ExchangeSessionRequest" from the Examples dropdown to see the request format.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Bad Request - Invalid input data or parameters.
401Unauthorized - Invalid or missing authentication credentials.
403Forbidden - You do not have permission to perform this action.
404Not Found - The requested resource could not be found.
405Method Not Allowed - Invalid HTTP method
406Not Acceptable - Invalid request accept headers
415Unsupported Media Type - Invalid content type
500Internal Server Error - An unexpected error occurred.
