Create a card capture session
POST/api/cardcapture/session/:key
Initiates a new card capture session for the given key. The session is linked to an active call via a DialogId or SipCallId from the in-flight calls cache. In simulation mode, a simulated call context is used instead.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Session created successfully.
Failed to create the session.
Authentication failed — token is missing, expired, or invalid.
Caller does not have the required role.
No matching call found for the provided DialogId or SipCallId.
An unexpected server error occurred.