cURL
curl --request GET \ --url https://app.pentest-tools.com/api/v2/vpn_profiles \ --header 'Authorization: Bearer <token>'
[ { "id": "990a9f5c-d0df-4903-91fb-35b9fea0077d", "name": "Internal Network Agent", "type": "VPN Agent" } ]
Use the "API key" from the profile page as the token
OK
"990a9f5c-d0df-4903-91fb-35b9fea0077d"
"Internal Network Agent"
VPN Agent
OpenVPN Server
Was this page helpful?