POST
https://api.dev.bifrostgaming.com/v1/graphqlguildAddSupporter
v1Add 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
| Field | Type | Required | Description |
|---|---|---|---|
playerId | String! | Required | Unique player identifier (e.g., Steam ID) |
playerName | String | Optional | Optional - auto-resolved from player directory if omitted |
channelId | String! | Required | Channel ID from guildGetSupporterConfig |
levelId | String | Optional | Level/tier ID from guildGetSupporterConfig |
notes | String | Optional | Free-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
- Open Postman and click Import (top-left)
- Drag and drop the downloaded
.jsonfile, or click Upload Files and select it - Click Import to confirm
- The collection appears in your sidebar — expand it and select the request
- In the Body tab, update the placeholder values (
your-partner-id, etc.) with your actual credentials - 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"
}
}
}