Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Heroic Labs Console API

The Console API from Heroic Labs — 73 operation(s) for console.

Heroic Labs Console API is one of 2 APIs that Heroic Labs publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Console. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 92 operations across 73 paths, and defines 108 schemas. It is described by OpenAPI 2.0, at version 2.0.

Requests are made against the base URL https://cloud.heroiclabs.com.

92 operations 73 paths 108 schemas 17 DELETE39 GET32 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
2.0
Base URL
https://cloud.heroiclabs.com
Authentication
basic, API Key
Resource Areas
1

Authentication & Security 2

Heroic Labs Console API declares 2 security schemes for authenticating requests. It defines a basic scheme (BasicAuth). An API key is passed in the header as Authorization (BearerJwt). By default, every request must be authenticated.

Paths & Operations 92

Across 73 paths, the API surfaces 92 operations — 17 DELETE, 39 GET, 32 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.

Console 92
GET
/v2/console/account
List (and optionally filter) accounts.
ListAccounts 3 params → 200default
DELETE
/v2/console/account
Delete (non-recorded) all user accounts.
DeleteAccounts → 200default
POST
/v2/console/account
Import given account export data, creating a new account that fully matches the data.
ImportAccountFull 1 param → 200default
GET
/v2/console/account/{account_id}/note
ListAccountNotes 3 params → 200default
POST
/v2/console/account/{account_id}/note
AddAccountNote 2 params → 200default
DELETE
/v2/console/account/{account_id}/note/{note_id}
DeleteAccountNote 2 params → 200default
GET
/v2/console/account/{account_id}/wallet
Get a list of the user's wallet transactions.
GetWalletLedger 5 params → 200default
GET
/v2/console/account/{id}
Get detailed account information for a single user.
GetAccount 1 param → 200default
DELETE
/v2/console/account/{id}
Delete all information stored for a user account.
DeleteAccount 2 params → 200default
POST
/v2/console/account/{id}
Update one or more fields on a user account.
UpdateAccount 2 params → 200default
POST
/v2/console/account/{id}/ban
Ban a user.
BanAccount 1 param → 200default
GET
/v2/console/account/{id}/export
Export all information stored about a user account.
ExportAccount 1 param → 200default
GET
/v2/console/account/{id}/friend
Get a user's list of friend relationships.
GetFriends 1 param → 200default
DELETE
/v2/console/account/{id}/friend/{friend_id}
Delete the friend relationship between two users.
DeleteFriend 2 params → 200default
GET
/v2/console/account/{id}/group
Get a list of groups the user is a member of.
GetGroups 1 param → 200default
DELETE
/v2/console/account/{id}/group/{group_id}
Remove a user from a group.
DeleteGroupUser 2 params → 200default
PUT
/v2/console/account/{id}/import
Import given account export data, overwriting the user account's current state.
ImportAccount 2 params → 200default
POST
/v2/console/account/{id}/unban
Unban a user.
UnbanAccount 1 param → 200default
POST
/v2/console/account/{id}/unlink/apple
Unlink the Apple ID from a user account.
UnlinkApple 1 param → 200default
POST
/v2/console/account/{id}/unlink/custom
Unlink the custom ID from a user account.
UnlinkCustom 1 param → 200default
POST
/v2/console/account/{id}/unlink/device
Unlink the device ID from a user account.
UnlinkDevice 2 params → 200default
POST
/v2/console/account/{id}/unlink/email
Unlink the email from a user account.
UnlinkEmail 1 param → 200default
POST
/v2/console/account/{id}/unlink/facebook
Unlink the Facebook ID from a user account.
UnlinkFacebook 1 param → 200default
POST
/v2/console/account/{id}/unlink/facebookinstantgame
Unlink the Facebook Instant Game ID from a user account.
UnlinkFacebookInstantGame 1 param → 200default
POST
/v2/console/account/{id}/unlink/gamecenter
Unlink the Game Center ID from a user account.
UnlinkGameCenter 1 param → 200default
POST
/v2/console/account/{id}/unlink/google
Unlink the Google ID from a user account.
UnlinkGoogle 1 param → 200default
POST
/v2/console/account/{id}/unlink/steam
Unlink the Steam ID from a user account.
UnlinkSteam 1 param → 200default
DELETE
/v2/console/account/{id}/wallet/{wallet_id}
Delete a wallet ledger item.
DeleteWalletLedger 2 params → 200default
GET
/v2/console/acl/template
ListAclTemplates → 200default
POST
/v2/console/acl/template
AddAclTemplate 1 param → 200default
DELETE
/v2/console/acl/template/{id}
DeleteAclTemplate 1 param → 200default
PUT
/v2/console/acl/template/{id}
UpdateAclTemplate 2 params → 200default
DELETE
/v2/console/all
Deletes all data
DeleteAllData → 200default
GET
/v2/console/api/endpoints
API Explorer - list all endpoints
ListApiEndpoints → 200default
POST
/v2/console/api/endpoints/rpc/{method}
API Explorer - call a custom RPC endpoint
CallRpcEndpoint 2 params → 200default
POST
/v2/console/api/endpoints/{method}
API Explorer - call an endpoint
CallApiEndpoint 2 params → 200default
GET
/v2/console/audit/log
List audit log entries with the selected filter
ListAuditLogs 7 params → 200default
GET
/v2/console/audit/log/users
List console usernames that can be used to filter the audit logs
ListAuditLogsUsers → 200default
POST
/v2/console/authenticate
Authenticate a console user with username and password.
Authenticate 1 param → 200default
POST
/v2/console/authenticate/logout
Log out a session and invalidate the session token.
AuthenticateLogout 1 param → 200default
POST
/v2/console/authenticate/mfa
Change an account's MFA using a code, usually delivered over email.
AuthenticateMFASetup 1 param → 200default
POST
/v2/console/authenticate/password_change
Change an account's password using a code, usually delivered over email.
AuthenticatePasswordChange 1 param → 200default
GET
/v2/console/channel
List channel messages with the selected filter
ListChannelMessages 6 params → 200default
GET
/v2/console/config
Get server config and configuration warnings.
GetConfig → 200default
GET
/v2/console/extensions
RegisteredExtensions → 200default
GET
/v2/console/group
List (and optionally filter) groups.
ListGroups 2 params → 200default
POST
/v2/console/group/{group_id}/account/{id}/demote
Demote a user from a group.
DemoteGroupMember 2 params → 200default
POST
/v2/console/group/{group_id}/account/{id}/promote
Promote a user from a group.
PromoteGroupMember 2 params → 200default
POST
/v2/console/group/{group_id}/add
Add/join members to a group.
AddGroupUsers 2 params → 200default
GET
/v2/console/group/{id}
Get detailed group information.
GetGroup 1 param → 200default
DELETE
/v2/console/group/{id}
Remove a group.
DeleteGroup 1 param → 200default
POST
/v2/console/group/{id}
Update one or more fields on a group.
UpdateGroup 2 params → 200default
GET
/v2/console/group/{id}/export
Export all information stored about a group.
ExportGroup 1 param → 200default
GET
/v2/console/group/{id}/member
Get a list of members of the group.
GetMembers 1 param → 200default
GET
/v2/console/iap/purchase/{transaction_id}
Get purchase by transactionid
GetPurchase 1 param → 200default
GET
/v2/console/iap/subscription/{original_transaction_id}
Get subscription by originaltransactionid
GetSubscription 1 param → 200default
GET
/v2/console/leaderboard
List leaderboards
ListLeaderboards 1 param → 200default
GET
/v2/console/leaderboard/{id}
Get leaderboard.
GetLeaderboard 1 param → 200default
DELETE
/v2/console/leaderboard/{id}
Delete leaderboard
DeleteLeaderboard 1 param → 200default
DELETE
/v2/console/leaderboard/{id}/owner/{owner_id}
Delete leaderboard record
DeleteLeaderboardRecord 2 params → 200default
GET
/v2/console/leaderboard/{leaderboard_id}/records
List leaderboard records.
ListLeaderboardRecords 5 params → 200default
GET
/v2/console/match
List ongoing matches
ListMatches 8 params → 200default
GET
/v2/console/match/{id}/state
Get current state of a running match
GetMatchState 1 param → 200default
DELETE
/v2/console/message
Delete messages.
DeleteChannelMessages 2 params → 200default
GET
/v2/console/notification
List notifications.
ListNotifications 3 params → 200default
POST
/v2/console/notification
Send a notification.
SendNotification 1 param → 200default
GET
/v2/console/notification/{id}
Get a notification by id.
GetNotification 1 param → 200default
DELETE
/v2/console/notification/{id}
Delete notification
DeleteNotification 1 param → 200default
GET
/v2/console/purchase
List validated purchases
ListPurchases 6 params → 200default
GET
/v2/console/runtime
Get runtime info
GetRuntime → 200default
POST
/v2/console/satori/direct-message
SatoriSendDirectMessage 1 param → 200default
GET
/v2/console/satori/template
SatoriListTemplates 7 params → 200default
GET
/v2/console/setting
List settings
ListSettings 1 param → 200default
GET
/v2/console/setting/{name}
Get console settings.
GetSetting 1 param → 200default
POST
/v2/console/setting/{name}
Update an existing setting.
UpdateSetting 2 params → 200default
GET
/v2/console/status
Get current status data for all nodes.
GetStatus → 200default
GET
/v2/console/storage
List (and optionally filter) storage data.
ListStorage 4 params → 200default
DELETE
/v2/console/storage
Delete all storage data.
DeleteStorage → 200default
GET
/v2/console/storage/collections
List storage collections
ListStorageCollections → 200default
GET
/v2/console/storage/{collection}/{key}/{user_id}
Get a storage object.
GetStorage 3 params → 200default
DELETE
/v2/console/storage/{collection}/{key}/{user_id}
Delete a storage object.
DeleteStorageObject 4 params → 200default
PUT
/v2/console/storage/{collection}/{key}/{user_id}
Write a new storage object or replace an existing one.
WriteStorageObject 4 params → 200default
DELETE
/v2/console/storage/{collection}/{key}/{user_id}/{version}
Delete a storage object.
DeleteStorageObject2 4 params → 200default
GET
/v2/console/subscription
List validated subscriptions
ListSubscriptions 6 params → 200default
GET
/v2/console/user
List (and optionally filter) users.
ListUsers → 200default
DELETE
/v2/console/user
Delete console user.
DeleteUser 1 param → 200default
POST
/v2/console/user
Add a new console user.
AddUser 1 param → 200default
GET
/v2/console/user/{username}
GetUser 1 param → 200default
PUT
/v2/console/user/{username}
Update a console user.
UpdateUser 2 params → 200default
POST
/v2/console/user/{username}/mfa/require
Sets the user's MFA as required or not required.
RequireUserMfa 2 params → 200default
POST
/v2/console/user/{username}/mfa/reset
Reset a user's multi-factor authentication credentials.
ResetUserMfa 1 param → 200default
POST
/v2/console/user/{username}/reset/password
Reset a user's password.
ResetUserPassword 1 param → 200default

