Access Replit’s GraphQL API to retrieve user information, Replit App metadata, and other platform data through the Extensions API.
data.currentUser
data.userById
data.userByUsername
data.currentRepl
data.replById
data.replByUrl
Property | Type |
---|---|
bio? | string |
displayName? | string |
firstName? | string |
followCount? | number |
followerCount? | number |
fullName? | string |
id | number |
image | string |
isUserHacker? | boolean |
isUserPro? | boolean |
lastName? | string |
roles? | UserRole[] |
socials? | UserSocial[] |
url? | string |
username | string |
Property | Type |
---|---|
includePlan? | boolean |
includeRoles? | boolean |
includeSocialData? | boolean |
Property | Type |
---|---|
__typename | string |
codeIntelligence | boolean |
codeSuggestion | boolean |
fontSize | number |
indentIsSpaces | boolean |
indentSize | number |
keyboardHandler | string |
minimapDisplay | string |
multiselectModifierKey | string |
wrapping | boolean |
Property | Type |
---|---|
commentCount? | number |
comments? | ReplCommentConnection |
description | string |
iconUrl? | string |
id | string |
imageUrl? | string |
isPrivate | boolean |
likeCount? | number |
multiplayers? | User[] |
owner? | ReplOwner |
publicForkCount? | number |
runCount? | number |
slug | string |
tags? | Tag[] |
timeCreated | string |
title | string |
url | string |
Property | Type |
---|---|
body | string |
id | number |
user | User |
Property | Type |
---|---|
items | ReplComment[] |
Property | Type |
---|---|
includeComments? | boolean |
includeMultiplayers? | boolean |
includeOwner? | boolean |
includeSocialData? | boolean |
Property | Type |
---|---|
__typename | string |
description? | string |
id | number |
image | string |
username | string |
Property | Type |
---|---|
id | string |
isOfficial | boolean |
Property | Type |
---|---|
bio? | string |
displayName? | string |
firstName? | string |
followCount? | number |
followerCount? | number |
fullName? | string |
id | number |
image | string |
isUserHacker? | boolean |
isUserPro? | boolean |
lastName? | string |
roles? | UserRole[] |
socials? | UserSocial[] |
url? | string |
username | string |
Property | Type |
---|---|
includePlan? | boolean |
includeRoles? | boolean |
includeSocialData? | boolean |
Property | Type |
---|---|
id | number |
key | string |
name | string |
tagline | string |
Property | Type |
---|---|
id | number |
type | UserSocialType |
url | string |
Property | Type |
---|
T
>