Skip to main content
GET
/
api
/
users
/
me
Retrieves a User resource.
curl --request GET \
  --url https://anyip.io/api/users/me \
  --header 'api-key: <api-key>'
{
  "email": "jsmith@example.com",
  "@context": "<string>",
  "@id": "<string>",
  "@type": "<string>",
  "apps": [
    {
      "app_name": "<string>",
      "@context": "<string>",
      "@id": "<string>",
      "@type": "<string>",
      "api_token": "<string>",
      "app_dev_name": "<string>",
      "enabled": true,
      "id": "<string>",
      "max_dau": 123,
      "sdk_key": "<string>"
    }
  ],
  "enabled": true,
  "api_key": "<string>",
  "id": "<string>",
  "past_subscriptions": [
    {
      "@context": "<string>",
      "@id": "<string>",
      "@type": "<string>",
      "cancelled_at": "2023-11-07T05:31:56Z",
      "gateway": "paddle",
      "paused_at": "2023-11-07T05:31:56Z",
      "plan": {
        "name": "<string>",
        "@context": "<string>",
        "@id": "<string>",
        "@type": "<string>",
        "description": "<string>",
        "price": 123,
        "price_per_extra_gb": 123,
        "price_per_extra_proxy_account": 123,
        "proxy_account_quota": 123,
        "quota": 123,
        "trial": true,
        "paddle_product_id": 123
      },
      "status": "<string>",
      "subscription_id": "<string>",
      "topups": [
        {
          "kind": "<string>",
          "@context": "<string>",
          "@id": "<string>",
          "@type": "<string>",
          "quantity": 123,
          "description": "<string>",
          "payment_kind": "purchase"
        }
      ],
      "update_url": "<string>",
      "valid_from": "2023-11-07T05:31:56Z",
      "valid_until": "2023-11-07T05:31:56Z",
      "current_quota": 123,
      "current_proxy_account_quota": 123,
      "current_quota_str": "<string>",
      "bytes_recv": 123,
      "bytes_sent": 123,
      "consumption": 123,
      "consumption_str": "<string>"
    }
  ],
  "payments": [
    {
      "@context": "<string>",
      "@id": "<string>",
      "@type": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "payment_id": "<string>",
      "subscription_id": "<string>",
      "gateway": "<string>",
      "price": 123,
      "product_name": "<string>",
      "quantity": 123,
      "receipt_url": "<string>",
      "status": "<string>"
    }
  ],
  "roles": [
    "<string>"
  ],
  "subscription": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "cancelled_at": "2023-11-07T05:31:56Z",
    "gateway": "paddle",
    "paused_at": "2023-11-07T05:31:56Z",
    "plan": {
      "name": "<string>",
      "@context": "<string>",
      "@id": "<string>",
      "@type": "<string>",
      "description": "<string>",
      "price": 123,
      "price_per_extra_gb": 123,
      "price_per_extra_proxy_account": 123,
      "proxy_account_quota": 123,
      "quota": 123,
      "trial": true,
      "paddle_product_id": 123
    },
    "status": "<string>",
    "subscription_id": "<string>",
    "topups": [
      {
        "kind": "<string>",
        "@context": "<string>",
        "@id": "<string>",
        "@type": "<string>",
        "quantity": 123,
        "description": "<string>",
        "payment_kind": "purchase"
      }
    ],
    "update_url": "<string>",
    "valid_from": "2023-11-07T05:31:56Z",
    "valid_until": "2023-11-07T05:31:56Z",
    "current_quota": 123,
    "current_proxy_account_quota": 123,
    "current_quota_str": "<string>",
    "bytes_recv": 123,
    "bytes_sent": 123,
    "consumption": 123,
    "consumption_str": "<string>"
  },
  "try_at": "2023-11-07T05:31:56Z",
  "utm_tags": [
    "<string>"
  ],
  "bento_hash": "<string>",
  "intercom_hash": "<string>",
  "auto_topup_setting": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "enabled": true,
    "threshold": 1,
    "extra_gb": 2
  },
  "is_subscription_expired": true
}

Authorizations

api-key
string
header
required

Value for the api-key header parameter.

Response

User resource

email
string<email>
required
@context
@id
string
@type
string
apps
object[]
enabled
boolean
api_key
string | null
id
string
past_subscriptions
object[]
payments
object[]
roles
string[]
subscription
object
try_at
string<date-time> | null
utm_tags
string[] | null
bento_hash
string | null
intercom_hash
string | null
auto_topup_setting
object
is_subscription_expired
boolean
default:true
Example:

true