WireGuard - API
Get user token
{
“key”: “ The Token “
}
Get the server list
[{
“name”: “Switzerland 2”,
“countryflag”: “ch”,
“server_number”: 2,
“publickey”: “IBcbsHxmCuTBlCXJyGQhDaIIeU4gfw8u8RW72KwSvSg=”
},
{
“name”: “Switzerland 1”,
“countryflag”: “ch”,
“server_number”: 1,
“publickey”: “dwU5W923xWfetS01IDUima9kYHZTRx8Tgh1x9P4tYGc=”
}
]
Send your wg public key
server is countryflag+server_number
{
“ip”: “YOUR authorized wg IPv4”,
“ipv6”: “YOUR authorized wg IPV6“
}