cURL
curl --request POST \ --url https://api.pingnetwork.io/customer/v2/sessions \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "client_id": "<string>", "connection_type": "vless", "zone": "<string>", "reusable": true }'
{ "id": "<string>", "connection_type": "vless", "zone": "<string>", "configuration": {}, "configuration_link": "<string>", "reusable": true, "created_at": "2023-11-07T05:31:56Z" }
Creates a new session in the specified zone with the requested connection type
Session creation request
The body is of type object.
object
Session created successfully
The response is of type object.