Postpone Logo
Queries

User

Query the authenticated user's profile, account details, and plan information.

The profile query returns information about the currently authenticated user, including their account details and plan.

UserType

id
ID!
Unique identifier for the user.
email
String
The user's email address.
username
String
The user's username.
fullName
String
The user's full display name.
timezone
String
The user's timezone (e.g. America/New_York).
registeredAt
DateTime
When the user registered their account.
account
AccountType
The account this user belongs to. See AccountType below.
socialAccounts
[SocialAccountType]
Social media accounts connected to this user's account. See Social Accounts for the full type reference.

AccountType

id
ID!
Unique identifier for the account.
name
String
The account's display name.
plan
PlanType
The account's current subscription plan. See PlanType below.
subscriptionStatus
String
Current subscription status (e.g. active, canceled, trialing).
postsSubmittedThisMonth
Int
Number of posts submitted in the current billing month.

PlanType

code
String
The plan's unique code identifier (e.g. creator, professional).
label
String
Human-readable plan name (e.g. Creator, Professional).
allowedMonthlyPosts
Int
Maximum posts per month allowed by this plan.
allowedMonthlyTweets
Int
Maximum tweets per month allowed by this plan.

profile Query

Retrieve the authenticated user's profile. No arguments are required.

query profile {
  profile {
    id
    email
    username
    fullName
    timezone
    registeredAt
    remainingMonthlyPosts
    account {
      id
      name
      subscriptionStatus
      allowedMonthlyPosts
      postsSubmittedThisMonth
      plan {
        code
        label
        allowedMonthlyPosts
      }
    }
  }
}