Goal

Get your account's complete state in a single request: user data, active plan, usage quotas, and email verification status.

Prerequisites

  • An active API key (mxcep_…) or a valid cookie session.

Steps

1. Retrieve the profile

curl -X GET 'https://api.example.com/v1/users/me' \
  -H 'Authorization: Bearer mxcep_••••'

The response includes key account attributes: email, name, timezone, verification status, active plan, and quota counters.

2. Interpret the quota fields

The quota object in data.attributes shows current billing-period usage. Compare used against limit to anticipate when your quota will be exhausted.

3. Check plan status

The subscription.status field can be active, trialing, past_due, or canceled. If past_due, validations may be blocked until payment is resolved.

Expected result

A data object with type: "user" and all account attributes in a single response, without additional calls.