Skip to content

lookupAccount

Retrieve account information.

Arguments

Argument Type Description
input (required) LookupAccountInput! Input required for retrieving account information.

Returns

LookupAccountReply!

Sample

query LookupAccount($input: LookupAccountInput!) {
  lookupAccount(input: $input) {
    accountExpiryDate
    accountHoldLength
    accountState
    accountStateUpdatedAt
    accountType
    holdWarningLength
    subdomain
  }
}
{
  "input": {
    "includeExpiryDate": true
  }
}
{
  "data": {
    "lookupAccount": {
      "accountExpiryDate": "2024-01-01T00:00:00.000Z",
      "accountHoldLength": 0,
      "accountState": "ACTIVE_STATE",
      "accountStateUpdatedAt": "2024-01-01T00:00:00.000Z",
      "accountType": "POC",
      "holdWarningLength": 0
    }
  }
}