POST
/
session

Headers

Content-Type
enum<string>
required

The value must be application/json

Available options:
application/json
Authorization
string

Whitelisted API key if auth module is turned on

Body

application/json
clientType
enum<string>
required

Types of client that the prover is using

Available options:
Tcp,
Websocket
maxSentData
integer

Maximum data that can be sent by the prover in bytes

maxRecvData
integer

Maximum data that can be received by the prover in bytes

Response

200 - application/json
sessionId
string
required

Unique ID returned from server upon calling POST /session