Create Form Filling Session
Create a Form filling session and obtain a session identifier for subsequent calls
ambient_session_id. Use that value for context, streaming, end, status, structured data, feedback, and related session operations.
You can create a Form filling session with an empty request body. Suki generates ambient_session_id for you.
Add a field when you need the behavior it enables:
ambient_session_id: Supply your own Form filling session ID (Must be a valid UUID). If you omit it, Suki generates one and returns it.correlation_id: Supply a client value for tracing or correlating the session in your own systems.
ambient_session_id, but the values identify different sessions. Do not pass an Ambient API session ID here. Use only the Form filling ambient_session_id returned from this endpoint for Form filling REST calls and for /ws/stream.Code examples
sdp.suki-stage.com only as examples.
For credentials, base URLs, where to run Python or TypeScript, CORS, and cURL, refer to Using code examples in your integration in the API Reference Guidelines.- Python
- TypeScript
Authorizations
Suki access token (suki_token) from Login or Register. Expires after one hour.
Headers
Optional for standard partners.
Required for:
- Bearer authentication. Use the same
provider_idreturned by the Login or Register API. - Single Auth Token authentication. Include the same
provider_idon every request assdp_provider_id.
"provider-123"
Body
Optional form-filling session ID and correlation metadata. Suki generates a form-filling session ID when omitted.
Optional - Form-filling session ID in UUID format. Suki generates one when omitted and returns it in the ambient_session_id response field. Do not pass an ambient clinical documentation session ID.
"123dfg-456dfg-789dfg-012dfg"
Optional - Client-supplied identifier for tracing or correlating requests.
"123dfg-456dfg-789dfg-012dfg"
Response
Resource created successfully.
New form-filling session ID returned after create.
Form-filling session ID for subsequent form-filling API calls. Despite the field name, this is not an ambient clinical documentation session ID.
"123dfg-456dfg-789dfg-012dfg"