psymatch
/ Docs
← Back to app
API reference
    Root types
    • Query fieldsall
    • auth & profile
    • discovery
    • matches
    • chat
    • psychometrics
    • admin
    Docs/API/Query
    Query

    messages

    Arguments

    messages arguments
    userIdID!

    Returns [Message!]!

    Message
    idID!
    senderUser!
    idID!
    emailString!
    fullNameString!
    bioString
    profilePictureString
    photos[String!]!
    photoCaptions[String!]!
    audioIntroUrlString
    audioIntroPromptString
    interests[String!]
    genderString
    birthDateString
    locationString
    occupationString
    heightInt
    educationString
    lookingForString
    hasPreciseLocationBoolean!
    verificationStatusVerificationStatus!
    verifiedAtString
    distanceInt
    compatibilityInt
    lastActiveString
    createdAtString!
    updatedAtString!
    recipientUser!
    idID!
    emailString!
    fullNameString!
    bioString
    profilePictureString
    photos[String!]!
    photoCaptions[String!]!
    audioIntroUrlString
    audioIntroPromptString
    interests[String!]
    genderString
    birthDateString
    locationString
    occupationString
    heightInt
    educationString
    lookingForString
    hasPreciseLocationBoolean!
    verificationStatusVerificationStatus!
    verifiedAtString
    distanceInt
    compatibilityInt
    lastActiveString
    createdAtString!
    updatedAtString!
    contentString!
    readBoolean!
    reactions[MessageReactionSummary!]!
    reactionMessageReactionKind!
    countInt!
    viewerReactedBoolean!
    createdAtString!
    updatedAtString!

    Example

    query Messages($userId: ID!) {
      messages(userId: $userId) {
        # …select fields
      }
    }