Skip to main content

API Methods

All methods, input and output type schemas are available in the introspection. To view the schema or work in a sandbox, use the Chrome extension - Altair GraphQL Client.

API is available at

https://api.spellsync.com/gs/api/graphql

List of Administrator Methods

MethodDescription
CreateAchievementCreate achievement
UpdateAchievementUpdate achievement
DeleteAchievementDelete achievement
CreateAchievementsGroupCreate achievements group
UpdateAchievementsGroupUpdate achievements group
DeleteAchievementsGroupDelete achievements group
AddAchievementToPlayerAdd achievement to player
RemoveAchievementFromPlayerRemove achievement from player
FetchAchievementsFetch achievements
FetchAchievementsGroupsFetch achievements groups
FetchPlayersAchievementsFetch players' achievements
FetchAdminPlayerAchievementsFetch player's achievements
FetchAchievementStatsFetch achievement statistics
FetchChannelInvitesFetch channel invites
SendInviteToChannelSend invite to channel
CancelInviteToChannelCancel invite to channel
FetchChannelJoinRequestsFetch channel join requests
RejectJoinRequestToChannelReject join request to channel
FetchChannelMembersFetch channel members
KickFromChannelKick from channel
AddToChannelAdd to channel
FetchChannelMessagesFetch channel messages
FetchPrivateMessagesFetch private messages
FetchFeedMessagesFetch feed messages
CreateChannelMessageCreate channel message
UpdateChannelMessageUpdate channel message
DeleteChannelMessageDelete channel message
SendPersonalMessageSend personal message
SendFeedMessageSend feed message
FetchPlayerMuteFetch list of muted players
MutePlayerInChannelMute player in channel
UnmutePlayerInChannelUnmute player in channel
FetchChannelTemplateFetch channel template
FetchChannelTemplatesFetch channel templates
CreateChannelTemplateCreate channel template
UpdateChannelTemplateUpdate channel template
DeleteChannelTemplateDelete channel template
FetchChannelsFetch channels
FetchChannelFetch channel
CreateChannelCreate channel
UpdateChannelUpdate channel
DeleteChannelDelete channel
FetchDocumentsFetch documents
SaveDocumentSave document
FetchEventsFetch events
CheckEventExistsCheck event exists
FetchAdminPlayerEventsFetch player's events
FetchEventsStatsFetch events statistics
UpsertEventUpdate event
DeleteEventDelete event
AddEventToPlayerAdd event to player
RemoveEventFromPlayerRemove event from player
FetchFilesFetch files
UploadFileUpload file
UpdateFileUpdate file
DeleteFilesDelete files
FetchGamesCollectionsFetch games collections
CreateGamesCollectionCreate games collection
UpdateGamesCollectionUpdate games collection
DeleteGamesCollectionDelete games collection
FetchImagesFetch images
UploadImageUpload image
UpdateImageUpdate image
DeleteImagesDelete images
FetchLeaderboardsFetch leaderboards
FetchLeaderboardFetch leaderboard
FetchLeaderboardVariantFetch leaderboard variant
FetchLeaderboardsVariantsFetch leaderboard variants
FetchLeaderboardRecordsFetch leaderboard records
FetchAdminPlayerRecordsFetch player's record
CreateLeaderboardCreate leaderboard
UpdateLeaderboardUpdate leaderboard
DeleteLeaderboardDelete leaderboard
DeleteLeaderboardVariantDelete leaderboard variant
UpdateLeaderboardRecordUpdate leaderboard record
DeleteLeaderboardRecordDelete leaderboard record
DeleteAdminPlayerRecordsDelete player's record
FetchModelFetch model
FetchModelsFetch models
UpdateModelUpdate model
FetchPlatformsFetch platforms
AddPlatformAdd platform
UpdatePlatformUpdate platform
UpdatePlatformBannersUpdate platform banners
UpdatePlatformAdsUpdate platform ads
DeletePlatformDelete platform
FindPlayerStateByIdFind player data by ID
FindPlayerByIdFind player by ID
FetchPlayersFetch players
FetchPlayersReportsFetch players' reports
UpdatePlayerUpdate player
DeletePlayerDelete player
RestorePlayerRestore player
BanPlayerBan player
UnbanPlayerUnban player
RestorePlayerFromArchiveRestore player from archive
UpdatePlayerModifiedAtUpdate modified player
FetchPlayersPurchasesFetch players' purchases
FetchAdminPlayerPurchasesFetch player's purchases
FetchProductsFetch products
FetchPlayerPurchasesStatsFetch player purchases statistics
AddPurchaseToPlayerAdd purchase to player
UpdatePlayerPurchaseUpdate player's purchase
RemovePurchaseFromPlayerRemove purchase from player
CreateProductCreate product
UpdateProductUpdate product
DeleteProductDelete product
UpsertProjectVariableUpdate project variable
DeleteProjectVariableDelete project variable
FetchRewardsFetch rewards
FetchPlayersRewardsFetch players' rewards
FetchAdminPlayerRewardsFetch admin player's rewards
CheckRewardExistsCheck if reward exists
FetchRewardStatsFetch reward statistics
CreateRewardCreate reward
UpdateRewardUpdate reward
DeleteRewardDelete reward
AddRewardToPlayerAdd reward to player
SubstractRewardFromPlayerSubtract reward from player
DropRewardsForPlayerDrop rewards for player
FetchSchedulersFetch schedulers
FetchSchedulerTriggersFetch scheduler triggers
CheckSchedulerExistsCheck if scheduler exists
FetchPlayersSchedulersFetch players' schedulers
UpsertSchedulerUpdate scheduler
SaveSchedulerTriggersOnDaySave scheduler triggers on day
DeleteSchedulerDelete scheduler
AddSchedulerToPlayerAdd scheduler to player
RemoveSchedulerFromPlayerRemove scheduler from player
UpdatePlayerSchedulerUpdate player's scheduler
FetchSegmentsFetch segments
CreateSegmentCreate segment
UpdateSegmentUpdate segment
DeleteSegmentDelete segment
FetchCommonTriggersFetch common triggers
FetchAdminPlayerTriggersFetch admin player's triggers
CheckTriggerExistsCheck if trigger exists
FetchTriggersStatsFetch trigger statistics
CreateCommonTriggerCreate common trigger
UpdateCommonTriggerUpdate common trigger
DeleteCommonTriggerDelete common trigger
ActivateTriggerForPlayerActivate trigger for player
DeactivateTriggerForPlayerDeactivate trigger for player
FetchAdsStatsFetch ads statistics
FetchDwmStatsFetch DWM statistics
FetchFilesStatsFetch files statistics
FetchHostingStatsFetch hosting statistics
FetchImagesStatsFetch images statistics
FetchOnlineStatsFetch online statistics
FetchStatsRequestsFetch statistics requests
FetchRetentionStatsFetch retention statistics
FetchSessionsStatsFetch sessions statistics

