API Reference (Max only)
Guild

Guild

Returns a snapshot of the Discord server (guild) the API key is scoped to. Useful for confirming which server a key belongs to and inspecting the public store URL and configured payment methods.

GET /v1/guild

Tier: A  ·  Auth: required  ·  Idempotent: N/A

Request

curl https://subscord.com/api/v1/guild \
  -H "Authorization: Bearer ssk_live_..."

This endpoint takes no query parameters.

Response — 200 OK

{
  "id": "123456789012345678",
  "name": "My Server",
  "store": {
    "name": "My Store",
    "description": "Premium memberships and exclusive content.",
    "url": "https://subscord.com/store/my-server"
  },
  "paymentMethods": {
    "stripe": true,
    "crypto": false
  }
}

Fields

FieldTypeDescription
idstringThe Discord server ID.
namestringThe Discord server name.
store.namestring | nullThe customer-facing store name, or null if not configured.
store.descriptionstring | nullThe store description, or null if not configured.
store.urlstringThe full public URL of the store page. Uses the custom slug if set, otherwise falls back to the server ID.
paymentMethods.stripebooleantrue if Stripe is enabled for this server.
paymentMethods.cryptobooleantrue if at least one crypto wallet is configured.

Errors

StatusCodeWhen
401unauthorizedMissing, malformed, or revoked API key.
403plan_requiredServer is not on the Max plan.
404not_foundThe guild record does not exist (rare — only happens if the server was removed from Subscord).