Bifrost Bifrost
POSThttps://api.dev.bifrostgaming.com/v1/graphql

partnerGetGuildInfo

v1

Look up a Bifrost guild by its OAuth client ID, scoped to a game type. Returns the guild only when it has at least one active server of the requested game type. Useful for partner integrations that need to resolve a guild reference before issuing other partner calls (for example, before adding a Ragnarok ban).

Operation Type

Query

Rate Limit: 60 requests / 60 seconds per partner

Important usage notes

  • Returns null (not an error) if no guild matches the OAuth client ID OR if the matching guild has no active server of the given game type.
  • guildClientId is the guild's OAuth client ID as configured on the Bifrost guild record. It is NOT the same as the guild UUID, the Keycloak group name, or the Discord guild ID.
  • gameType matching is case-insensitive (it is uppercased server-side).
  • The returned guildId is the canonical Bifrost UUID — use it for any subsequent guild-scoped partner calls.

Input Fields

FieldTypeRequiredDescription
partnerIdString!RequiredYour unique partner identifier.
partnerEncryptionKeyString!RequiredYour partner encryption key (Base64-encoded).
guildClientIdString!RequiredThe guild OAuth client ID, as configured on the Bifrost guild record.
gameTypeString!RequiredThe game type code (e.g. "HLL"). The guild must have at least one active server of this game type.

Code Examples

curl -X POST https://api.dev.bifrostgaming.com/v1/graphql \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query PartnerGetGuildInfo($partnerId: String!, $partnerEncryptionKey: String!, $guildClientId: String!, $gameType: String!) { partnerGetGuildInfo(partnerId: $partnerId, partnerEncryptionKey: $partnerEncryptionKey, guildClientId: $guildClientId, gameType: $gameType) { guildId guildName guildTag guildDiscordUrl } }",
    "variables": {
      "partnerId": "your-partner-id",
      "partnerEncryptionKey": "your-base64-encryption-key",
      "guildClientId": "the-guild-oauth-client-id",
      "gameType": "HLL"
    }
  }'

Postman Collection

Download a ready-to-use Postman collection for this endpoint. Import it into Postman to start testing immediately.

How to import into Postman
  1. Open Postman and click Import (top-left)
  2. Drag and drop the downloaded .json file, or click Upload Files and select it
  3. Click Import to confirm
  4. The collection appears in your sidebar — expand it and select the request
  5. In the Body tab, update the placeholder values (your-partner-id, etc.) with your actual credentials
  6. Click Send

The collection uses Postman's GraphQL body type, which provides syntax highlighting and variable editing. Make sure your Postman version is 7.2+ for GraphQL support.

Success Response200

{
  "data": {
    "partnerGetGuildInfo": {
      "guildId": "48999d4d-41f3-4456-8dcb-4600af60e848",
      "guildName": "[13SNC]",
      "guildTag": "13SNC",
      "guildDiscordUrl": "https://discord.gg/example"
    }
  }
}

Error Responses

Response Fields

FieldTypeRequiredDescription
guildIdStringRequiredThe Bifrost guild UUID. Use this with partnerAddRagnarokBan and other guild-scoped partner endpoints.
guildNameStringRequiredThe full guild name.
guildTagStringRequiredThe short guild tag / abbreviation.
guildDiscordUrlStringRequiredThe guild's Discord invite URL.

In partnership with

Brilliant game servers for communities large and small.

Get yours today!

Shrapnelworks Logo

A Shrapnelworks product