v2

latestOpenAPI 3.1.02026-07-2662567.7 KB

Get current user

Retrieve the authenticated user's Midpage identity and current subscription status.

Authenticate with a bearer token in the Authorization header.

Supported bearer tokens:

  • OAuth access token
  • API key

Common subscription statuses:

  • active
  • trialing
  • past_due
  • canceled

If no subscription status is available, subscriptionStatus may be null.

get/me

Response

Current user profile

userIdstring required

Midpage user identifier

subscriptionStatusstring nullable required

Current subscription status.

Common values include active, trialing, past_due, and canceled. May be null if no subscription status is available.

Example response

{
  "userId": "user_123",
  "subscriptionStatus": "active"
}