List of Player Methods

MethodDescription
UnlockPlayerAchievementUnlock player achievement
PlayerSetAchievementProgressSet achievement progress for player
FetchPlayerAchievementsGet player achievements
SyncPlayerSync player
GetPlayerGet player data
FetchPlayerFieldsGet player fields
CheckPlayerCodeCheck player code
SyncPlayerPurchasesSync player purchases
PurchasePlayerPurchasePurchase by player
ConsumePlayerPurchaseConsume player purchase
UnsubscribePlayerSubscriptionUnsubscribe player
ResumePlayerSubscriptionResume player subscription
CancelPlayerSubscriptionCancel player subscription
FetchPlayerPurchasesGet player purchases
FindPlayerPurchaseFind player purchase
FetchPlayerProjectVariablesGet project variables
FetchPlayerProjectConfigGet player project configuration
GivePlayerRewardGive player reward
FetchPlayerRewardsGet player rewards
PlayerPublishRecordPublish player record
FetchTopGet top
FetchPlayerRatingGet player rating
UploadPlayerImageUpload player image
FetchPlayerImagesGet player images
UploadPlayerFileUpload player file
FetchPlayerFilesGet player files
FetchPlayerGamesCollectionGet player games collection
PlayerJoinEventPlayer joins event
PlayerRegisterOnSchedulerPlayer register on scheduler
FetchPlayerDocumentGet player document
PlayerCreateChannelCreate channel
PlayerUpdateChannelUpdate channel
PlayerGetPaymentLinkGet payment link
PlayerFetchPlayersGet players
PlayerDeleteChannelDelete channel
PlayerMutePlayerInChannelMute player in channel
PlayerUnmutePlayerInChannelUnmute player in channel
PlayerSendPersonalMessageSend personal message to player
PlayerSendFeedMessageSend message to channel
PlayerSendMessageSend message
PlayerEditMessageEdit message
PlayerDeleteMessageDelete message
PlayerFetchChannelMessagesGet channel messages
PlayerFetchPersonalMessagesGet personal messages
PlayerFetchFeedMessagesGet feed messages
PlayerKickFromChannelKick player from channel
PlayerFetchChannelMembersGet channel members
PlayerJoinChannelJoin channel
PlayerLeaveChannelLeave channel
PlayerCancelJoinChannelCancel join channel request
PlayerAcceptJoinRequestToChannelAccept join request to channel
PlayerRejectJoinRequestToChannelReject join request to channel
PlayerFetchChannelJoinRequestsGet channel join requests
PlayerFetchSentJoinRequestsGet sent join requests
PlayerSendInviteToChannelSend invite to channel
PlayerCancelInviteToChannelCancel invite to channel
PlayerAcceptInviteToChannelAccept invite to channel
PlayerRejectInviteToChannelReject invite to channel
PlayerFetchChannelInvitesGet channel invites
PlayerFetchPlayerSentInvitesGet sent invites
PlayerFetchPlayerInvitesGet player invites

Stay in Touch

Other documents of this chapter available Here. To get started, welcome to the Tutorials chapter.

SpellSync Community Telegram: @spellsync.

For your suggestions e-mail: [email protected]

We Wish you Success!