cURL
curl --request POST \ --url https://swiftproxy.io/api/reseller/v1/sub-user \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "<string>", "username": "<string>", "trafficLimitGB": 123, "proxyType": "PREMIUM_RESIDENTIAL" }'
{ "success": true, "user": { "id": "<string>", "email": "<string>", "username": "<string>", "password": "<string>", "proxyType": "PREMIUM_RESIDENTIAL", "createdAt": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Sub-user created successfully
The response is of type object.
object