Get your account
const url = 'https://api.trueproxies.com/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.trueproxies.com/v1/me \ --header 'Authorization: Bearer <token>'Return the account associated with this key.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Ok
object
The party an invoice is issued to. Empty strings mean not provided; a name or a company must be present when setting them. Saving requires a country and the address fields required for that country. Existing incomplete profiles remain readable until completed.
object
Two-letter ISO 3166-1 alpha-2 code.
Internal API identifier. Use reference for customer-facing display.
Read-only support session (spec §11)
Display name from the identity provider (Google sign-in). Absent when none is known.
Stable, unique customer-facing reference.
Enables reseller customer management, wallet and reseller API operations.
Account role. Sub-customers cannot join the affiliate program.
The account is suspended; proxies refuse its services and purchases are blocked
Enables white-label store access. Requires reseller_enabled.
Example
{ "reference": "ACC-001001", "role": "customer"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}Error
object
What a client needs to act on the error (ids, flags), never display text.
object
Example
{ "code": "BAD_REQUEST"}