Schemas 108

The contract defines 108 schemas that model the data the API accepts and returns. The most detailed are console.Leaderboard (22 properties), api.User (18 properties), ChannelMessage (13 properties), ValidatedSubscription (13 properties). Each schema is shown below with its type and property counts.

DeleteChannelMessagesResponse
object
1 property
ApiEndpointList
object
2 properties
console.GroupList
object
A list of groups.
3 properties
LeaderboardRecord
object
Represents a complete leaderboard record with all scores and associated metadata.
12 properties
AddAccountNoteBody
object
Add a new note for the user.
2 properties
ChannelMessage
object
A message sent on a channel.
13 properties
GroupUserList
object
A list of users belonging to a group, along with their role.
2 properties
Warning
object
A warning for a configuration field.
2 properties
UpdateUserBody
object
Request to update an existing user.
1 property
Console.WriteStorageObjectBody
object
Write a new storage object or update an existing one.
4 properties
MatchState
object
3 properties
MatchList.Match
object
2 properties
Template.View
object
A template view.
10 properties
ConsoleSession
object
A console user session.
2 properties
StorageListObject
object
An object within the storage engine.
8 properties
PurchaseList
object
A list of validated purchases stored by Nakama.
3 properties
ModuleInfo
object
2 properties
SendDirectMessageRequest
object
The request to send direct messages.
6 properties
RuntimeInfo
object
6 properties
AccountDevice
object
Send a device to the server. Used with authenticate/link/unlink and user.
2 properties
Friend
object
A friend of a user.
4 properties
api.Notification
object
A notification in the server.
7 properties
PageOptions
object
2 properties
api.User
object
A user in the server.
18 properties
WalletLedgerList
object
List of wallet ledger items for a particular user.
3 properties
CallApiEndpointBody
object
3 properties
ChannelMessageList
object
A list of channel messages, usually a result of a list operation.
4 properties
StoreEnvironment
string
- UNKNOWN: Unknown environment. - SANDBOX: Sandbox/test environment. - PRODUCTION: Production environment.
Setting
object
A single setting.
3 properties
StorageCollectionsList
object
1 property
UserPresence
object
A user session associated to a stream, usually through a list operation or a join/leave event.
5 properties
MessageIntegrationType
string
Message integration's names. - FCM: The variant for Google's Firebase Cloud Messaging. - APNS: The variant for Apple's Message system. - FACEBOOKNOTIFICATION:…
AuditLog
object
9 properties
SendDirectMessageResponse
object
The response for the SendDirectMessageRequest.
1 property
StoreProvider
string
- APPLEAPPSTORE: Apple App Store - GOOGLEPLAYSTORE: Google Play Store - HUAWEIAPPGALLERY: Huawei App Gallery - FACEBOOKINSTANTSTORE: Facebook Instant Store
AuditLogAction
string
console.NotificationList
object
3 properties
CallRpcEndpointBody
object
3 properties
Group
object
A group in the server.
12 properties
api.Match
object
Represents a realtime match.
6 properties
Any
object
1 property
ListResponse
object
A list of templates.
2 properties
UpdateAccountBody
object
Update user account information.
12 properties
AclTemplateList
object
1 property
api.Account
object
A user with additional account details. Always the current user.
7 properties
MessageChannels
object
1 property
StatusHealth
string
AuthenticateMFASetupRequest
object
Request to change MFA.
2 properties
ListAccountNotesResponse
object
Response to list user notes.
2 properties
StorageObjectAck
object
A storage acknowledgement.
6 properties
Category.View
object
A summary of a Category.
3 properties
GroupUser
object
A single user-role pair.
2 properties
UserGroupList
object
A list of groups belonging to a user, along with the user's role in each group.
2 properties
AclTemplate
object
6 properties
AddUserResponse
object
Response to create/invite a new user.
2 properties
ImportAccountBody
object
Request to import user account data.
1 property
ApiEndpointDescriptor
object
2 properties
AuditLogList
object
Audit log entries.
3 properties
SettingList
object
A list of settings.
2 properties
UnlinkDeviceBody
object
Unlink a particular device ID from a user's account.
1 property
AuthenticatePasswordChangeRequest
object
Request to change a password.
2 properties
UpdateAclTemplateBody
object
3 properties
StatusList.Status
object
The status of a Nakama node.
12 properties
UpdateSettingBody
object
Request to update an existing setting.
1 property
console.Notification
object
8 properties
RequireUserMfaBody
object
Make a user's mfa required or not.
1 property
StorageList
object
List of storage objects.
3 properties
console.Account
object
Account information.
2 properties
ValidatedPurchase
object
Validated Purchase stored by Nakama.
11 properties
CallApiEndpointResponse
object
2 properties
Permissions
object
The possible actions that can done over a resource.
3 properties
FriendList
object
A collection of zero or more friends of the user.
2 properties
AccountList
object
A list of users.
3 properties
TemplateOverride
object
An template override.
5 properties
HiroSystems
object
Hiro available systems.
5 properties
GroupExport
object
An export of all information stored for a group.
2 properties
AccountExport
object
An export of all information stored for a user account.
8 properties
StorageObject
object
An object within the storage engine.
9 properties
AuthenticateRequest
object
Authenticate a console user with username and password.
3 properties
MessageChannelType
string
Message channel types. - PUSH: Push notification. - EMAIL: Email.
console.LeaderboardList
object
A list of leaderboards.
3 properties
AddGroupUsersBody
object
Add/join users to a group.
2 properties
AuditLogUsersList
object
List of users that can be filtered in the audit logs.
1 property
ResetUserResponse
object
Request to reset a user's credentials, password or MFA.
1 property
SubscriptionList
object
A list of validated subscriptions stored by Nakama.
3 properties
AddUserRequest
object
5 properties
UserGroup
object
A single group-role pair.
2 properties
UpdateGroupBody
object
Update group information.
7 properties
IntegrationResult
object
The outcome of using a specific integration.
4 properties
LeaderboardRecordList
object
A set of leaderboard records, may be part of a leaderboard records page or a batch of individual records.
5 properties
ValidatedSubscription
object
13 properties
AuthenticateLogoutRequest
object
Log out a session and invalidate a session token.
1 property
StatusList
object
List of nodes and their stats.
2 properties
rpc.Status
object
3 properties
AccountImport
object
Request to import user account data.
2 properties
console.User
object
8 properties
console.MatchList
object
A list of realtime matches, with their node names.
1 property
AclResources
string
ATTENTION: Do not modify the order of this enum. New resources should always be appended.
WalletLedger
object
An individual update to a user's wallet.
6 properties
Extensions
object
Which Console extensions are registered and available.
3 properties
Config
object
The current server configuration and any associated warnings.
3 properties
DeliveryResult
object
Details of each delivery attempt.
2 properties
UserList
object
A list of console users.
1 property
SendNotificationRequest
object
Request to send a notification.
6 properties
AddAclTemplateRequest
object
Add a new ACL template.
3 properties
AccountNote
object
A user note.
9 properties
console.Leaderboard
object
A leaderboard.
22 properties
AuthenticateMFASetupResponse
object
Response to change MFA.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

heroic-labs-console-api-openapi.yml Raw ↑

Other APIs Heroic Labs publishes across the network.

Heroic Labs Nakama API