POST
/
sessions
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"
}

Authorizations

Authorization
string
header
required

Body

application/json
Session creation request

The body is of type object.

Response

201
application/json
Session created successfully

The response is of type object.