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

guildAddSupporter

v1

Add a player as a guild supporter on a specific channel. If the player already has a record, their existing record is updated.

Operation Type

Mutation

Rate Limit: 150 requests per 5 minutes per guild

Supports bulk supporter additions within the rate limit window.

Input Fields

FieldTypeRequiredDescription
playerIdString!RequiredUnique player identifier (e.g., Steam ID)
playerNameStringOptionalOptional - auto-resolved from player directory if omitted
channelIdString!RequiredChannel ID from guildGetSupporterConfig
levelIdStringOptionalLevel/tier ID from guildGetSupporterConfig
notesStringOptionalFree-text notes about the supporter

Code Examples

curl -X POST https://api.dev.bifrostgaming.com/v1/graphql \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "mutation AddSupporter($input: GuildAddSupporterInput!) { guildAddSupporter(input: $input) { success message error timestamp } }",
    "variables": {
      "input": {
        "playerId": "76561198012345678",
        "channelId": "CHANNEL_ID_FROM_CONFIG",
        "levelId": "LEVEL_ID_FROM_CONFIG"
      }
    }
  }'

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": {
    "guildAddSupporter": {
      "success": true,
      "message": "Supporter added successfully"
    }
  }
}

Error Responses

In partnership with

Brilliant game servers for communities large and small.

Get yours today!

Shrapnelworks Logo

A Shrapnelworks product